Uncaught Exception: ValueError: start_date must be a string representing a date before ...
See original GitHub issueafter using jesse docker stack steps , after ‘jesse import-candles Binance BTCUSDT 2019-11-17’ it throws:
Uncaught Exception: ValueError: start_date must be a string representing a date before today. ex: 2020-01-17
even I tried ‘jesse import-candles Binance BTCUSDT 2019-11-17’
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Preventing ValueError when converting a user inputted string ...
Yes, you can use a try-except statement like this #start date while True: startDate = input('Start Date (DDMMYY): ') if startDate ...
Read more >How To Convert a String to a datetime or time Object in Python
strptime() method returns a datetime object that matches the date_string parsed by the format. Both arguments are required and must be strings.
Read more >Date() constructor - JavaScript - MDN Web Docs - Mozilla
The Date() constructor can create a Date instance or return a string representing the current time.
Read more >Resolve 'String Was Not Recognized As A Valid DateTime' Error
In this article there is an elaboration of the occurrence of 'string was not recognized as a valid DateTime' error and its fix....
Read more >datetime — Basic date and time types — Python 3.11.1 ...
Returns a string representation of the timedelta object as a constructor call with canonical attribute values. Notes: This is exact but may overflow....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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!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’