public QUIKOrderProvider() { _transactionCallback = new TransactionReplyCallback(TransactionReplyCallbackIMPL); _tradeCallback = new TradeStatusCallback(TradeStatusCallbackIMPL); _orderCallback = new OrderStatusCallback(OrderStatusCallbackIMPL); }
private static extern Int32 StartTradesImp(TradeStatusCallback tradeStatusCallback);
private static extern long StartTrades(TradeStatusCallback pfTradeStatusCallback);
public static ReturnValue StartTrades(TradeStatusCallback tradeStatusCallback) { var res = StartTradesImp(tradeStatusCallback); return(new ReturnValue(res)); }