|
Attention! Read the forum rules carefully before posting a topic.
Submit JForex API bug reports in this forum only. Submit Converter issues in Converter Issues. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
IContext.getAccount().getUserName() == null |
bojno
|
Post subject: IContext.getAccount().getUserName() == null |
Post rating: 0
|
Posted: Wed 23 Jul, 2014, 08:20
|
|
User rating: 0
Joined: Tue 18 Jun, 2013, 21:55 Posts: 14 Location: Slovakia, Nitra
|
Greetings,
I am working on strategy and IContext.getAccount() not provides info like username (IContext.getAccount().getUserName() returns null) or account id (IContext.getAccount().getAccountId() returns an empty string) ... Maybe there are more issues, I don't know right now... I hope you don't need more description about this... I think there is no problem with IAccount at indicators!
This problem occurs in HISTORICAL TESTER!
I hope in early fix!
Best regards bojno
|
|
|
|
|
API Support
|
Post subject: Re: IContext.getAccount().getUserName() == null |
Post rating: 0
|
Posted: Fri 25 Jul, 2014, 09:35
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
We can't replicate this, could you please provide more information about your account type, and the JForex-API version that you are using?
|
|
|
|
|
bojno
|
Post subject: Re: IContext.getAccount().getUserName() == null |
Post rating: 0
|
Posted: Fri 01 Aug, 2014, 07:27
|
|
User rating: 0
Joined: Tue 18 Jun, 2013, 21:55 Posts: 14 Location: Slovakia, Nitra
|
Account Type: LIVE JForex version: 2.37.2
But I think it doesn't matter what version it is or what type of the account it is... I mean, when strategy runs for real (on DEMO or LIVE) - so not on Historical Tester - then the information of account there is present... But when it runs on Historical Tester, the information like username or etc missing - there is present only equity, profit/loss... I need it to limit users who can use the strategy and doesn't matter wheter it runs on Historical Tester or for real...
|
|
|
|
|
API Support
|
Post subject: Re: IContext.getAccount().getUserName() == null |
Post rating: 0
|
Posted: Tue 05 Aug, 2014, 15:51
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
We managed to replicate this, we are going to fix this as soon as possible.
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|