API Support Forum
User Profile

Viewing User Profile for: LLuigi


About

Jul 11, 2009 12:00 AM

Sep 17, 2009 05:32 PM

Sep 17, 2009 06:05 PM



Post Statistics
LLuigi has contributed to 2 posts out of 5677 total posts (0.04%) in 5612 days (0.00 posts per day).

20 most recent posts:

API Support » RequestTicks Sep 17, 2009 @ 05:32 PM (Total replies: 1)

Sorry for my bad English.

I'm testing the demo platform using vb.net and .net remoting
I've some problems because my software receive loss data.

I would be very glad if you have links to get tick in real-time in .net

The 'Core' of my software is this:

1) I've 1 timer, every 5 seconds the timer request ticks calling this API function:
OECClient.RequestTicks(OECClient.Contracts.GetContract(mySett.IdContract), _TimeStart, _TimeEnd) ' //TimeEnd -
TimeStart is 5 seconds


2) with:

Public Sub OnTicksReceived(ByVal Subscription As OEC.API.Subscription, ByVal Ticks As OEC.API.Ticks)

I save received data in my computer.


The question is:
Sometimes it works, sometime the function doesn't receive all data. where

is the problem? Am I using the wrong function?


Can you help me?
Can I've some sample code of function OECClient.RequestTicks?

Luigi Tedde

API Support » retrieving last trade time for FDAX contract Aug 24, 2009 @ 09:43 PM (Total replies: 1)

try it:
DateTime dt = Contract.CurrentPrice.LastDateTime.toLocalTime;








Jertix

Luigi Tedde