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.

When is onBar() called?
 Post subject: When is onBar() called? Post rating: 0   New post Posted: Wed 23 Jul, 2014, 18:44 

User rating: 0
Joined: Wed 23 Jul, 2014, 18:36
Posts: 1
Location: Switzerland,
Hi,

sounds like a stupid question, but the API docs give me no quick answer. When is onBar() called? For each newly created bar or for each completed bar? More precisely: Is askBar/bidBar the newly created bar containing just the first few ticks or the last complete bar before the next tick starts a new bar?

Thanks


 
 Post subject: Re: When is onBar() called? Post rating: 0   New post Posted: Mon 28 Jul, 2014, 11:02 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
The latter one.


 

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