Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountDetail ¶
type AccountDetail struct {
TotalAsset float64 `name:"总金额" json:"total_asset"`
Cash float64 `name:"可用" json:"cash"`
MarketValue float64 `name:"市值" json:"market_value"`
FrozenCash float64 `name:"冻结" json:"frozen_cash"`
}
AccountDetail 账户信息
type OrderDetail ¶
type OrderDetail struct {
StockCode string `json:"stock_code"`
OrderVolume int `json:"order_volume"`
TradedVolume int `json:"traded_volume"`
Price float64 `json:"price"`
OrderType int `json:"order_type"`
OrderStatus int `json:"order_status"`
OrderId int `json:"order_id"`
OrderSysid string `json:"order_sysid"`
OrderTime string `json:"order_time"`
}
OrderDetail 委托订单
type OrderResult ¶
type OrderResult struct {
ProxyResult
OrderId int `json:"order_id"`
}
OrderResult 结果
type PositionDetail ¶
type PositionDetail struct {
StockCode string `name:"证券代码" json:"stock_code"`
Volume int `name:"持仓量" json:"volume"`
CanUseVolume int `name:"可卖" json:"can_use_volume"`
OpenPrice float64 `name:"成本价" json:"open_price"`
MarketValue float64 `name:"市值" json:"market_value"`
}
PositionDetail 持仓信息
type ProxyResult ¶
Click to show internal directories.
Click to hide internal directories.