API Support Forum
OEC API > API Support > Request Historical for option bar, return empty bar
Author Topic: Request Historical for option bar, return empty bar
(1 messages, Page 1 of 1)
Moderators: VPfau
GFranceschi4034
Posts: 4
Joined: Jun 04, 2018


Posted: Feb 08, 2019 @ 10:12 AM             Msg. 1 of 1
Hi,

I'm trying to request option bar with this call:

client.RequestBars(option, DateTime.UtcNow.AddDays(-1), DateTime.UtcNow, SubscriptionType.Bar, 1440);

When OnBarsReceived are triggered, return always an empty bar, i don't know why...

Someone have any idea?

thanks