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.

Custum period and history.getBar(..) on tester
 Post subject: Custum period and history.getBar(..) on tester Post rating: 0   Post Posted: Wed 17 Apr, 2013, 10:19 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
I use custom period and context. subscribeToBarsFeed. On account strategy works. But on tester (live account) history.getBar(..) gets nulls.

What should I do better? I only need custom period from history.

Thanks for help.


 
 Post subject: Re: Custum period and history.getBar(..) on tester Post rating: 0   Post Posted: Wed 17 Apr, 2013, 15:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide both the example strategy which replicates the problem and the picture of the historical tester setttings that you use.


 
 Post subject: Re: Custum period and history.getBar(..) on tester Post rating: 0   Post Posted: Wed 17 Apr, 2013, 19:18 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
This problem is only for first tick testing time period and only for shift = 0.
I send base of strategy on support email. It shows this problem. I can NOT attach file in forum.


 

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