新股申购接口

新股申购接口

/api/v1.0/order

请求方式:GET

参数 必填 类型 描述
account Y string 交易账号
action Y string 下单类型 ipo=新股申购
code Y string 股票代码 纯数字
price Y string 买入价格
amount Y string 买入股数

请求实列:

http://127.0.0.1:9999/api/v1.0/order?account=12002211111&action=ipo&code=000061&price=2.68&amount=100

返回数据:


{
    "msg": "您的买入委托已成功提交,合同编号:1。",
    "code": "0",
    "success": "1",
    "id": "1"
}
?>