-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
Looks like the function requires a start_date, however when looking at the code, couldn't quite figure out why we'd want a start date on an api request to get candles... This is especially tricky since we'd ideally want to get the last n(window_size) candles.
^^^^^^^^^
File "/Users/bots/investing-algorithm-framework/venv/lib/python3.11/site-packages/schedule/__init__.py", line 691, in run
ret = self.job_func()
^^^^^^^^^^^^^^^
File "/Users/bots/investing-algorithm-framework/venv/lib/python3.11/site-packages/investing_algorithm_framework/services/strategy_orchestrator_service.py", line 76, in run_strategy
.get_data(identifier=data_id.get_identifier())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bots/investing-algorithm-framework/venv/lib/python3.11/site-packages/investing_algorithm_framework/services/market_data_source_service/market_data_source_service.py", line 90, in get_data
return market_data_source.get_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bots/investing-algorithm-framework/venv/lib/python3.11/site-packages/investing_algorithm_framework/infrastructure/models/market_data_sources/ccxt.py", line 481, in get_data
raise OperationalException(
investing_algorithm_framework.domain.exceptions.OperationalException: start_date should be set for CCXTOHLCVMarketDataSource
Metadata
Metadata
Assignees
Labels
No labels