Dukascopy
 
 
Wiki JStore Search Login

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.

Charts not Updating - Cache question
 Post subject: Charts not Updating - Cache question Post rating: 0   New post Posted: Thu 26 Jan, 2012, 01:38 

User rating: 0
Joined: Mon 23 May, 2011, 16:03
Posts: 13
Location: BrazilBrazil
I am executing strategy MA_PLAY as it comes but I can't see the orders being updated on JForex platform as I used to do.

What am I doing wrong?

I wanted to play with real time ticks so I commented these lines in order not to use the cache file

      LOGGER.info("Downloading data");
//      Future<?> future = client.downloadData(null);
//      // wait for downloading to complete
//      future.get();
//      // start the strategy
      LOGGER.info("Starting strategy");


Is this the correct?

Thanks


 
 Post subject: Re: Charts not Updating - Cache question Post rating: 0   New post Posted: Thu 26 Jan, 2012, 09:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Consider setting other cache directory with IClient.setCacheDirectory or deleting the cache directory manually. If you want to see if the strategy receives data, then just make print statements on bars and ticks that print the received bars and ticks.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com