Closed gezabohus closed 1 year ago
Which version are you using? It's caused by an incomplete API spec(which misses the -
field). The problem has been resolved in the newest 4.45.0 version
Apologies for wasting your time. I was on 4.42. It is indeed working now.
Try the following code:
The API call succeeds as far as getting an OK response. Since there were no stp_id and stp_act specified, the response contains stp_id = "-" which then makes creating the response FuturesOrder fail, since the str_act setter only accepts values in ["co", "cn", "cb"].