Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceHistory ¶
type BalanceHistory struct { ID int `json:"id"` TradeDate time.BitFlyerTime `json:"trade_date"` ProductCode types.ProductCode `json:"product_code"` CurrencyCode string `json:"currency_code"` TradeType TradeType `json:"trade_type"` Price float64 `json:"price"` Amount float64 `json:"amount"` Quantity float64 `json:"quantity"` Commission int `json:"commission"` Balance float64 `json:"balance"` OrderID string `json:"order_id"` }
type Request ¶
type Request struct { CurrencyCode types.CurrencyCode `url:"currency_code"` Count int `url:"count,omitempty"` Before int `url:"before,omitempty"` After int `url:"after,omitempty"` }
type Response ¶
type Response []BalanceHistory
type TradeType ¶
type TradeType string
const ( Buy TradeType = "BUY" // 買い Sell TradeType = "SELL" // 売り Deposit TradeType = "DEPOSIT" // 入金・仮想通貨の預入 Withdraw TradeType = "WITHDRAW" // 出金・仮想通貨の外部送付 Fee TradeType = "FEE" // 手数料 PostColl TradeType = "POST_COL" // 証拠金の預入 CancelColl TradeType = "CANCEL_COLL" // 証拠金の引出 Payment TradeType = "PAYMENT" // ビットコイン決済による仮想通貨の移転 Transfer TradeType = "TRANSFER" // その他の一般的な資金移動 )
Click to show internal directories.
Click to hide internal directories.