question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught Exception: ValueError: start_date must be a string representing a date before ...

See original GitHub issue

after 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:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
jfreedmancommented, Jan 5, 2021

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!

1reaction
jfreedmancommented, Jan 5, 2021

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’

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found