Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void QuotesCheckup(IReadOnlyList<IDataBar> bars, IContext ctx)
- {
- var load = ctx.LoadObject("firstBarTime", true);
- if (DateTime.Parse(load.ToString()) != bars[0].Date)
- ctx.Log("!!! Возможно пропущены бары",MessageType.Error,true);
- ctx.StoreObject("firstBarTime", bars[1].Date,true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement