View Full Version : Currency Subscription List
boydwhite
12-03-2007, 12:20 PM
Arrgh. How come the latest update to the Trading Station II only allows 12 currency pairs to be be subscribed too?
FXCM Help
12-04-2007, 02:00 PM
This was a restriction placed on the system to reduce unnecessary traffic and thus effects the API as well as the FXCM Trading Station.
If you have questions or comments on it, please contact our sales and support team at sales@fxcm.com (http://www.fxcm.com) since it was not an adjustment made specifically to the API.
FXCM Help
12-05-2007, 11:26 PM
The restriction was only placed on the actual client Trading Station and not our servers. Thus it should not effect the functionality through Order2Go.
In order to subscribe to additional pairs, therefore, the subscription must be requested through Order2Go using the SetOfferSubscription function.
e.g.
Call oDesk.SetOfferSubscription("EUR/JPY", "enabled")
boydwhite
12-06-2007, 12:41 PM
Thanks! That is great news!
boydwhite
12-11-2007, 12:46 PM
For the longest time the ordinal value of tblOffers had the EUR/NZD at place number 21, but sometime recently ya'll slipped the AUD/CHF in at ordinal place 21 and bumped the EUR/NZD to ordinal place 22. Not a super big issue but in the future it would be real civil if ya'll kept serving the data in this regards with each CurPair holding its place static and perhaps appending additional CurPairs to the end. I am a software programmer myself and know that there is no perfect world; however, just like to highlight this issue because I am going to have to massage the data on trades I have collected. Have a great day!
scattergood
02-01-2008, 08:58 PM
The restriction was only placed on the actual client Trading Station and not our servers. Thus it should not effect the functionality through Order2Go.
In order to subscribe to additional pairs, therefore, the subscription must be requested through Order2Go using the SetOfferSubscription function.
e.g.
Call oDesk.SetOfferSubscription("EUR/JPY", "enabled")
So I don't this is working the way it is documented to work. My goal is to ONLY subscribe to the currencies that are specified in 3 TextBoxes. My thought was to cycle through the existing offer table and disable subscription, and then enable subscription to only the specified items:
g_objOffersTable = g_objTradeDesk.TablesManager.FindTable("Offers")
For Each l_objRow In g_objOffersTable.Rows
Call g_objTradeDesk.SetOfferSubscription(g_objOffersTable.Instrument, "disabled")
Next
Call g_objTradeDesk.SetOfferSubscription(txtCur1.Text, "enabled")
Call g_objTradeDesk.SetOfferSubscription(txtCur2.Text, "enabled")
Call g_objTradeDesk.SetOfferSubscription(txtCur3.Text, "enabled")
This doesn't work. I am left with an Offer table with something like 12 or 13 items.
Is my code wrong, and if so what needs to be done to fix it?
Thanks
FXCM Help
02-04-2008, 07:23 PM
The order in which you disable pairs matters. You cannot disable certain pairs that have crosses dependent on them, or that have open positions.
If you don't have open positions, it would probably be more effective to start disabling pairs from the bottom, and go up.
Also, check that you have error handling in your code, so that if there is an error with disabling a pair, you'll get it.
scattergood
02-20-2008, 06:52 PM
The order in which you disable pairs matters. You cannot disable certain pairs that have crosses dependent on them, or that have open positions.
If you don't have open positions, it would probably be more effective to start disabling pairs from the bottom, and go up.
Also, check that you have error handling in your code, so that if there is an error with disabling a pair, you'll get it.
Thanks for the heads up. Here is the new cod that seems to be working:
'get row num of offers table and then remove them
l_iNumRows = g_objFXCMOffersTable.RowCount
For l_iCount = l_iNumRows To 1 Step -1
l_strFileName = g_objFXCMOffersTable.CellValue(l_iCount, 2)
Call g_objFXCMTradeDesk.SetOfferSubscription(l_strFileName, "disabled")
If Err.Number Then
MsgBox("Error Unsubscribing: " & Now & Chr(13) & Err.Number & ": " & Err.Description & " " & l_strFileName) End IfNext
'subscribe to only the appropriate symbols
Call g_objFXCMTradeDesk.SetOfferSubscription(txtCur1.Text, "enabled")
Call g_objFXCMTradeDesk.SetOfferSubscription(txtCur2.Text, "enabled")
Call g_objFXCMTradeDesk.SetOfferSubscription(txtCur3.Text, "enabled")
ManDownUnder
02-27-2008, 09:45 PM
Is there a table containing the list of available currency pairs?
FXCM Help
02-28-2008, 12:08 AM
At present there is no such table or list available in Order2Go.
There is a request with the developers to the functionality, however, there is no estimated time yet as to when this may be available.
wurstnase
08-07-2008, 01:50 PM
Is there a way to request available currency pairs via the Order2Go COM API by now?
vBulletin v3.5.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.