Skip to content

Commit a7dfebb

Browse files
committed
feat(dataflows): register binance vendor for core_stock_apis
1 parent 2cc191e commit a7dfebb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tradingagents/dataflows/interface.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
get_news as get_alpha_vantage_news,
1212
get_stock as get_alpha_vantage_stock,
1313
)
14+
from .binance import get_binance_stock
1415
from .config import get_config
1516
from .errors import (
1617
NoMarketDataError,
@@ -28,6 +29,7 @@
2829
get_stock_stats_indicators_window,
2930
get_YFin_data_online,
3031
)
32+
from .binance import get_binance_stock
3133
from .yfinance_news import get_global_news_yfinance, get_news_yfinance
3234

3335
logger = logging.getLogger(__name__)
@@ -82,6 +84,7 @@
8284
"fred",
8385
"polymarket",
8486
"alpha_vantage",
87+
"binance",
8588
]
8689

8790
# Optional enrichment categories. These add macro/event context to the news
@@ -97,6 +100,7 @@
97100
"get_stock_data": {
98101
"alpha_vantage": get_alpha_vantage_stock,
99102
"yfinance": get_YFin_data_online,
103+
"binance": get_binance_stock,
100104
},
101105
# technical_indicators
102106
"get_indicators": {

0 commit comments

Comments
 (0)