Skip to content

TimeFrame Enum Verification with Market Data Source Timeframe #299

Answered by MDUYN
beecoder79 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @beecoder79, thanks for reaching out. I think you're probably using an old version of the framework. Because the CCXTOHLCVMarketDataSource has the time frame param spelled as time_frame. I assume here you're encountering a bug that has been solved already. For example the following code should work. Can you please check you version of the framework you have installed. Also make sure that you're using python 3.10 or higher, because that is compatible with the latest version of the framework. If you're using a python version below that, pip will automatically use an older version of the framework.

btc_eur_ohlcv_2h = CCXTOHLCVMarketDataSource(
    identifier="BTC/EUR-ohlcv-2h",
    market=

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MDUYN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants