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.

feed history
 Post subject: feed history Post rating: 0   New post Posted: Sun 09 Jun, 2013, 17:40 
User avatar

User rating: 0
Joined: Thu 13 Oct, 2011, 17:27
Posts: 21
Location: SwitzerlandSwitzerland
hello, regarding this example
https://www.dukascopy.com/wiki/#Strategy ... _Interface

how can i get the OHLC ask and bid course values within the PREV and SECOND_TO_LAST feed bars?
thank you


 
 Post subject: Re: feed history Post rating: 0   New post Posted: Mon 10 Jun, 2013, 07:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
by making cast of ITimedData to the respective interface given in the feed table's second row: https://www.dukascopy.com/wiki/#Chart_feeds/Feed_types. See example here:
https://www.dukascopy.com/wiki/#Chart_feeds/Retrieve_a_concrete_price


 

Jump to:  

  © 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