investopedia_simulator_api icon indicating copy to clipboard operation
investopedia_simulator_api copied to clipboard

How to fix 'open_orders' method

Open mdjames094 opened this issue 3 years ago • 0 comments

  1. Line 42 in file "utils.py" INCORRECT : hour = int(date_ints[3]) CORRECT : hour = int(date_ints[3]) % 12

  2. Line 201 in file "parsers.py" INCORRECT : if open_order_dict['order_price'] = 'n/a' : CORRECT : if open_order_dict['order_price'] != 'n/a' :

best regards.

mdjames094 avatar May 29 '21 16:05 mdjames094