Author |
Topic: Spot FOREX (6 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
FFred58 Posts: 8 Joined: May 19, 2009 |
Does the OEC API support Spot FOREX trading?
Also, can I subscribe to "tick" events from the API? I do not seem to find a way to do either, so I'm wondering if the API is for futures only... Fred Baptiste |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
Please use SubscribeTicks method and OnTicksReceved event.
OEC API works same way for all contract types. |
||||
FFred58 Posts: 8 Joined: May 19, 2009 |
But how do I get the base contract (e.g. EURJPY, or USDJPY, etc) for the spot FOREX...
I do not see that symbol in the contracts list. When I choose FX for the Group, I do not get any base contracts like I do when I choose a Group of Indices for example... Here is what I am trying to do: - Retrieve Groups using OEC.API.ContractGroup - Retrieve Base Contracts using: OEC.API.OECClient.Global.ContractGroups(myGroup.ID).BaseContracts - Subscribe to the OnContractsChanged event. However, choosing FX as the Group (ID=43) does not get me any base contracts... Fred Baptiste |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Do you have a FX account assigned to your username?
|
||||
FFred58 Posts: 8 Joined: May 19, 2009 |
Not that I'm aware of. How would I go about getting that?
Thanks. Fred Baptiste |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
You need to contact Customer Service with request to open FX account.
|
||||