If you are getting a 401 error, it most likely has something to do with your authorization token.
Try cloning this git repo and entering your user credentials. There is a boilerplate
placeOrder template that should give you a 200 response.
As for the
startOrderStrategy endpoint (
productFind too!), it looks like there is a bug in submitting orders through the WebSocket. But you should be fine with orders fetched via POST through the REST URL.
Hopefully they will fix the bracket order bug soon, because it looks like it’s been an issue for several months now.
After looking at it again,
productFind actually is functional, but should be queried using GET from the REST API and not through the WebSocket. Also, it is very sensitive to product strings, which is why I was getting errors. It only takes in the prices name of the product, not the contract type.
For example, it will return an error if you search for ESH2, and only accept ES.
You would think that
productSuggest would have some error checking and return a list of suggestions (I don’t know what else you would use it for), but I implemented my own error checker to clean the strings being submitted to
productFind, so that works for me.