|
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.
pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice |
[splows]
|
Post subject: pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice |
Post rating: 0
|
Posted: Thu 24 Sep, 2009, 14:49
|
|
User rating: 0
Joined: Wed 08 Jul, 2009, 00:42 Posts: 14
|
Will the above functions run in isolation of the strategy running on the local machine? Once set will they run on the server and operate on the tick price regardless.
For example. If I set them based on a daily bar, will they continue to run between each of my daily bars and trigger as soon as they are hit in real time?
|
|
|
|
 |
API Support
|
Post subject: Re: pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice |
Post rating: 0
|
Posted: Thu 24 Sep, 2009, 15:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Hi, this is the same takeProfit and stopLoss that you can set in platform itself. They are passed to the server and tracked there. Once price hits them, they are executed on the server, whenever client platform running or not they are checked on every tick. Once the price reaches them, they are executed. They are set based on ticks always
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|