Open franziss opened 1 year ago
The recent release v2.2.2 caused a bug in TradeClient.get_filled_orders
This code was running fine but it can't run after this release. Can you fix this bug please? Thank you!
trade_client.get_filled_orders(symbol='VGT',sec_type=SecurityType.OPT,start_time=start_time,end_time=end_time,market=Market.US)
with error
--------------------------------------------------------------------------- ApiException Traceback (most recent call last) my_script.ipynb Cell 41 in <cell line: 1>() ----> 1 trade_client.get_filled_orders(symbol='VGT',sec_type=SecurityType.OPT,start_time=start_time,end_time=end_time,market=Market.US) File ~/anaconda3/lib/python3.8/site-packages/tigeropen/trade/trade_client.py:430, in TradeClient.get_filled_orders(self, account, sec_type, market, symbol, start_time, end_time, sort_by, seg_type) 428 return response.orders 429 else: --> 430 raise ApiException(response.code, response.message) 431 return None ApiException: code=1010 msg=biz param error(field 'strike' cannot be empty)
The recent release v2.2.2 caused a bug in TradeClient.get_filled_orders
This code was running fine but it can't run after this release. Can you fix this bug please? Thank you!
trade_client.get_filled_orders(symbol='VGT',sec_type=SecurityType.OPT,start_time=start_time,end_time=end_time,market=Market.US)
with error