46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
|
#ifndef _NEWCONSTANT_H
|
|||
|
#define _NEWCONSTANT_H
|
|||
|
//<2F>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:TMarketType
|
|||
|
#define SPOT "00" //<2F>ֻ<EFBFBD>
|
|||
|
#define DEFER "10" //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define FUTURES "11" //<2F>ڻ<EFBFBD>
|
|||
|
#define FORWARD "01" //Զ<><D4B6>
|
|||
|
#define DELIVERY "AP" //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define MIDDLE "MD" //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
//<2F>г<EFBFBD>״̬
|
|||
|
#define M_INITING '0' //<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>
|
|||
|
#define M_INIT '1' //<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define M_OPEN '2' //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define M_TRADE '3' //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define M_PAUSE '4' //<2F><>ͣ
|
|||
|
#define M_CLOSE '5' //<2F><><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
//ί<>е<EFBFBD>״̬
|
|||
|
#define Entrust_Sending '1' //1<><31><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD>ͣ<EFBFBD>
|
|||
|
#define Entrust_Waiting '2' //2<><32><EFBFBD>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define Entrust_In '3' //3<><33><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD>룻
|
|||
|
#define Entrust_All_Cancel '4' //4<><34>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define Entrust_All_Done '5' //5<><35>ȫ<EFBFBD><C8AB><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>
|
|||
|
#define Entrust_Part_Done '6' //6<><36><EFBFBD><EFBFBD><EFBFBD>ֳɽ<D6B3><C9BD><EFBFBD>
|
|||
|
#define Entrust_Part_Done_Cancel '7' //7<><37><EFBFBD><EFBFBD><EFBFBD>ɲ<EFBFBD><C9B2><EFBFBD>
|
|||
|
#define Entrust_Wait_Cancel '8' //<2F>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define Entrust_Error '9' //<2F><><EFBFBD><EFBFBD>ί<EFBFBD><CEAF>
|
|||
|
#define Entrust_By_Exch 'A' //<2F><><EFBFBD>ڳ<EFBFBD><DAB3><EFBFBD>
|
|||
|
#define Entrust_By_Emergency 'B' //Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
//<2F><>ƽ<EFBFBD>ֱ<EFBFBD>־ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:TOffsetFlag
|
|||
|
#define P_OPEN '0' //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define p_OFFSET '1' //ƽ<><C6BD>
|
|||
|
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:TBSFlag
|
|||
|
#define BUY '0' //<2F><>
|
|||
|
#define SELL '1' //<2F><>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#endif _NEWCONSTANT_H
|