crypto
Skill268 starsChanged 48 days agoApache-2.0View on GitHub
Use whenever building a CRYPTO universe (a dynamic set of coins on an exchange), ranking coins by dollar volume, or trading crypto long/short — including short-selling crypto and which venues support margin.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- MysterionRise/ctf-kittheir own version, first seen Oct 13, 2026
- zapek/Xerestheir own version, first seen Oct 8, 2026
- emre-guler/websectheir own version, first seen Aug 27, 2026
- Shad0wMazt3r/The-Scaffoldingtheir own version, first seen Apr 24, 2026
- zubair-trabzada/ai-crypto-claudetheir own version, first seen Apr 16, 2026
- Rayan55050/progressive-agenttheir own version, first seen Feb 24, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- zapek/Xeres★ 223same name
- zubair-trabzada/ai-crypto-claude★ 47same name
- MysterionRise/ctf-kit★ 12same name
- Shad0wMazt3r/The-Scaffolding★ 3same name
- emre-guler/websec★ 2same name
- Rayan55050/progressive-agent★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs-styleSkill
- calendarSkill
- code-qualitySkill
- data-exportSkill
- data-issuesSkill
- debug-algorithmSkill
- debug-performanceSkill
- equity-fundamental-dataSkill
- equity-optionsSkill
- futuresSkill
- historical-data-equity-optionsSkill
- historySkill
- indicatorsSkill
- loggingSkill
- option-strategiesSkill
- ordersSkill
- pricingSkill
- scheduled-eventsSkill
- universesSkill
- calendarSkill
- code-qualitySkill
- cryptoSkill
- data-exportSkill
- data-issuesSkill
- debug-algorithmSkill
- debug-performanceSkill
- equity-fundamental-dataSkill
- equity-optionsSkill
- futuresSkill
- historical-data-equity-optionsSkill
- historySkill
- indicatorsSkill
- loggingSkill
- option-strategiesSkill
- ordersSkill
- pricingSkill
- scheduled-eventsSkill
- universesSkill
The file
Files
Crypto universes and crypto long/short — use the exchange's own tradable set
Build the universe from the venue's NATIVE crypto universe
To select a dynamic set of cryptocurrencies, use the exchange-native CryptoUniverse for the venue you trade on. Do NOT pull a coin list from an external dataset (e.g. CoinGecko market cap) and then build tradable symbols with Symbol.Create — that mapping fails for any coin the venue does not list (symbol could not be found ... for <market> market runtime error). Every symbol CryptoUniverse returns is tradable on that venue.
UniverseSettings.Resolution = Resolution.Daily;
SetBrokerageModel(BrokerageName.Bitfinex, AccountType.Margin);
_universe = AddUniverse(CryptoUniverse.Bitfinex(SelectAssets));
private IEnumerable<Symbol> SelectAssets(IEnumerable<CryptoUniverse> data)
{
return data
.Where(x => x.VolumeInUsd != null) // each x: .Symbol .Close .Volume .VolumeInUsd
.OrderByDescending(x => x.VolumeInUsd)
.Select(x => x.Symbol)
.ToList(); // all qualifying coins (see breadth note below)
}- Per-venue helpers:
CryptoUniverse.Binance/.BinanceUS/.Bitfinex/.Kraken/.Bybit/.Coinbase. Use the one that matches your brokerage model so the universe and the orders are on the same exchange. - Breadth is the STRATEGY's call, not a default. How many coins to keep depends on the spec: a broad cross-section strategy returns them all (as above); a "top-N most liquid" strategy slices
.Take(N). Do NOT impose a top-N cap (e.g..Take(50)) unless the spec explicitly asks for one — silently capping a broad-universe strategy to the most-liquid handful changes the method.
Dollar volume — use VolumeInUsd
A crypto bar's Volume is in base-asset units and is not comparable across coins. The CryptoUniverse element exposes USD volume directly as x.VolumeInUsd — rank and weight by that, not raw unit volume. (Outside the universe callback, dollar volume = bar Volume × Price.)
Short-selling crypto needs a MARGIN venue
A spot/cash crypto account cannot short. To hold short crypto positions, set a Margin account on a venue whose QC brokerage model supports it (verified against the Lean brokerage models):
- Margin / can short: Binance, BinanceUS, Bitfinex, Kraken, Bybit —
SetBrokerageModel(BrokerageName.<venue>, AccountType.Margin). Bitfinex defaults to margin. - Cash-only, CANNOT short: Coinbase, GDAX (the model rejects a margin account).
Match the venue you short on to the CryptoUniverse helper you select with (e.g. BrokerageName.Bitfinex + CryptoUniverse.Bitfinex).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

