Today I encountered situation which at first glance appears as a very stubborn bug. However, after closer look, I realize that the fault is not in the Amibroker and hence this share.
Normally, after I start Amibroker, I also start another app that feeds RT data Amibroker thru its COM functions. Once that is done, I concentrate on trading and do not tinker too much with Amibroker.
Today, However after starting Amibroker and its feeder, I uploaded 1 scrip's data manually using File->import function while the feeder app was running.
To my surprise, Amibroker refused to plot newly imported data on the chart, so I imported same thing again. No improvement.
Checked logs to see the error and nothing was there.
Checked Quote editor and manually imported data was showing there.
Imported again; Refreshed few times and Nothing would get Amibroker to plot the manually imported data.
After 3:30PM, I shutdown the feeder app and almost instantly the data appeared on chart.
This behaviour is more or less correct when we consider software principles of RDBMS wherein database guarantees that concurrent users will not see same data differently.
In other words, Amibroker was preserving the data state that the feeder application was reading and hence it prevented chart from rendering it.
Normally, after I start Amibroker, I also start another app that feeds RT data Amibroker thru its COM functions. Once that is done, I concentrate on trading and do not tinker too much with Amibroker.
Today, However after starting Amibroker and its feeder, I uploaded 1 scrip's data manually using File->import function while the feeder app was running.
To my surprise, Amibroker refused to plot newly imported data on the chart, so I imported same thing again. No improvement.
Checked logs to see the error and nothing was there.
Checked Quote editor and manually imported data was showing there.
Imported again; Refreshed few times and Nothing would get Amibroker to plot the manually imported data.
After 3:30PM, I shutdown the feeder app and almost instantly the data appeared on chart.
This behaviour is more or less correct when we consider software principles of RDBMS wherein database guarantees that concurrent users will not see same data differently.
In other words, Amibroker was preserving the data state that the feeder application was reading and hence it prevented chart from rendering it.