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.

How do we check which currency pair is available for trading through API?
 Post subject: How do we check which currency pair is available for trading through API? Post rating: 0   New post Posted: Mon 02 Apr, 2012, 09:41 
User avatar

User rating: 0
Joined: Wed 13 Jul, 2011, 09:06
Posts: 8
Location: Australia, Quakers Hill
Hi,

The Instrument class enumerates a lot of currency pairs some of which aren't available for trading through the JForex platform e.g Gold, Silver and PLN.

My strategy did although opened trades on those pairs in the live system but I couldn't look at charts etc. for them through JForex. Is there a way to filter out such test pairs?

Regards,
Riz


 
 Post subject: Re: How do we check which currency pair is available for trading through API? Post rating: 0   New post Posted: Tue 03 Apr, 2012, 09:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There should be an exception when you try to subscribe to such an instrument:
https://www.dukascopy.com/wiki/#Subscrib ... instrument


 
 Post subject: Re: How do we check which currency pair is available for trading through API? Post rating: 0   New post Posted: Thu 05 Apr, 2012, 03:39 
User avatar

User rating: 0
Joined: Wed 13 Jul, 2011, 09:06
Posts: 8
Location: Australia, Quakers Hill
Then please note this as a bug on live system. My strategy was able to subscribe and trade (accidently) on gold and silver and other pairs which you normally can't trade on through JForex live platform. Strategy was running standalone and not inside JForex.

My live credit went to negative due to gold trade.


 
 Post subject: Re: How do we check which currency pair is available for trading through API? Post rating: 0   New post Posted: Thu 05 Apr, 2012, 15:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Both instruments are available for self traders.


 

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