API Support Forum
OEC API > API Support > Tick Stream data
Author Topic: Tick Stream data
(2 messages, Page 1 of 1)
Moderators: VPfau
TGalanos
Posts: 2
Joined: Nov 25, 2014


Posted: Jan 16, 2015 @ 01:06 AM             Msg. 1 of 2
I want to replicate behavior of Tools->Tick Stream window from OEC Trader in my own application using .NET API. I subscribe on OECClient.OnPriceTick event and log all updates using LastDateTime, LastPrice and LastVolume properties of Price object received in event argument.

My data looks very different - some ticks looks duplicated but another one looks missed. Maybe I should subscribe on other events too and implement some filtering? Could you please provide me advice how to implement 'Tick Stream' functionality in same way as it done in OEC Trader application?

Tsachi Galanos
NShine
Posts: 36
Joined:


Posted: Sep 01, 2015 @ 11:09 AM             Msg. 2 of 2
Please refer to the "Advanced API Example" in our Samples.
http://futures.gaincapital.com/trading/api/documentation.cfm

This project has a Tick Stream implemented similarly to the OEC Trader application. Check TickViewControl.cs, you'll want to use the OnTicksReceived event instead of OnPriceTick.
Edited by NShine2778 on Sep 1, 2015 at 11:10:47