September 10, 2019, 3:57pm
I'm able to stream RT forex quotes, but the charts don't update like they do with stocks and futures.
Additionally, requesting a backfill only updates the chart once, and subsequent backfill requests say "backfill complete" but no data was added to the chart.
Based on what I read in the below posts, this seems to be an issue in how the data feed is being sent by IB and interpreted by AB.
I am using ib plugin to get real time data . My chart does not update live for indices , but it updates for all other types of symbols like stocks , futures etc. But if i do backfill i get historical data for index.
Although i can see Index moving in realtime quote window.
Following is the pic of my setup: While real time data for same index symbol updates live, chart does not update. I am facing this issue only when the symbol is an index, while rest (fut, stock etc ) are fine.
I just noticed that the Amibroker charts did not refresh. I am using Interactive broker data plug-in. My amibroker (6.10) can still backfill data from IB, and shows the chart upto the minute of last backfill, but it won't auto-refresh the chart. I tried the newest IB station 974.m4 or the stable version 972, both won't refresh the Charts on Amibroker. Any suggestions ? Thanks!
However, I also use XLQ which has no problem with the IB forex feed.
Is there a workaround in AB?
Any help is much appreciated.
September 10, 2019, 4:45pm
Try to use this kind of symbol
Its work for me .
September 10, 2019, 5:52pm
All forex symbols in IB must use
-IDEALPRO-CASH suffix. This is required because plugin specifically looks for IDEALPRO.
How to find correct IB symbol using TWS
September 10, 2019, 7:11pm
Oh, ok. So using the Alias like this doesn't work for forex, but it works for everything else:
So in forex only, you can't use the Alias, but have to use the IB symbology in the Symbol field:
Many thanks for the clarification and fast response!
September 11, 2019, 9:10am
If you really must use the alias, you should define things the
OTHER way round. Alias should be EURUSD, main symbol should be EUR.USD-IDEALPRO-CASH
But generally speaking aliases are NOT for data plugins but for
ASCII import only.
Only Main symbol is used by DATA PLUGIN. Not Alias. The plugin has NO idea what alias is and does NOT use it.
And no it does NOT work for "everything else". You were just lucky that you used US stocks where "SMART" exchange (the default when exchange is not supplied) works. But "SMART" does not work for forex.
September 11, 2019, 11:13am
Thanks, Tomasz! This is excellent information. I had made some incorrect assumptions about the Alias field and I appreciate your feedback.