Browse, download, and manage market data for algorithmic trading backtests on the Lona platform. Use when the user wants to find available market data, download cryptocurrency data from Binance, inspect OHLCV time-series, or check what data is available for backtesting.
You have access to Lona's market data tools for browsing available datasets and downloading new data from cryptocurrency exchanges.
is_global: true for pre-loaded datasets (US equities, crypto, forex) or is_global: false for user-uploaded/downloaded dataSymbols contain OHLCV (Open, High, Low, Close, Volume) time-series data:
is_global: true): Pre-loaded datasets available to all users — includes US equities, major cryptocurrencies, and forex pairsis_global: false): Data downloaded or uploaded by the userlona_list_symbols with is_global: true to browse pre-loaded datasetslona_list_symbols without is_global to see user's own datalona_get_symbol for detailed metadata on a specific symbollona_get_symbol_data to preview the actual OHLCV data pointslona_download_market_data with:
symbol: Binance spot pair (e.g., BTCUSDT, ETHUSDT, SOLUSDT)interval: Candle interval (see supported intervals below)start_date and end_date in ISO format (optional — defaults vary by interval)limit: Maximum number of candles (optional)symbol_id for immediate use with lona_run_backtest| Interval | Code | Practical Limit |
|---|---|---|
| 1 minute | 1m | ~6 months |
| 5 minutes | 5m | ~2 years |
| 15 minutes | 15m | ~3 years |
| 30 minutes | 30m | ~3 years |
| 1 hour | 1h | Several years |
| 4 hours | 4h | Several years |
| 1 day | 1d | Several years |
Major cryptocurrencies: BTCUSDT, ETHUSDT, BNBUSDT, SOLUSDT, XRPUSDT, DOGEUSDT, ADAUSDT, AVAXUSDT, DOTUSDT, MATICUSDT