Skip to content

Latest commit

 

History

History
executable file
·
42 lines (21 loc) · 358 Bytes

trade.md

File metadata and controls

executable file
·
42 lines (21 loc) · 358 Bytes

  1. 用户验证

/trade/sign?username=xxxx&password=xxxx&...

get: 登入

post: 注册

delete: 登出

  1. 查询持仓

/trade/positions?

  1. 查询委托单

/trade/order?orderid=xxx&&username=xxxx

查询未成交/已成交/已撤单

  1. 买入/卖出

/trade/insert

params:

code: str amount: str price : str towards: str market

post

delete