|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Code for knowing if an order was rejected (E.g when using slippage 0) |
Jameswter
|
Post subject: Code for knowing if an order was rejected (E.g when using slippage 0) |
Post rating: 0
|
Posted: Thu 08 Sep, 2016, 13:47
|
|
User rating: 0
Joined: Tue 06 Sep, 2016, 11:04 Posts: 20 Location: United Kingdom,
|
Hello,
If I try to open an order with slippage 0, sometimes it's rejected. Here is an example: order = engine.submitOrder("MyOrder", myInstrument, myCommand, 0.01, orderPrice, 0);
What code should I use to know if the order was rejected or not?
Thanks
|
|
|
|
 |
API Support
|
Post subject: Re: Code for knowing if an order was rejected (E.g when using slippage 0) |
Post rating: 0
|
Posted: Fri 09 Sep, 2016, 09:05
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
Jameswter
|
Post subject: Re: Code for knowing if an order was rejected (E.g when using slippage 0) |
Post rating: 0
|
Posted: Mon 12 Sep, 2016, 13:42
|
|
User rating: 0
Joined: Tue 06 Sep, 2016, 11:04 Posts: 20 Location: United Kingdom,
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|