|
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.
Stop Loss Level setting problem |
isobitis
|
Post subject: Stop Loss Level setting problem |
Post rating: 0
|
Posted: Thu 14 Jul, 2016, 11:50
|
|
User rating: 0
Joined: Tue 06 May, 2014, 20:20 Posts: 1 Location: Greece, Thessaloniki
|
In JForex Demo platform by clicking -> Portfolio -> "My account" I have been unsuccessful in altering Stop Loss Level.
In "My Account" tab it seems that "Active Stop Loss Level" has been updated to the desired level (say from 50100AUD to 2000AUD). Yet upon execution of a command "console.getOut().println(account.getStopLossLevel());" the initial value 50100 is printed.
I note that I use JForex on a Linux platform
|
|
|
|
 |
API Support
|
Post subject: Re: Stop Loss Level setting problem |
Post rating: 0
|
Posted: Tue 16 Aug, 2016, 09:07
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Hello.
Information about account isn't updated immediately on client, callback method IStrategy.onAccount(IAccount) must be called when account information update is received. Test strategy receives it in few seconds after "Stop Loss Level" value is changed.
Kind regards, Support Team.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|