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.

Strange Bids
 Post subject: Strange Bids Post rating: 0   Post Posted: Wed 13 Jul, 2011, 12:22 

User rating: 0
Joined: Sat 09 Jul, 2011, 10:50
Posts: 7
Location: DE
Hi
in my onTick method I run the line

console.getOut().println(tick.getBid());

I get these strange bids like 79.27 or 0.8013 for the EURUSD together with the some accurate bids.

I tried the following line, but encountered the same problem

console.getOut().println(history.getLastTick(instrument).getBid());


Any advice would be much appreciated

thanks
Froid


 
 Post subject: Re: Strange Bids Post rating: 0   Post Posted: Wed 13 Jul, 2011, 15:51 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/index.php ... Ticks/Bars
If this does not solve the problem, please provide an onTick method which reproduces the behavior.


 

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