Ревизии при закачке данных с plaza II
Atom
11.11.2013


Вроде из доступной мне информации гидра должна использовать PlazaRevisionManager или что-то в этом роде и подкачивать
данные при разрыве/остановке в рамках одной сессии.
однако пытаясь собрать свечки по стаканам из ОЛ я наткнулся на ошибки и решил проверить целостность записи лога и выкинув его (ОЛ) в тхт обнаруживал такие вот битые дни:
Цитата:

True;2013-11-04 04:07:36.768;11644097505;147100;2;Buy;Done;PutInQueue;;
True;2013-11-04 04:07:41.54;11644098547;147150;6;Buy;Done;PutInQueue;;
True;2013-11-04 04:07:44.59;11644098546;147230;6;Sell;Done;PutInQueue;;
True;2013-11-04 09:41:46.929;11643522706;146100;3;Buy;Done;PutInQueue;;
True;2013-11-04 09:41:46.93;11643522236;146500;3;Buy;Done;PutInQueue;;
True;2013-11-04 09:54:49.003;11643093518;147750;2;Sell;Done;PutInQueue;;
True;2013-11-04 09:54:49.167;11643356858;147350;2;Sell;Done;PutInQueue;;
True;2013-11-04 09:54:49.33;11643357862;147490;2;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093887;147220;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093891;147240;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093893;147260;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093894;147280;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093896;147300;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093897;147320;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093898;147340;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093899;147360;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093900;147380;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093904;147400;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.784;11644093908;147420;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093910;147440;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093912;147460;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093913;147480;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093922;147500;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093927;147520;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093929;147540;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093930;147560;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093932;147580;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093935;147600;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644093937;147620;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644094566;147280;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644094569;147380;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644094570;147440;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644094572;147480;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.785;11644094574;147580;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.786;11644094575;147640;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.786;11644094576;147660;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.786;11644094577;147680;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:45:35.786;11644094579;147700;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.901;11644094580;147720;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094581;147740;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094584;147760;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094585;147780;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094586;147800;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094587;147820;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094588;147840;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094589;147860;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094590;147880;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094591;147900;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094592;147920;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094593;147940;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094594;147960;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094595;147980;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094596;148000;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094751;147680;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094754;147780;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094755;147860;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094756;147880;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094758;147960;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094759;147980;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094761;148020;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094762;148040;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094763;148060;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094765;148080;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094766;148100;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094769;148120;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094771;148140;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094772;148160;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:10.902;11644094773;148180;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.963;11644094777;147440;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.963;11644094778;147460;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094779;147480;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094780;147500;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094781;147520;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094782;147540;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094783;147560;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094930;148080;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094931;148180;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094932;147460;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094933;147480;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094934;147560;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094935;147580;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094936;147600;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094937;147620;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094938;147640;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094939;147660;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094940;147680;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.964;11644094941;147700;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.968;11644094942;147720;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.968;11644094943;147740;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.968;11644094944;147760;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.968;11644094945;147780;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.968;11644094946;147470;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094947;147490;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094948;147510;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094949;147530;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094950;147550;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094951;147570;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:19.969;11644094952;147590;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.908;11644094953;147610;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095052;147660;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095053;147760;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095054;147530;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095055;147570;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095056;147630;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095057;147650;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095058;147670;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095059;147690;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095060;147710;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095061;147730;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095062;147750;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095063;147770;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095064;147790;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095065;147810;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095066;147830;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095067;147840;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095068;147860;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095214;147630;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095215;147730;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095216;147830;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.909;11644095228;147470;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095229;147490;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095230;147510;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095231;147530;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095232;147550;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095234;147570;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095235;147590;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095236;147610;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:22.91;11644095239;147630;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.451;11644095240;147650;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095242;147670;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095243;147690;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095244;147710;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095543;147490;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095545;147590;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095546;147690;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095547;147730;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095548;147750;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095549;147770;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095550;147790;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095551;147810;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095552;147830;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095555;147850;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095556;147870;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095557;147890;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095558;147910;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095559;147930;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095560;147920;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095561;147940;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095562;147960;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095563;147980;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095564;148000;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095565;148020;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095566;148040;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095567;148060;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095568;148080;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095569;148090;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.452;11644095670;147770;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:25.453;11644095671;147790;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:27.606;11644095672;147890;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:27.606;11644095673;147960;1;Sell;Done;PutInQueue;;
True;2013-11-04 11:46:27.606;11644095674;148060;1;Sell;Done;PutInQueue;;
True;2013-11-04 13:42:39.773;11643228678;147500;8;Sell;Done;PutInQueue;;
True;2013-11-04 13:42:48.651;11643230825;146000;9;Buy;Done;PutInQueue;;
True;2013-11-04 16:09:50.103;11643619851;147600;7;Sell;Done;PutInQueue;;
True;2013-11-04 21:25:52.039;11643574582;146750;10;Buy;Done;PutInQueue;;


есть дни которые "не выглядят" битыми (в том смысле что записаны от и до) но стаканы по ним строятся только на вечерку или скажем до какого-то момента...непонятно.

ну во-первых не ясно, почему OL можно выводить только по датам (да еще и с 00-00 хотя сессия как известно с 18-45 - 18-45 )
в том же выводе стаканов можно выбрать время.

ну и во-вторых. как подобный лог вообще мог записаться?




вообщем написал сумбурно попробую резюмировать:

1)вот один день такой корявый. как работают ревизии, работают ли они через день (в рамках одной сессии) или в рамках одного календарного дня как устроена история S#? что могло случиться в тот день что представлен выше (видно что в конце и ID слишком маленькие)


2)если строить из OL например минутные свечки то исключая упомянутый выше файл все ок. никаких разрывов. сами ордерлоги с 00-00 до 23:50 как им и положенно...но если попросить гидру вывести стаканы или свечки по стаканам то редкий день она выведет до конца сессии. обычно выводит до какого-то времени (18-45 - 10-15 например) свечки по стаканам из ОЛ не делает вообще (пустой грид или пустой файл) что с этим можно сделать?)

Теги:


Спасибо:


Андрей Шабанов

Фотография
Дата: 11.11.2013
Ответить


ну и тогда продублирую ошибку которая всплывала при генерации свечек возможно она связана как раз с битыми местами так возникает в некоторых случаях при попытке просто вывести лог в форму (при нажатии на значок лупа)

Цитата:


04:48:40.338|Error |S#.Data |System.ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: obj
в System.Windows.Markup.XamlWriter.Save(Object obj)
в Ecng.Xaml.Grids.DataGridHelper.XamlClone[T](T xamlObj)
в Ecng.Xaml.Grids.DataGridHelper.XamlClone(Style xamlObj)
в Ecng.Xaml.Grids.UniversalGrid.ApplyFormatRules()
в Ecng.Xaml.Grids.UniversalGrid.OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
в System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
в System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
в System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
в System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
в System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
в System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
в StockSharp.Hydra.Panes.OrderLogPane.FindClick(Object sender, RoutedEventArgs e)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.Controls.Button.OnClick()
в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)



хотя я в этом и не уверен так как при выводе одних и тех же данных она то есть то ее нет)





Ну и еще в довесок вопрос: следующий запуск в 23:59? как это понимать?
Цитата:

Plaza 11/11/2013 05:08:50 Info Вне диапазона рабочего времени.
Текущее время 05:08:50, начало с 10:05:00, окончание до 23:59:59.9999999.
Работа источника будет приостановлена.


Plaza 11/11/2013 05:08:50 Info Следущий запуск в 11.11.2013 23:59:59.
Спасибо:

dij1

Фотография
Дата: 12.11.2013
Ответить


да, судя по динамике ответов, тут сплошное чучхе))
Спасибо:

Mikhail Sukhov

Фотография
Дата: 14.11.2013
Ответить


dij1 Перейти
да, судя по динамике ответов, тут сплошное чучхе))


Некоторые вещи проше решать через скайп. Собственно как и данная проблема.
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy