Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

why no instruments subscribed in remote run mode
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=51084
Page 1 of 1

Author:  Moggy [ Wed 16 Apr, 2014, 04:11 ]
Post subject:  why no instruments subscribed in remote run mode

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
Image

Attachments:
File comment: JDK demo strategy
MA_Play.java [5.11 KiB]
Downloaded 123 times
File comment: Strategy log screenshot
Screenshot.png [27.99 KiB]
Downloaded 466 times

Author:  Moggy [ Thu 24 Apr, 2014, 08:46 ]
Post subject:  Re: why no instruments subscribed in remote run mode

Status update:
now although no instruments subscribed displayed,but the strategy could be run,ontick events seems to normal,so strange...

Author:  hebasto [ Thu 24 Apr, 2014, 09:09 ]
Post subject:  Re: why no instruments subscribed in remote run mode

Do not look at Strategy Log report. It always shows 'No Instruments'.
Just check out what IContext.getSubscribedInstruments method returns.

Author:  hyperscalper [ Thu 24 Apr, 2014, 15:33 ]
Post subject:  Re: why no instruments subscribed in remote run mode

This is by design. Your Strategy must subscribe explicitly
to Instruments.

HyperScalper

Author:  Moggy [ Fri 25 Apr, 2014, 03:40 ]
Post subject:  Re: why no instruments subscribed in remote run mode

many thanks~

Author:  API Support [ Mon 28 Apr, 2014, 09:07 ]
Post subject:  Re: why no instruments subscribed in remote run mode

Read more here:
https://www.dukascopy.com/wiki/#Remote_Run

  Page 1 of 1