Is there anyone using Delphi to get Time and Sales data by Active X?
I don't have any problem to get historical data, but there's no way to obtain the Time and Sales data.
Call to RequestTimeSales succeed and after a while the event OnTimeSalesChanged occur. When NumBars is > 0 the code call GetTimeSalesBar but the data returnd are strange. The field DataType seems to be good because it is ina a range 1-4, but the other field are strange. Size field is huge and price is something like (1e150).
Furthermore after the call to GetTimeSalesBar the application do not execute the subsequent line of code (in "debug" mode or in normal execution mode).
Hope someone could help me.
Thank you.
I don't have any problem to get historical data, but there's no way to obtain the Time and Sales data.
Call to RequestTimeSales succeed and after a while the event OnTimeSalesChanged occur. When NumBars is > 0 the code call GetTimeSalesBar but the data returnd are strange. The field DataType seems to be good because it is ina a range 1-4, but the other field are strange. Size field is huge and price is something like (1e150).
Furthermore after the call to GetTimeSalesBar the application do not execute the subsequent line of code (in "debug" mode or in normal execution mode).
Hope someone could help me.
Thank you.
Comment