Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected override void OnPositionUpdate(Cbi.Position position, double averagePrice, int quantity, Cbi.MarketPosition marketPosition)
- {
- base.OnPositionUpdate(position, averagePrice, quantity, marketPosition);
- p("POS_upd:" + bInfo() + " __"+ position.ToString());
- }
- protected override void OnOrderUpdate(Order order, double limitPrice, double stopPrice, int quantity, int filled, double averageFillPrice, OrderState orderState, DateTime time, ErrorCode error, string comment)
- {
- base.OnOrderUpdate(order, limitPrice, stopPrice, quantity, filled, averageFillPrice, orderState, time, error, comment);
- p("ORD_upd:" + bInfo() + " __" + order.ToString());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement