ошибка MarketQuotingStrategy


ошибка MarketQuotingStrategy
Atom
11/10/2014


Code
                new MarketQuotingStrategy(Sides.Buy, volume)
                {
                    OrdersKeepTime = TimeSpan.FromSeconds(15),
                    CancelOrdersWhenStopping = true,
                    WaitAllTrades = true,
                    DisposeOnStop = true,
                    Volume = _orderVolume,
                    //PriceOffset = new Unit(1, UnitTypes.Step, Security),
                    BestPriceOffset = new Unit(1, UnitTypes.Step, Security)
                };


создаю стратегию

получаю такой результат

Code
2014/11/10 12:13:56.976|       |MQS_CEEN@GTS_102160|Стратегия запущена. [0,1]. Позиция 0.
2014/11/10 12:13:56.976|       |MQS_CEEN@GTS_102160|Котирование на Buy объема 100.
2014/11/10 12:13:56.976|       |MQS_CEEN@GTS_102160|Цена текущей NULL и лучшей 7,582.
2014/11/10 12:13:56.976|       |MQS_CEEN@GTS_102160|Лучший бид 7,541 и лучший аск 7,577.
2014/11/10 12:13:56.976|       |MQS_CEEN@GTS_102160|Регистрация новой Limit (0x126D61F) заявки на Buy с ценой 7,582 и объемом 100. 


BestPriceOffset должен уменьшать
Code
new Range<decimal>((decimal)(price - BestPriceOffset), price);

Tags:


Thanks:




Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy