Page 1 of 1

Order API for automated strategies

Posted: Fri Sep 25, 2020 12:31 pm
by zcsoka
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.

Re: Order API for automated strategies

Posted: Fri Sep 25, 2020 6:04 pm
by latnemele
Check out the javadoc.jar files in your installation path for the full API doc

Re: Order API for automated strategies

Posted: Fri Sep 25, 2020 10:15 pm
by blk
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

Re: Order API for automated strategies

Posted: Mon Sep 28, 2020 11:46 am
by zcsoka
I found it, many thanks, it as my fault, I was still using an old javadoc.