966 lines
30 KiB
C
966 lines
30 KiB
C
|
/**
|
|||
|
* <EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>(C)2012-2016, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɴ<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾
|
|||
|
* <EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD>DFITCApiDataType.h
|
|||
|
* <EFBFBD>ļ<EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
|
|||
|
* <EFBFBD><EFBFBD>ǰ<EFBFBD>汾<EFBFBD><EFBFBD>1.0.14.91
|
|||
|
* <EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD>XSpeed<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>
|
|||
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڣ<EFBFBD>2015<EFBFBD><EFBFBD>5<EFBFBD><EFBFBD>6<EFBFBD><EFBFBD>
|
|||
|
*/
|
|||
|
|
|||
|
#ifndef DFITCAPIDATATYPE_H
|
|||
|
#define DFITCAPIDATATYPE_H
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCUserIDType<70><65><EFBFBD>û<EFBFBD>ID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCUserIDType[41];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAccountIDType<70><65><EFBFBD>ʽ<EFBFBD><CABD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCAccountIDType[13];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCExecStateType<70><65>ִ<EFBFBD><D6B4>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCExecStateType;
|
|||
|
///<2F>ɹ<EFBFBD>
|
|||
|
#define DFITC_SUCCESS 0
|
|||
|
///ʧ<><CAA7>
|
|||
|
#define DFITC_FAIL 1
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCClientIDType<70><65><EFBFBD><EFBFBD><EFBFBD>ױ<EFBFBD><D7B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCClientIDType[13];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCClientStatusType<70><65><EFBFBD><EFBFBD><EFBFBD>ױ<EFBFBD><D7B1><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCClientStatusType;
|
|||
|
///<2F><>ֹ<EFBFBD><D6B9><EFBFBD>²<EFBFBD>
|
|||
|
#define DFITC_PROHIBIT_OPEN 4
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>²<EFBFBD>
|
|||
|
#define DFITC_ALLOW_OPEN 5
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentIDType<70><65><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCInstrumentIDType[64];
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentPrefixType<70><65>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCInstrumentPrefixType[31];
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCVarietyNameType<70><65>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCVarietyNameType[31];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentNameType<70><65><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCInstrumentNameType[64];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCActiveContractType<70><65><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCActiveContractType[1024];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCLocalOrderIDType:<3A><><EFBFBD><EFBFBD>ί<EFBFBD>к<EFBFBD><D0BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCLocalOrderIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCPriceType:<3A>۸<EFBFBD><DBB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCPriceType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAmountType:ί<><CEAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCAmountType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCBuySellTypeType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCBuySellTypeType;
|
|||
|
///<2F><>
|
|||
|
#define DFITC_SPD_BUY 1
|
|||
|
///<2F><>
|
|||
|
#define DFITC_SPD_SELL 2
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOpenCloseTypeType<70><65><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCOpenCloseTypeType;
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_OPEN 1
|
|||
|
///ƽ<><C6BD>
|
|||
|
#define DFITC_SPD_CLOSE 2
|
|||
|
///ƽ<><C6BD>
|
|||
|
#define DFITC_SPD_CLOSETODAY 4
|
|||
|
///<2F><>Ȩִ<C8A8><D6B4>
|
|||
|
#define DFITC_SPD_EXECUTE 6
|
|||
|
///<2F><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_GIVEUP 7
|
|||
|
///<2F><>Ȩ<EFBFBD><C8A8>Լ
|
|||
|
#define DFITC_SPD_PERFORM 8
|
|||
|
///ѯ<><D1AF>
|
|||
|
#define DFITC_SPD_OPTQRYPRICE 9
|
|||
|
///ǿƽ
|
|||
|
#define DFITC_SPD_FORCECLOSE 12
|
|||
|
///ǿƽ<C7BF><C6BD>
|
|||
|
#define DFITC_SPD_FORCECLOSETODAY 14
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSpeculationValueType:Ͷ<><CDB6><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCSpeculationValueType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCExchangeIDType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCExchangeIDType[8];
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_DCE "DCE"
|
|||
|
///֣<><D6A3><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_CZCE "CZCE"
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_SHFE "SHFE"
|
|||
|
///<2F>н<EFBFBD><D0BD><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_CFFEX "CFFEX"
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_INE "INE"
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCFrontAddrType:ǰ<>û<EFBFBD><C3BB><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCFrontAddrType[32];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCompanyIDType:<3A><><EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD><CCB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCCompanyIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCPasswdType:<3A>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
///<2F><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD>벻<EFBFBD><EBB2BB>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ16λ
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCPasswdType[41];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSPDOrderIDType:<3A><>̨ί<CCA8>к<EFBFBD><D0BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
///<2F><>̨ί<CCA8>кź<D0BA><C5BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD>ͬ<EFBFBD>ֶα<D6B6>ʾ
|
|||
|
///<2F><>DFITCSPDOrderIDType<70><65>ȡֵΪ<D6B5><CEAA><EFBFBD><EFBFBD>[<5B><>СΪ1 ]<5D><><EFBFBD><EFBFBD>ʾΪ<CABE><CEAA>̨ί
|
|||
|
///<2F>кţ<D0BA><C5A3>ñʱ<C3B1><CAB1><EFBFBD><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD>̨
|
|||
|
///<2F><>DFITCSPDOrderIDType<70><65>ȡֵΪ<D6B5><CEAA><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD>Ϊ-2]<5D><><EFBFBD><EFBFBD>ʾΪ<CABE><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
///<2F>ţ<EFBFBD><C5A3>ñʱ<C3B1><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCSPDOrderIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOrderSysIDType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCOrderSysIDType[64];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOrderType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCOrderTypeType;
|
|||
|
///<2F><EFBFBD>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_LIMITORDER 1
|
|||
|
///<2F>м<EFBFBD>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_MKORDER 2
|
|||
|
///<2F><><EFBFBD><EFBFBD>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_ARBITRAGE 4
|
|||
|
///չ<>ڻ<EFBFBD><DABB><EFBFBD>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_EXTENSION 8
|
|||
|
///<2F><EFBFBD>ֹӯί<D3AF><CEAF>
|
|||
|
#define DFITC_PROFIT_LIMITORDER 32
|
|||
|
///<2F>м<EFBFBD>ֹӯί<D3AF><CEAF>
|
|||
|
#define DFITC_PROFIT_MKORDER 34
|
|||
|
///<2F><EFBFBD>ֹ<EFBFBD><D6B9>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_LOSS_LIMITORDER 48
|
|||
|
///<2F>м<EFBFBD>ֹ<EFBFBD><D6B9>ί<EFBFBD><CEAF>
|
|||
|
#define DFITC_LOSS_MKORDER 50
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOrderAnswerStatusType:ί<>лر<D0BB><D8B1><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCOrderAnswerStatusType;
|
|||
|
///ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_CANCELED 1
|
|||
|
///ȫ<><C8AB><EFBFBD>ɽ<EFBFBD>
|
|||
|
#define DFITC_SPD_FILLED 2
|
|||
|
///δ<>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_IN_QUEUE 3
|
|||
|
///<2F><><EFBFBD>ֳɽ<D6B3><C9BD><EFBFBD><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_PARTIAL 4
|
|||
|
///<2F><><EFBFBD>ɲ<EFBFBD><C9B2><EFBFBD>
|
|||
|
#define DFITC_SPD_PARTIAL_CANCELED 5
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_IN_CANCELING 6
|
|||
|
///<2F><><EFBFBD><EFBFBD>(<28>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
#define DFITC_SPD_ERROR 7
|
|||
|
///δ<>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_PLACED 8
|
|||
|
///<2F><>̨<EFBFBD>ѽ<EFBFBD><D1BD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_TRIGGERED 10
|
|||
|
|
|||
|
|
|||
|
///////////////////////////////////////////////////////////////
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD>㷨<EFBFBD><E3B7A8>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
///////////////////////////////////////////////////////////////
|
|||
|
|
|||
|
///δ<><CEB4><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXT_UNTRIGGER 13
|
|||
|
///<2F><><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD>
|
|||
|
#define DFITC_EXT_PART_TRIGGER 14
|
|||
|
///ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXT_ALL_TRIGGER 15
|
|||
|
///<2F>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_EXT_CANCELLED 16
|
|||
|
///<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define DFITC_EXT_FAILED 17
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCMatchIDType:<3A>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCMatchIDType[32];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCDateType<70><65>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCDateType[13];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCMatchType:<3A>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCMatchType;
|
|||
|
///<2F><>ͨ<EFBFBD>ɽ<EFBFBD>
|
|||
|
#define DFITC_BASIC_TRADE 0
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSpeculatorType:Ͷ<><CDB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCSpeculatorType;
|
|||
|
///Ͷ<><CDB6>
|
|||
|
#define DFITC_SPD_SPECULATOR 0
|
|||
|
///<2F>ױ<EFBFBD>
|
|||
|
#define DFITC_SPD_HEDGE 1
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SPD_ARBITRAGE 2
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCFeeType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCFeeType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCErrorIDType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCErrorIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCErrorMsgInfoType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCErrorMsgInfoType[64];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCMsgInfoType:<3A><>Ϣ<EFBFBD><CFA2>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCMsgInfoType[1024];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCEquityType:Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCEquityType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCProfitLossType:ӯ<><D3AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCProfitLossType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAccountLoginResultType:<3A>ʽ<EFBFBD><CABD>˻<EFBFBD><CBBB><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCAccountLoginResultType;
|
|||
|
///<2F><>¼<EFBFBD>ɹ<EFBFBD>
|
|||
|
#define DFITC_LOGIN_SUCCESS 0
|
|||
|
///<2F><>¼ʧ<C2BC><CAA7>
|
|||
|
#define DFITC_LOGIN_FAILED 1
|
|||
|
///<2F><><EFBFBD>˳<EFBFBD>
|
|||
|
#define DFITC_LOGIN_QUIT 2
|
|||
|
///δ<><CEB4><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_LOGIN_NOT_OPERATE 9
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSessionIDType:SessionID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCSessionIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAccountLogoutResultType:<3A>ʽ<EFBFBD><CABD>ʺŵdz<C5B5><C7B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCAccountLogoutResultType;
|
|||
|
///<2F>dz<EFBFBD><C7B3>ɹ<EFBFBD>
|
|||
|
#define DFITC_LOGOUT_SUCCESS 0
|
|||
|
///<2F>dz<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define DFITC_LOGOUT_FAILED 1
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCUserTypeType:<3A>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCUserTypeType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCounterIDType:<3A><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCCounterIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCRiskDegreeType:<3A><><EFBFBD>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCRiskDegreeType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCMilliSecType:<><CEA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCMilliSecType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCDeltaType:<3A><>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCDeltaType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCVolumeType<70><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCVolumeType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCFrontIDType:ǰ<>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCFrontIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOfferPriceLimitType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCOfferPriceLimitType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOrderNumType:ί<>к<EFBFBD><D0BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCOrderNumType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCRatioType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCRatioType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCPremiumType:Ȩ<><C8A8><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCPremiumType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCMarketValueType:<3A><>Ȩ<EFBFBD><C8A8>ֵ
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCMarketValueType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCTimeType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCTimeType[256];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAbiPolicyCodeType: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCAbiPolicyCodeType[8];
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP "SP"
|
|||
|
///<2F><><EFBFBD>ȿ<EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_SPC "SPC"
|
|||
|
///ѹե<D1B9><D5A5><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_SPX "SPX"
|
|||
|
///Call Spread
|
|||
|
#define DFITC_SP_CALL "CSPR"
|
|||
|
///Put Spread
|
|||
|
#define DFITC_SP_PUT "PSPR"
|
|||
|
///Combo
|
|||
|
#define DFITC_SP_COMBO "COMBO"
|
|||
|
///Straddle
|
|||
|
#define DFITC_SP_STRADDLE "STD"
|
|||
|
///Strangle
|
|||
|
#define DFITC_SP_STRANGLE "STG"
|
|||
|
///Guts
|
|||
|
#define DFITC_SP_GUTS "GUTS"
|
|||
|
///Synthetic Underlying
|
|||
|
#define DFITC_SP_SYNUND "SYN"
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOrderPropertyType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCOrderPropertyType;
|
|||
|
///<2F><EFBFBD><DEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_NON '0'
|
|||
|
///FAK<41><4B><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_FAK '1'
|
|||
|
///FOK<4F><4B><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_FOK '2'
|
|||
|
///<2F>м<EFBFBD><D0BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_ANYPRICE '3'
|
|||
|
///<2F>м<EFBFBD><D0BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_ANYPRICE_TO_MKORDER '4'
|
|||
|
///<2F>嵵<EFBFBD>м<EFBFBD>
|
|||
|
#define DFITC_SP_FIVELEVELPRICE '5'
|
|||
|
///<2F>嵵<EFBFBD>м<EFBFBD>ת<EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_FIVELEVELPRICE_TO_LIMIT '6'
|
|||
|
///<2F><><EFBFBD>ż<EFBFBD>
|
|||
|
#define DFITC_SP_BESTPRICE '7'
|
|||
|
///<2F><><EFBFBD>ż<EFBFBD>ת<EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SP_BESTPRICE_TO_LIMIT '8'
|
|||
|
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInsertType:ί<><CEAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCInsertType;
|
|||
|
///<2F><>ͨί<CDA8>е<EFBFBD>
|
|||
|
#define DFITC_BASIC_ORDER 0x0001
|
|||
|
///<2F>Զ<EFBFBD><D4B6><EFBFBD>
|
|||
|
#define DFITC_AUTO_ORDER 0x0002
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCOptionTypeType:<3A><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCOptionTypeType;
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_OPT_CALL 1
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_OPT_PUT 2
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentTypeType:<3A><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCInstrumentTypeType;
|
|||
|
///<2F>ڻ<EFBFBD>
|
|||
|
#define DFITC_COMM_TYPE 0
|
|||
|
///<2F><>Ȩ
|
|||
|
#define DFITC_OPT_TYPE 1
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCancelTypeType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCCancelTypeType;
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_ORDER_BOOK 'O'
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_ORDER_CANCEL 'W'
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCContentType:<3A><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCContentType[501];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentStatusType:<3A><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCInstrumentStatusType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstStatusEnterReasonType:<3A><><EFBFBD>뱾״̬ԭ<CCAC><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCInstStatusEnterReasonType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCurrencyType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCCurrencyType[4];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCConfirmType:ȷ<>ϱ<EFBFBD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCConfirmMarkType;
|
|||
|
///ȷ<><C8B7>
|
|||
|
#define DFITC_CON_CONFIRM 2
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCStanAddrType:<3A><><EFBFBD>õ<EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCStanAddrType[16];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCapControlModeType:<3A>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>Ʒ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCCapControlModeType;
|
|||
|
///<2F><><EFBFBD><EFBFBD>ӯ<EFBFBD><D3AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_PPL_USABLE 2
|
|||
|
///ƽ<><C6BD><EFBFBD>ʽ<EFBFBD>T+1<><31><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_OF_USABLEFUND 4
|
|||
|
///ƽ<>ֱ<EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD>ȡ
|
|||
|
#define DFITC_OF_FETCHABLEMARGIN 8
|
|||
|
///<2F><><EFBFBD><EFBFBD>ӯ<EFBFBD><D3AF><EFBFBD><EFBFBD>ȡ
|
|||
|
#define DFITC_AG_FETCHBLETODAY 16
|
|||
|
///ȡ<><C8A1>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_INTEREST_ 32
|
|||
|
///ƽ<><C6BD>ӯ<EFBFBD><D3AF><EFBFBD><EFBFBD>ȡ
|
|||
|
#define DFITC_OF_FETCHABLE 128
|
|||
|
///Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ
|
|||
|
#define DFITC_PREMIUMOPTION_FETCHBLE 256
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCArchRatioType:ת<><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCArchRatioType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSettlementBillTradeType:<3A><><EFBFBD>ܱ<EFBFBD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCSettlementBillTradeType;
|
|||
|
///<2F><><EFBFBD>ܳɽ<DCB3><C9BD><EFBFBD>ϸ
|
|||
|
#define DFITC_MATCHDETAIL 2
|
|||
|
///<2F><><EFBFBD>ֲܳ<DCB3>ӯ<EFBFBD><D3AF>
|
|||
|
#define DFITC_OPGAL 4
|
|||
|
///<2F><><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ӯ<EFBFBD><D3AF>
|
|||
|
#define DFITC_OFGAL 8
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCFilesFlagType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCFilesFlagType;
|
|||
|
///<2F>ɽ<EFBFBD><C9BD><EFBFBD>ϸ<EFBFBD><CFB8>ӡ
|
|||
|
#define DFITC_PRINT_MATCHDETAIL 4
|
|||
|
///<2F>ֲ<EFBFBD>ӯ<EFBFBD><D3AF><EFBFBD><EFBFBD>ӡ
|
|||
|
#define DFITC_PRINT_OPGAL 8
|
|||
|
///ƽ<><C6BD>ӯ<EFBFBD><D3AF><EFBFBD><EFBFBD>ӡ
|
|||
|
#define DFITC_PRINT_OFGAL 16
|
|||
|
///<2F>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ
|
|||
|
#define DFITC_PRINT_ACCESSFUNDS 32
|
|||
|
///<><D7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ
|
|||
|
#define DFITC_PRINT_ADDMARGIN 64
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSoftwareVendorIDType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>̱<EFBFBD><CCB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCSoftwareVendorIDType[33];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCProductOnlineCountType:<3A><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCProductOnlineCountType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCBrokerInfoType:<3A>ڻ<EFBFBD><DABB><EFBFBD>˾<EFBFBD><CBBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCBrokerInfoType[20];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCProductIDType:<3A><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCProductIDType[33];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCRequestIDType:<3A><><EFBFBD><EFBFBD>ID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef long DFITCRequestIDType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCustomCategoryType:<3A>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCCustomCategoryType[32];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCReservedType:Ԥ<><D4A4><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCReservedType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCNoticeType:<3A><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCNoticeType;
|
|||
|
///ϵͳ<CFB5>㲥
|
|||
|
#define DFITC_SYS_BROADCAST_MSG 1
|
|||
|
///ָ<><D6B8><EFBFBD>ͻ<EFBFBD>
|
|||
|
#define DFITC_ACCOUNT_ID_MSG 2
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCTradingSegmentSNType:<3A><><EFBFBD>α<D7B6><CEB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCTradingSegmentSNType;
|
|||
|
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCExtOrderType:<3A>㷨<EFBFBD><E3B7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef int DFITCExtOrderType;
|
|||
|
|
|||
|
///Ԥ<><D4A4><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_YMORDER 1
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_TJORDER 2
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_KQTLDD 3
|
|||
|
///<2F><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_KPZTLDD 4
|
|||
|
///<2F><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_DSTLDD 5
|
|||
|
///<2F>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>ݲ<EFBFBD>֧<EFBFBD><D6A7>)
|
|||
|
#define DFITC_ZDYTLDD 6
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCTriggerTime:<3A><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef char DFITCTriggerTime[10];
|
|||
|
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCPriceReference:<3A>۸<EFBFBD><DBB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef int DFITCPriceReference;
|
|||
|
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>
|
|||
|
#define DFITC_REF_LASTPRICE 0
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>
|
|||
|
#define DFITC_REF_BIDPRICE 1
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_REF_ASKPRICE 2
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCCompareFlag:<3A>Ƚϱ<C8BD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef int DFITCCompareFlag;
|
|||
|
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_CF_GREATER 0
|
|||
|
///<2F><><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>
|
|||
|
#define DFITC_CF_NOTLESS 1
|
|||
|
///С<><D0A1>
|
|||
|
#define DFITC_CF_LESS 2
|
|||
|
///С<>ڵ<EFBFBD><DAB5><EFBFBD>
|
|||
|
#define DFITC_CF_NOTGREATER 3
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCOvernightFlag:<3A><>ҹ<EFBFBD><D2B9>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef int DFITCOvernightFlag;
|
|||
|
|
|||
|
///<2F><>ҹ
|
|||
|
#define DFITC_OVERNIGHT 1
|
|||
|
///<2F><><EFBFBD><EFBFBD>ҹ
|
|||
|
#define DFITC_NOT_OVERNIGHT 2
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCArbitragePrice:<3A><><EFBFBD><EFBFBD><EFBFBD>۸<EFBFBD><DBB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef double DFITCArbitragePrice;
|
|||
|
|
|||
|
|
|||
|
//////////////////////////////////////////////
|
|||
|
///DFITCExtTriggerCond:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//////////////////////////////////////////////
|
|||
|
typedef int DFITCExtTriggerCond;
|
|||
|
|
|||
|
///<2F>۸<DBB8>
|
|||
|
#define DFITC_TRIGGER_PRICE 0
|
|||
|
///ʱ<>䴥<EFBFBD><E4B4A5>
|
|||
|
#define DFITC_TRIGGER_TIME 1
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumentMaturityType:<3A><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCInstrumentMaturityType[12];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCInstrumenExpirationDateType:<3A><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCInstrumenExpirationDateType[12];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCAdjustmentInfoType:<3A><><EFBFBD>ϻ<EFBFBD><CFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|||
|
///<2F><>ʽ:[<5B><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־,Ͷ<><CDB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;]
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCAdjustmentInfoType[64];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCQuoteIDType:ѯ<>۱<EFBFBD><DBB1><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCQuoteIDType[33];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSourceType:<3A><>Դ
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef short DFITCSourceType;
|
|||
|
|
|||
|
///<2F><>Ա
|
|||
|
#define DFITC_SOURCE_MEMBER 0
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_SOURCE_EXCHANGE 1
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCSeatCodeType:ϯλ<CFAF><CEBB><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCSeatCodeType[33];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCCloseIDType:ƽ<><C6BD>ִ<EFBFBD>е<EFBFBD><D0B5><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCCloseIDType[33];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCEntrusTellerType:ί<>й<EFBFBD>Ա
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCEntrusTellerType[41];
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCStayTimeType<70><65>ͣ<EFBFBD><CDA3>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCStayTimeType;
|
|||
|
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCComputeModeType<70><65><EFBFBD><EFBFBD><EFBFBD>㷽ʽ<E3B7BD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCComputeModeType;
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_ABSOLUTE_VALUE_COMPUTE 0
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_MARGIN_BASIS_FLOAT 1
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>
|
|||
|
#define DFITC_EXCHANGE_MARGIN_RESULT_FLOAT 2
|
|||
|
///<2F>ڻ<EFBFBD><DABB><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>
|
|||
|
#define DFITC_FUTURES_MARGIN_BASIS_FLOAT 3
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCPriceNoteType:<3A><>Ȩ<EFBFBD><C8A8>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD>㷽ʽ
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCPriceNoteType;
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ۼ<EFBFBD><DBBC><EFBFBD>
|
|||
|
#define DFITC_CALC_BY_PRESETTLEMENT 1
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼ۼ<C2BC><DBBC><EFBFBD>
|
|||
|
#define DFITC_CALC_BY_LASTPRICE 2
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCLargeMarginDirectType:<3A><><EFBFBD>߱<EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCLargeMarginDirectType[128];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCBankIDType:<3A><><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCBankIDType[8];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCBankNameType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCBankNameType[101];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCBankSerialType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD><CBAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCBankSerialType[13];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCSerialType:<3A><>ˮ<EFBFBD><CBAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCSerialType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCBankAccountType:<3A><><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCBankAccountType[41];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCFutureSerialType:<3A>ڻ<EFBFBD><DABB><EFBFBD>˾<EFBFBD><CBBE>ˮ<EFBFBD><CBAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCFutureSerialType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCDigestType:ժҪ<D5AA><D2AA><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCDigestType[36];
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCBankAccTypeType<70><65>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʺ<EFBFBD><CABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///<2F><><EFBFBD>д<EFBFBD><D0B4><EFBFBD>
|
|||
|
#define DFITC_BAT_BankBook '1'
|
|||
|
///<2F><><EFBFBD>
|
|||
|
#define DFITC_BAT_SavingCard '2'
|
|||
|
///<2F><><EFBFBD>ÿ<EFBFBD>
|
|||
|
#define DFITC_BAT_CreditCard '3'
|
|||
|
typedef char DFITCBankAccTypeType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCTransferStatusType:ת<>˽<EFBFBD><CBBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_TRFS_Normal '0'
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_TRFS_Repealed '1'
|
|||
|
typedef char DFITCTransferStatusType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCTransferType:<3A><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCTransferType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCTransferType:<3A><><EFBFBD><EFBFBD>ת<EFBFBD>˴<EFBFBD><CBB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCProcResultType;
|
|||
|
///<2F>ɹ<EFBFBD>
|
|||
|
#define DFITC_PROC_SUCCESS 0
|
|||
|
///ʧ<><CAA7>
|
|||
|
#define DFITC_PROC_FAIL 1
|
|||
|
///<2F>ȴ<EFBFBD><C8B4><EFBFBD>ִ
|
|||
|
#define DFITC_PROC_WAIT_RTN 2
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCApplyNumberType:<3A><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCApplyNumberType;
|
|||
|
|
|||
|
|
|||
|
//********************<2A><>չ<EFBFBD><D5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>**********************
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCImpliedVolatilityType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCImpliedVolatilityType;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCOptionComputationType:<3A><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef double DFITCOptionComputationType;
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCFunctionIDType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><D5B9><EFBFBD>ܺ<EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCFunctionIDType[16];
|
|||
|
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
///DFITCExtMarketDataType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><D5B9><EFBFBD>ܺ<EFBFBD>
|
|||
|
////////////////////////////////////////////////////////////
|
|||
|
typedef char DFITCExtMarketDataType[128];
|
|||
|
|
|||
|
//********************<2A><>չ<EFBFBD><D5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>**********************
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCExchangeStatusType:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCExchangeStatusType;
|
|||
|
///<2F><><EFBFBD><EFBFBD>ǰ
|
|||
|
#define DFITC_IS_BEFORETRADING 0
|
|||
|
///<2F>ǽ<EFBFBD><C7BD><EFBFBD>
|
|||
|
#define DFITC_IS_NOTRADING 1
|
|||
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_IS_CONTINOUS 2
|
|||
|
///<2F><><EFBFBD>Ͼ<EFBFBD><CFBE>۱<EFBFBD><DBB1><EFBFBD>
|
|||
|
#define DFITC_IS_AUCTIONORDERING 3
|
|||
|
///<2F><><EFBFBD>Ͼ<EFBFBD><CFBE>ۼ۸<DBBC>ƽ<EFBFBD><C6BD>
|
|||
|
#define DFITC_IS_AUCTIONBALANCE 4
|
|||
|
///<2F><><EFBFBD>Ͼ<EFBFBD><CFBE>۴<EFBFBD><DBB4><EFBFBD>
|
|||
|
#define DFITC_IS_AUCTIONMATCH 5
|
|||
|
///<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_IS_CLOSED 6
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
///DFITCPositionDateType:<3A>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
/////////////////////////////////////////////////////////////////////////
|
|||
|
typedef int DFITCPositionDateType;
|
|||
|
//<2F><><EFBFBD><EFBFBD>
|
|||
|
#define DFITC_PSD_TODAY 1
|
|||
|
//<2F><>ʷ<EFBFBD><CAB7>
|
|||
|
#define DFITC_PSD_HISTORY 2
|
|||
|
|
|||
|
|
|||
|
#endif//DFITCAPIDATATYPE_H
|