Skip to main content

Module orders

Module orders 

Source
Expand description

mcp/handlers/trade/orders — OrderOut + DealOut + MaxQtys + OrderFee + HistoryOrder (orders/deals/max_qtys/order_fee/history_orders) (v1.4.110 CC Batch O: 拆自 trade.rs L538-786)

Structs§

DealOut 🔒
HistoryOrderOut 🔒
HistoryQueryInput
查历史订单。begin_time / end_time"yyyy-MM-dd HH:mm:ss" 格式, 为 None 时服务端默认返回近期。code_list 空 = 不过滤股票。
MaxQtysOut 🔒
MaxTrdQtysInput
下单前查“最大可买 / 可卖 / 卖空 / 买回“。
OrderFeeItemOut 🔒
OrderFeeOut 🔒
OrderOut 🔒

Functions§

get_deals
get_history_orders
get_max_trd_qtys
get_order_fee
按扩展订单号 (order_id_ex) 查费用明细。
get_orders