Order API for automated strategies

Market data, Trading, Technical support, Features requests, etc
zcsoka
Posts: 60
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 1 time
Been thanked: 11 times

Order API for automated strategies

Post by zcsoka » Fri Sep 25, 2020 12:31 pm

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.

latnemele
Posts: 32
Joined: Wed May 13, 2020 12:27 am
Location: Europe
Has thanked: 9 times
Been thanked: 3 times

Re: Order API for automated strategies

Post by latnemele » Fri Sep 25, 2020 6:04 pm

Check out the javadoc.jar files in your installation path for the full API doc

blk
Posts: 24
Joined: Fri Nov 01, 2019 8:59 pm
Has thanked: 2 times

Re: Order API for automated strategies

Post by blk » Fri Sep 25, 2020 10:15 pm

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

zcsoka
Posts: 60
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 1 time
Been thanked: 11 times

Re: Order API for automated strategies

Post by zcsoka » Mon Sep 28, 2020 11:46 am

I found it, many thanks, it as my fault, I was still using an old javadoc. 

Post Reply