Author |
Topic: Requesting/Receiving Range Bars (7 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
MMedved86 Posts: 20 Joined: Sep 09, 2016 |
In your DOM in OEC Trader there is the Volume by Price column where there is volume for each price level. In OEC Trader it shows instantaneously... How is that info received through API exactly? Is OEC trader using Range Bars to get that?
Edited by MMedved86 on Oct 19, 2016 12:25 PM |
||||
MMedved86 Posts: 20 Joined: Sep 09, 2016 |
---
Edited by MMedved86 on Oct 19, 2016 12:25 PM |
||||
VPfau Moderator Posts: 164 Joined: |
MMedved86,
Please check OECClient.SubscribeHistogram and Contract.Histogram.GetVolumeAtPrice functions Vitaliy Pfau
|
||||
MMedved86 Posts: 20 Joined: Sep 09, 2016 |
Thank you, that's what I was looking for.
Is there a way to unsubscribe from histogram? And if not, is there a limit on the histogram subscribes? |
||||
MMedved86 Posts: 20 Joined: Sep 09, 2016 |
Ping... I'd really like to know if there is a way to unsub from histogram, and if there is a limit to such subs. Since, as the user may switch from DOM to DOM, that limit may be reached pretty quickly.
|
||||
CMicciche902 Posts: 367 Joined: |
I'll have a Developer review your question and post a reply.
Chris M
|
||||
NShine Posts: 36 Joined: |
Hello,
You can unsubscribe from a histogram through the CancelSubscription method. https://gainfutures.com/api/?topic=html/M_OEC_API_OECClient_CancelSubscription.htm The limit for this type is equal to your DOM subscription limit plus your chart subscription limit. So if you have a 5 DOM limit and 10 chart limit (real-time data), you will have a 15 histogram limit. |
||||