API Support Forum
OEC API > Market Data > Volume
Author Topic: Volume
(10 messages, Page 1 of 1)
Moderators: VPfau
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Dec 04, 2008 @ 03:49 PM             Msg. 1 of 10
I am wondering about how your volume is constructed. are you using the bidvol or the askvol or the lastvol when constructing your one minute data for example or are you combining them in some fashion?

"For every complex problem, there is a solution that is simple, neat, and wrong." H.L. Mencken
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 04, 2008 @ 03:56 PM             Msg. 2 of 10
bar volume is a sum of tick(trade) volumes for a given bar.

bid/ask numbers are not used in charts - they are built from trades only.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Dec 05, 2008 @ 12:25 PM             Msg. 3 of 10
I am grabing all of the streaming quotes and adding the IPrice->LastVol to get this bar volume and it doesn't seem right, are the Trade volumes correct in the streaming quotes?

It also seems that I am not getting all of the streaming quotes, but I am not sure on this is there somthing I could look for to see if I am getting everything?

"For every complex problem, there is a solution that is simple, neat, and wrong." H.L. Mencken
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 05, 2008 @ 03:27 PM             Msg. 4 of 10
you need to subscribe for ticks to see all trade volumes. quotes last vol is just indicative.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Dec 05, 2008 @ 05:39 PM             Msg. 5 of 10
please confirm what you are saying. I am going to need to subscribe to the tick data when looking at the 5 min chart to build accurate volume. is this correct?

If this is the case, then why even subscribe to streaming quotes? I should just always get tic data to be accurate?

what is the difference between these?

"For every complex problem, there is a solution that is simple, neat, and wrong." H.L. Mencken
BBigoulaev
Posts: 18
Joined: Dec 19, 2008


Posted: Feb 06, 2009 @ 08:00 PM             Msg. 6 of 10
The question to OEC team:

What is volume for each tick from ticks data stream of YM futures what I get by event handler like client_OnTicksReceived(OEC.API.Subscription subcription, OEC.API.Ticks tick)

Thank you.

Boris
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Feb 09, 2009 @ 08:35 AM             Msg. 7 of 10
OEC.API.Ticks.Volumes are sizes of the ticks - i.e. quantities of the exchange trades.
BBigoulaev
Posts: 18
Joined: Dec 19, 2008


Posted: Feb 09, 2009 @ 06:16 PM             Msg. 8 of 10
Thanks.

Boris
jlanawalt
Posts: 88
Joined: Feb 12, 2009


Posted: Mar 26, 2009 @ 01:48 PM             Msg. 9 of 10
After talking with Open E Cry we determined that subscribing to the tick stream (SubscribeTicks) was not the best way to go. It consumed too many resources just to get correct volume. Instead we were told to let SubscribeBars provide and build the volume data. That has worked much better.
MMarkus14
Posts: 7
Joined: Jul 07, 2010


Posted: Jul 19, 2010 @ 08:19 AM             Msg. 10 of 10
Hello!

Volume values returned by SubscribeBars seems to be still wrong for FDAX contract!

Simply check Volume of a daily-bar-chart against TotalVol in the Quotes-Tab. TotalVol is correct compared to Eurex but the value in the chart is approx. 60-70% of TotalVol.
I also summarized all minute bars of a day and got a wrong Volume-sum too.

Please help me,
regards,
-m

Markus Gutensohn