Author |
Topic: RequestTicks returns data with .volume = 0 (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
TLau471 Posts: 70 Joined: |
Hi,
The following is excerpt from LIVE software connected to SIM server Why is it suddenly returning 0 today? It was all ok last friday. m_Client.RequestTicks(Contract, Start, [End]) ... ... ... Private Sub m_Client_OnTicksReceived(ByVal Subscription As OEC.API.Subscription, ByVal Ticks As OEC.API.Ticks) Handles m_Client.OnTicksReceived DataLength = Ticks.Prices.Length For i = 0 To DataLength - 1 e.size = Ticks.Volumes(i) ' why is Ticks.Volumes(i) always 0??? next end sub TLau
|
||||
SRuscak Posts: 50 Joined: Aug 24, 2017 |
Ticks.Volume is obsolete. You should use Ticks.Volume32 instead, because it uses a larger datatype that better represents the data.
That said, we will release a fix that restores Ticks.Volume data. |
||||
TLau471 Posts: 70 Joined: |
Thanks. Where can I subscribe to changes like this?
TLau
|
||||
TLau471 Posts: 70 Joined: |
Hi,
How can I get notified of such deprecation info? TLau
|
||||
SRuscak Posts: 50 Joined: Aug 24, 2017 |
Typically we mark obsolete members with the [Obsolete] tag. That should make it clear in intellisense, documentation, and compiler warnings. But in this case Tick.Volume should have been marked but wasn't. Our apologies for the confusion.
|
||||