|
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.
why no instruments subscribed in remote run mode |
Moggy
|
Post subject: why no instruments subscribed in remote run mode |
Post rating: 0
|
Posted: Wed 16 Apr, 2014, 04:11
|
|
User rating: 1
Joined: Tue 27 Aug, 2013, 17:39 Posts: 26 Location: China, Shanghai
|
Hi supporter, when the JDK demo strategy run in remote mode, it just do nothing,no instruments subscribed and no log is printed at all. please kindly tell me why thanks a lot
Attachments: |
File comment: JDK demo strategy
MA_Play.java [5.11 KiB]
Downloaded 186 times
|
File comment: Strategy log screenshot
Screenshot.png [27.99 KiB]
Downloaded 555 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
Moggy
|
Post subject: Re: why no instruments subscribed in remote run mode |
Post rating: 0
|
Posted: Thu 24 Apr, 2014, 08:46
|
|
User rating: 1
Joined: Tue 27 Aug, 2013, 17:39 Posts: 26 Location: China, Shanghai
|
Status update: now although no instruments subscribed displayed,but the strategy could be run,ontick events seems to normal,so strange...
|
|
|
|
|
hebasto
|
Post subject: Re: why no instruments subscribed in remote run mode |
Post rating: 2
|
Posted: Thu 24 Apr, 2014, 09:09
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
Do not look at Strategy Log report. It always shows 'No Instruments'. Just check out what IContext.getSubscribedInstruments method returns.
|
|
|
|
|
hyperscalper
|
Post subject: Re: why no instruments subscribed in remote run mode |
Post rating: 2
|
Posted: Thu 24 Apr, 2014, 15:33
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
This is by design. Your Strategy must subscribe explicitly to Instruments.
HyperScalper
|
|
|
|
|
Moggy
|
Post subject: Re: why no instruments subscribed in remote run mode |
Post rating: 0
|
Posted: Fri 25 Apr, 2014, 03:40
|
|
User rating: 1
Joined: Tue 27 Aug, 2013, 17:39 Posts: 26 Location: China, Shanghai
|
|
|
|
|
API Support
|
Post subject: Re: why no instruments subscribed in remote run mode |
Post rating: 0
|
Posted: Mon 28 Apr, 2014, 09:07
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|