I like to make sell short order from API. i did set like hOrder.Side = "short". but submit method return fails with error message "side is required". is that wrong to set to "Short"?
I like to make sell short order from API. i did set like hOrder.Side = "short". but submit method return fails with error message "side is required". is that wrong to set to "Short"?
Hi @JManoharan
The side of the order should be set as follows.
• Buy
• Buy Cover
• Sell
• Sell Short
• Sell Auto
If the string 'Sell Short' returns with an error then I suggest making it all uppercase 'SELL SHORT'.
Thanks,
- Derrick