量化交易-彻悟科技

量化交易-彻悟科技


(废弃)根据操作类型获取消息参数

<p><strong>简要描述:</strong> </p> <ul> <li>(废弃)根据操作类型获取消息参数</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li>URL:<code>/ruleEngine/ruleOperate/getMsgParamList</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST 表单</li> </ul> <p><strong> 请求参数:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">operateType</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>操作类型</td> <td>PLACE_ORDER_MSG: 下单消息、MODEL_RESULT_MSG:模型结果消息、MODIFY_PRODUCT_PARAM_MSG:修改产品消息,ON_OFF_TIMER_MSG:启停定时器消息</td> </tr> </tbody> </table> <p><strong>响应示例:</strong></p> <pre><code>{ "msg": "获取成功", "code": 0, "data": [ { "itemCode": "businessType", // 参数值,如果itemCode = 'OPERATE_TYPE_MODIFY' 时按照字段选择方式绘制,否则用itemName绘制 "itemValue": "修改类操作" // 参数名 }, { "itemCode": "action", "itemValue": "买卖方向[BUY:买、SELL:卖]" }, { "itemCode": "tif", "itemValue": "订单有效期类型[DAY:当天有效、GTD:指定时间内有效、GTC:取消前有效]" }, { "itemCode": "type", "itemValue": "订单类型[LMT:限价,MKT:市价]" }, { "itemCode": "operateType", "itemValue": "操作类型" }, { "itemCode": "lmtPrice", "itemValue": "下单价格" }, { "itemCode": "quantity", "itemValue": "下单数量 " } ] }</code></pre>

页面列表

ITEM_HTML