Author |
Topic: Volume histogram (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
GGiovanni50 Posts: 8 Joined: Jun 09, 2010 |
Hi, we are trying to recreate the volume histogram just like the one on the OEC Trader DOM. What is the best parameter to use to recall the current session data since opening until we connect?
We have tried using for example GetBars(ESM0, startdate,enddate,SubricptionType.Histogram,barsize) but it returns an error on SubricptionType.Histogram. thanks, Giovanni Edited by GGiovanni50 on Jun 15, 2010 at 14:11:03 Edited by GGiovanni50 on Jun 15, 2010 at 14:12:07 |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
OEC Trader uses a ready-to-use histogram. You can subscribe to it via SubscribeHistogram(contract) method. Victor Vins Software Developer |
||||
GGiovanni50 Posts: 8 Joined: Jun 09, 2010 |
We made it work, however we still have to request the histogram for each price. Is there a way to receive the comple histogram for the whole session instead?
thanks, Giovanni |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Histogram includes data for whole session.
Victor Vins Software Developer |
||||