data timeout fixes; research agent improvements
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
---
|
||||
description: "Complete Python API reference (DataAPI and ChartingAPI) with full source and docstrings for use in research scripts."
|
||||
---
|
||||
|
||||
# Dexorder Research API Reference
|
||||
|
||||
This file contains the complete Python API source code with full docstrings.
|
||||
@@ -124,11 +128,14 @@ class DataAPI(ABC):
|
||||
- pandas Timestamp: pd.Timestamp("2021-12-20")
|
||||
end_time: End of time range. Same formats as start_time.
|
||||
extra_columns: Optional additional columns to include beyond the standard
|
||||
OHLC columns. Available options:
|
||||
- "volume" - Total volume (decimal float)
|
||||
- "buy_vol" - Buy-side volume (decimal float)
|
||||
- "sell_vol" - Sell-side volume (decimal float)
|
||||
- "open_time", "high_time", "low_time", "close_time" (timestamps)
|
||||
OHLC columns. Available options (all populated for Binance data):
|
||||
- "volume" - Total base-asset volume (decimal float)
|
||||
- "buy_vol" - Taker buy volume in base asset (decimal float)
|
||||
- "sell_vol" - Taker sell volume in base asset (decimal float)
|
||||
- "quote_volume" - Total quote-asset volume, e.g. USDT (decimal float)
|
||||
- "num_trades" - Number of trades in the candle (integer)
|
||||
- "open_time", "close_time" (nanosecond timestamps; Binance only)
|
||||
- "high_time", "low_time" (not provided by any exchange; always null)
|
||||
- "open_interest" (for futures markets)
|
||||
- "ticker", "period_seconds"
|
||||
|
||||
@@ -201,8 +208,8 @@ class DataAPI(ABC):
|
||||
length: Number of most recent candles to return (default: 1)
|
||||
extra_columns: Optional list of additional column names to include.
|
||||
Same column options as historical_ohlc:
|
||||
- "volume", "buy_vol", "sell_vol"
|
||||
- "open_time", "high_time", "low_time", "close_time"
|
||||
- "volume", "buy_vol", "sell_vol", "quote_volume", "num_trades"
|
||||
- "open_time", "close_time", "high_time", "low_time"
|
||||
- "open_interest", "ticker", "period_seconds"
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user