Closed yangboz closed 3 years ago
Please ask such questions in the discord channel to receive help faster. The error says that start_date
must be a string not the whole thing. So try this:
jesse import-candles 'Binance' 'BTCUSDT' '2019-11-17'
Is it fixed?
nope, still the same.
Seeing the same issue today when trying Jesse for the first time. Followed instructions to create docker container and start postgres, when trying to import candles, it tells me "start_date must be a string representing a date before today" even though my start date is before today (and is valid):
jesse import-candles 'Binance' 'BTC-USDT' '2020-01-01'
It looks like it is due to arrow being version 0.13 in the docker container. If I do a pip install arrow --upgrade
to get arrow to use version .0.17, it works!
thanks @jfreedman ,but after upgrade arrow , throws error as follows: Uncaught Exception: SSLError: HTTPSConnectionPool(host='www.binance.com', port=443): Max retries exceeded with url: /api/v1/klines?interval=1m&symbol=BTCUSDT&startTime=1527811200000&endTime=1527871140000&limit=1000 (Caused by SSLError(SSLCertVerificationError("hostname 'www.binance.com' doesn't match either of '.facebook.com', '.facebook.net', '.fbcdn.net', '.fbsbx.com', '.m.facebook.com', '.messenger.com', '.xx.fbcdn.net', '.xy.fbcdn.net', '*.xz.fbcdn.net', 'facebook.com', 'messenger.com'"))), any idea?
that's GFW's bad.
that's GFW's bad.
after using jesse docker stack steps , after 'jesse import-candles Binance BTCUSDT 2019-11-17' it throws:
even I tried 'jesse import-candles Binance BTCUSDT 2019-11-17'