Ejemplo n.º 1
0
        static Trans2Quik()
        {
            connection_status_callback_unmgr = new CONNECTION_STATUS_CALLBACK_UNMGR(connection_status_callback_impl);
            transaction_reply_callback_unmgr = new TRANSACTION_REPLY_CALLBACK_UNMGR(transaction_reply_callback_impl);
            order_status_callback_unmgr      = new ORDER_STATUS_CALLBACK_UNMGR(order_status_callback_impl);
            trade_status_callback_unmgr      = new TRADE_STATUS_CALLBACK_UNMGR(trade_status_callback_impl);

            gc_connection_status = GCHandle.Alloc(connection_status_callback_unmgr);
            gc_transaction_reply = GCHandle.Alloc(transaction_reply_callback_unmgr);
            gc_order_status      = GCHandle.Alloc(order_status_callback_unmgr);
            gc_trade_status      = GCHandle.Alloc(trade_status_callback_unmgr);
        }
Ejemplo n.º 2
0
 private static extern QuikResult START_TRADES_UNMGR(
     TRADE_STATUS_CALLBACK_UNMGR pfnTradeStatusCallback);
Ejemplo n.º 3
0
 static extern Result START_TRADES_UNMGR(
   TRADE_STATUS_CALLBACK_UNMGR pfnTradeStatusCallback);