Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Dollar.IDX prices
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57091
Page 1 of 1

Author:  bunyip [ Wed 03 Jul, 2019, 18:27 ]
Post subject:  Dollar.IDX prices

I'm sorry if I've missed something obvious, but is there any way to access Dollar.IDX prices in JForex code? It comes up fine as a chart, but it's not available as an option when selecting an instrument in history.getBars.

Many thanks, Bunyip

Author:  API Support [ Fri 05 Jul, 2019, 10:23 ]
Post subject:  Re: Dollar.IDX prices

        Instrument dollarIdxInstrument = Instrument.fromString("DOLLAR.IDX/USD");
        IBar dollarIdxBar = history.getBar(dollarIdxInstrument, Period.DAILY, OfferSide.ASK, 1);

Author:  bunyip [ Sat 06 Jul, 2019, 11:33 ]
Post subject:  Re: Dollar.IDX prices

Thank you very much--that's exactly what I wanted!

Is there any way to refer to the prices of other single-currency futures?

Author:  Platform Support [ Tue 09 Jul, 2019, 18:10 ]
Post subject:  Re: Dollar.IDX prices

No, we do not provide the historical feed of the exchange traded instruments. Dollar index is our own CFD as well.

  Page 1 of 1