Crypto
CryptoSource
The Crypto node fetches OHLCV candle data for cryptocurrency pairs from the Traderoid API and streams live tick updates via WebSocket. It operates 24/7 and supports any of 40 major USDT-quoted pairs, making it suitable for round-the-clock algorithmic strategies.
Parameters
| Parameter | Default | Description |
|---|---|---|
| symbol | BTC/USDT | Cryptocurrency pair to fetch. All pairs are quoted in USDT. |
| multiplier | 1 | Number of base timespan units per candle. E.g. multiplier=4 with timespan=hour produces 4-hour bars. |
| timespan | minute | Base candle period: second, minute, hour, day, week, or month. |
Timespan Options
| Value | Description |
|---|---|
| second | One candle per second. |
| minute | One candle per minute (default). |
| hour | One candle per hour. |
| day | One candle per day. |
| week | One candle per calendar week. |
| month | One candle per calendar month. |
Outputs
| Field | Type | Description |
|---|---|---|
| t | number[] | Unix timestamps (seconds, UTC) for each closed candle. |
| o | number[] | Open prices. |
| h | number[] | High prices. |
| l | number[] | Low prices. |
| c | number[] | Close prices. |
| v | number[] | Volume traded during each candle period. |
Supported Symbols
40 major USDT-quoted cryptocurrency pairs are available:
BTC/USDTETH/USDTBNB/USDTXRP/USDTADA/USDTSOL/USDTDOGE/USDTDOT/USDTMATIC/USDTLTC/USDTSHIB/USDTTRX/USDTAVAX/USDTUNI/USDTLINK/USDTATOM/USDTETC/USDTXLM/USDTBCH/USDTAPT/USDTFIL/USDTNEAR/USDTALGO/USDTVET/USDTICP/USDTGRT/USDTSAND/USDTMANA/USDTAXS/USDTHBAR/USDTFLOW/USDTFTM/USDTXTZ/USDTEGLD/USDTTHETA/USDTAAVE/USDTEOS/USDTKCS/USDTZEC/USDTRUNE/USDT
Live Streaming
1
Historical load — On graph run, the node calls the REST API to fetch the full candle history for the selected symbol, multiplier, and timespan.
2
WebSocket subscription — After the historical load, the node subscribes to the crypto WebSocket streamer. Because crypto markets run 24/7, streaming data is always available.
3
Candle aggregation — Each incoming tick is merged into the current candle period. When a new period starts, a fresh candle is appended to all output arrays.
4
Downstream re-evaluation — All downstream indicator and logic nodes re-run automatically whenever the live candle is updated.
Use Cases
24/7 strategies
Unlike equities, crypto markets never close. Use the Crypto node to run round-the-clock trend-following or mean-reversion strategies.
Altcoin rotation
Compare signals across multiple Crypto nodes (e.g. BTC/USDT and ETH/USDT) to build relative-strength rotation strategies.
Exchange routing
Connect to the Broker node with Binance, Coinbase, or Kraken selected to route live crypto orders directly from the graph.
Tips
No timezone parameter — Crypto candles use UTC by default. Candle boundaries are aligned to UTC midnight for daily bars and to UTC hour boundaries for hourly bars.
Volume units — Crypto volume is quoted in the base asset (e.g. BTC for BTC/USDT). Multiply by the close price if you need quote-denominated volume.
4-hour bars — Set multiplier=4 and timespan=hour to get the popular 4H candles commonly used in crypto technical analysis.