RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



IQFeed - Forex Data - Invalid Symbol Expand / Collapse
Message
Posted 1/17/2010 14:25:54 Post #10518
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
I'm receiving an "Error retrieving bars: !ERROR! Invalid symbol" error when downloading historical forex data for specific symbols. I've verified the data is being transmitted via the IQFeed Diagnostics Utility. The symbols have the following settings for daily data:

Asset Type: Forex
Construct Bars From: Default
Asset Currency: varies based on symbol
Exchange: COMP

For example, USDCAD works but USDRUB throws the error.

Any thoughts on how to resolve?

Thanks, Duane
Posted 1/18/2010 07:48:17 Post #10529
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
Try entering the full symbol string into the symbol name. Typically we would break out the exchange and asset type, but for IQFeed, we pass along the full symbol name untouched.

dwebber (1/17/2010)
I'm receiving an "Error retrieving bars: !ERROR! Invalid symbol" error when downloading historical forex data for specific symbols. I've verified the data is being transmitted via the IQFeed Diagnostics Utility. The symbols have the following settings for daily data:

Asset Type: Forex
Construct Bars From: Default
Asset Currency: varies based on symbol
Exchange: COMP

For example, USDCAD works but USDRUB throws the error.

Any thoughts on how to resolve?

Thanks, Duane
Posted 1/18/2010 13:13:52 Post #10532
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
This works but symbols are being handled differently than expected. For example:

- "USDCAD" works if asset type == Forex and exchange == COMP
- "USDCAD.COMP" works if asset type == stock and exchange == COMP
- "USDRUB" does Not work if asset type == Forex and Exchange == COMP
- "USDRUB.COMP" works if asset type == stock and exchange == COMP

changing the above combinations of asset types/exchange throws the error.

what would be the reason for the IQFeed to handle USDRUB and USDCAD differently?
Posted 1/18/2010 13:40:01 Post #10534
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
I would guess that IQFeed is ignoring the exchange you specified in the symbol's exchange field, and only taking it from the symbol name. If you do not specify it in the symbol name, it is probably using a default exchange which is not COMP. Probably USDCAD is traded on the default exchange, but USDRUB isn't.

Daniel
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 12:59am

2005-2007 © RightEdge Systems