Greetings,
I went through the docs, API and the forum and I seem not be find any information on automated trading. Manipulating already existing orders is shown, but creating new orders with type, price, validity I did not find. Could you please point me to any documentation on this topic? Many thanks in advance.
Order API for automated strategies
Re: Order API for automated strategies
If you are using the simplified api you can use the Api object we get during initialize method to send send orders:
api.sendOrder
sendOrder
void sendOrder(OrderSendParameters orderSendParameters)
Submit order with specified parameters
Parameters:orderSendParameters - parameters
api.sendOrder
sendOrder
void sendOrder(OrderSendParameters orderSendParameters)
Submit order with specified parameters
Parameters:orderSendParameters - parameters