InjectiveLabs / injective-api-demo

27 stars 25 forks source link

Improve requirements #17

Closed achilleas-kal closed 2 years ago

achilleas-kal commented 2 years ago

One of our users was facing this issue yesterday when he was trying to run the pure market making script which was quite odd since we don't use the pytz library there. Eventually I asked him to update the APScheduler library and it was fixed but these requirements would be ideally listed in the repo here along with the minimum required versions of each library.

PytzUsageWarning: The normalize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html return self.timezone.normalize(next_fire_time) 2021-12-02 21:44:19,534 base.py : INFO Added job "Demo.on_timer" to job store "default" 2021-12-02 21:44:19,534 base.py : INFO Scheduler started 2021-12-02 21:44:19,534 perp_simple_strategy.py : INFO start..

achilleas-kal commented 2 years ago

Closed by https://github.com/InjectiveLabs/injective-api-demo/commit/07018a912eb12d8beac33ee8cba02c3d2376dfa2