///触发条件
TThostFtdcContingentConditionType ContingentCondition;
///立即
#define THOST_FTDC_CC_Immediately ‘1’
///止损
#define THOST_FTDC_CC_Touch ‘2’
///止赢
#define THOST_FTDC_CC_TouchProfit ‘3’
///预埋单
#define THOST_FTDC_CC_ParkedOrder ‘4’
///最新价大于条件价
#define THOST_FTDC_CC_LastPriceGreaterThanStopPrice ‘5’
///最新价大于等于条件价
#define THOST_FTDC_CC_LastPriceGreaterEqualStopPrice ‘6’
///最新价小于条件价
#define THOST_FTDC_CC_LastPriceLesserThanStopPrice ‘7’
///最新价小于等于条件价
#define THOST_FTDC_CC_LastPriceLesserEqualStopPrice ‘8’
///卖一价大于条件价
#define THOST_FTDC_CC_AskPriceGreaterThanStopPrice ‘9’
///卖一价大于等于条件价
#define THOST_FTDC_CC_AskPriceGreaterEqualStopPrice ‘A’
///卖一价小于条件价
#define THOST_FTDC_CC_AskPriceLesserThanStopPrice ‘B’
///卖一价小于等于条件价
#define THOST_FTDC_CC_AskPriceLesserEqualStopPrice ‘C’
///买一价大于条件价
#define THOST_FTDC_CC_BidPriceGreaterThanStopPrice ‘D’
///买一价大于等于条件价
#define THOST_FTDC_CC_BidPriceGreaterEqualStopPrice ‘E’
///买一价小于条件价
#define THOST_FTDC_CC_BidPriceLesserThanStopPrice ‘F’
///买一价小于等于条件价
#define THOST_FTDC_CC_BidPriceLesserEqualStopPrice ‘H’
使用tqsdk前可以先看看文档的“十分钟快速入门”板块,链接:https://doc.shinnytech.com/tqsdk/latest/quickstart.html#
及简单示例程序,链接:https://doc.shinnytech.com/tqsdk/latest/demo/index.html#id2