Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Data providers in API
Author Topic: Data providers in API (3 messages, Page 1 of 1)

aamar
-Interested User-
Posts: 7
Joined: Oct 8, 2021


Posted: Nov 5, 2021 10:25 AM          Msg. 1 of 3
Hi,

I am trying to replicate an indicator I built using NinjaTrader but changing it to using the API on Forex pairs.

Can you advise which symbol to use in the API? e.g. for EURUSD, GBPUSD etc

I can get it working to using EURUSD.FXCM but I want to use the same provider which NT uses when it connects using the same IQFeed connection

Regards
Azhar

DTN_Gary_Stephen
-DTN Guru-
Posts: 403
Joined: Jul 3, 2019


Posted: Nov 8, 2021 10:24 AM          Msg. 2 of 3
EURUSD.FXCM is probably the symbol you want.

I say "probably" because FXCM is the data provider that the "Forex - Basic" data subscription includes. If you have the "Forex - Premium" data package, this will include the Tenfore providers. which have their own contributor codes like .ABBA, .BNPF, etc. See http://www.iqfeed.net/symbolguide/index.cfm?symbolguide=guide&guide=forex&symbolguide=guide&type=TENFORE for a list of how these codes work.

If you built the indicator yourself in NinjaTrader, you should get the same results outside of it as long as you use the same symbol (include the same .FXCM contributor code) and the same other factors. Beyond that, I'd need to look at the indicator more closely to try and suss out the difference.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

aamar
-Interested User-
Posts: 7
Joined: Oct 8, 2021


Posted: Nov 8, 2021 01:54 PM          Msg. 3 of 3
Thanks Gary.

I have found the issue, I am using quotes streaming and building my 1sec, 1min and 5min bars and difference was around that. Once fixed, it matches now.
 

 

Time: Fri July 26, 2024 10:50 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003