IBKR API error warning

Problem

[13:22:55] ERROR ERROR 1 10314 End Date/Time:
The date, time, or time-zone entered is invalid.
The correct format is yyyymmdd hh:mm:ss xx/xxxx where yyyymmdd and xx/xxxx are optional.
E.g.: 20031126 15:59:00 US/Eastern wrapper.py:56


Rješenje

Standardno je US/Eastern, ali ne jebe pol posto, kaj god drugo da staviš.

Pa stavi “yyyymmdd-hh:mm:ss” – u tom slučaju ne trebaš navoditi timezone, podrazumijeva se UTC, a to je 2h više nego u HR, što je podnošljiva žrtva, ako ikakva.

ibkr api xibkr xapi

image_pdfimage_print