Hi,
I am not familiar with APIs, but wanted to know if there is a possibility to a place bracket orders automatically with only entering a price. The orders then will appear in TWS.
For example:
I want to generate a bracket order for the emini SPX future (ESH7) with predifined parameters (+-6) from an entered price. For ESH7
will be + - 6pts from the entered price (1400).
1) The API will ask me a price for the ESH7
2) I type in 1400
3) the Api generates the follwoing orders:
Buy ESH7 @ 1394.00
Sell ESH7 @ 1396.00 (bracket order)
Sell ESH7 @ 1406.00
Buy ESH7 @ 1404.00 (bracket order)
I do not want the stop loss of the bracket order.Is this possible?
How should I do it with VBA, java? Could someone show me the correct path...
Regards
JB
I am not familiar with APIs, but wanted to know if there is a possibility to a place bracket orders automatically with only entering a price. The orders then will appear in TWS.
For example:
I want to generate a bracket order for the emini SPX future (ESH7) with predifined parameters (+-6) from an entered price. For ESH7
will be + - 6pts from the entered price (1400).
1) The API will ask me a price for the ESH7
2) I type in 1400
3) the Api generates the follwoing orders:
Buy ESH7 @ 1394.00
Sell ESH7 @ 1396.00 (bracket order)
Sell ESH7 @ 1406.00
Buy ESH7 @ 1404.00 (bracket order)
I do not want the stop loss of the bracket order.Is this possible?
How should I do it with VBA, java? Could someone show me the correct path...
Regards
JB