Versions in this module Expand all Collapse all v1 v1.0.1 Feb 16, 2021 Changes in this version + type Account struct + AccountName string + Created int64 + CreatedT time.Time + ShortName string + Type string + type AccountDetail struct + Account Account + Memo_Reference_Code string + Users []Users + type Api struct + func New(live bool, key, secret string) *Api + func (api *Api) AccountDetail() (AccountDetail, error) + func (api *Api) ActiveOrders() ([]Order, error) + func (api *Api) AuctionHistory(symbol string, args Args) ([]Auction, error) + func (api *Api) Balances() ([]FundBalance, error) + func (api *Api) CancelAll() (CancelResult, error) + func (api *Api) CancelOrder(orderId string) (Order, error) + func (api *Api) CancelSession() (CancelResult, error) + func (api *Api) CurrentAuction(symbol string) (CurrentAuction, error) + func (api *Api) DepositAddresses(currency string) ([]DepositAddresses, error) + func (api *Api) Heartbeat() (GenericResponse, error) + func (api *Api) NewDepositAddress(currency, label string) (NewDepositAddress, error) + func (api *Api) NewOrder(symbol, clientOrderId string, amount, price float64, side string, ...) (Order, error) + func (api *Api) OrderBook(symbol string, args Args) (Book, error) + func (api *Api) OrderStatus(orderId string) (Order, error) + func (api *Api) PastTrades(symbol string, args Args) ([]PastTrade, error) + func (api *Api) Symbols() ([]string, error) + func (api *Api) TickerV1(symbol string) (TickerV1, error) + func (api *Api) TickerV2(symbol string) (TickerV2, error) + func (api *Api) TradeVolume() ([][]TradeVolume, error) + func (api *Api) Trades(symbol string, args Args) ([]Trade, error) + func (api *Api) Transfers(args Args) ([]Transfer, error) + func (api *Api) WithdrawFunds(currency, address string, amount float64) (WithdrawFundsResult, error) + type Args map[string]interface + type Auction struct + AuctionId int64 + AuctionPrice float64 + AuctionQuantity float64 + AuctionResult string + CollarPrice float64 + Eid int64 + EventType string + HighestBidPrice float64 + LowestAskPrice float64 + Timestampms int64 + TimestampmsT time.Time + type Book struct + Asks BookEntries + Bids BookEntries + type BookEntries []BookEntry + type BookEntry struct + Amount float64 + Price float64 + type CancelResult struct + Details CancelResultDetails + Result string + type CancelResultDetails struct + CancelRejects []float64 + CancelledOrders []float64 + type CurrentAuction struct + ClosedUntil int64 + LastAuctionEid int64 + LastAuctionPrice float64 + LastAuctionQuantity float64 + LastCollarPrice float64 + LastHighestBidPrice float64 + LastLowestAskPrice float64 + MostRecentCollarPrice float64 + MostRecentHighestBidPrice float64 + MostRecentIndicativePrice float64 + MostRecentIndicativeQuantity float64 + MostRecentLowestAskPrice float64 + NextAuction int64 + NextAuctionT time.Time + NextUpdate int64 + NextUpdateT time.Time + type DepositAddresses struct + Address string + Label string + Timestamp int64 + TimestampmsT time.Time + type FundBalance struct + Amount float64 + Available float64 + AvailableForWithdrawal float64 + Currency string + Type string + type GenericResponse struct + Result string + type NewDepositAddress struct + Address string + Label string + Request string + type Order struct + AvgExecutionPrice float64 + ClientOrderId string + Exchange string + ExecutedAmount float64 + IsCancelled bool + IsHidden bool + IsLive bool + Options []string + OrderId string + OriginalAmount float64 + Price float64 + Reason string + RemainingAmount float64 + Side string + Symbol string + Timestampms int64 + TimestampmsT time.Time + Type string + WasForced bool + type PastTrade struct + Aggressor bool + Amount float64 + Break string + Client_Order_Id string + Exchange string + FeeAmount float64 + FeeCurrency string + IsAuctionFill bool + OrderId string + Price float64 + Timestamp int64 + Timestampms int64 + TimestampmsT time.Time + TradeId int64 + Type string + type TickerV1 struct + Ask float64 + Bid float64 + Last float64 + Volume TickerV1Volume + type TickerV1Volume struct + BTC float64 + ETH float64 + Timestamp int64 + USD float64 + type TickerV2 struct + Ask float64 + Bid float64 + Changes []string + Close float64 + High float64 + Low float64 + Open float64 + Symbol string + type Trade struct + Amount float64 + Broken bool + Exchange string + Price float64 + Timestamp int64 + Timestampms int64 + TimestampmsT time.Time + TradeId int64 + Type string + type TradeVolume struct + BaseCurrency string + BuyMakerBase float64 + BuyMakerCount float64 + BuyMakerNotional float64 + BuyTakerBase float64 + BuyTakerCount float64 + BuyTakerNotional float64 + DataDate string + MakeBuySellRatio float64 + NotionalCurrency string + SellMakerBase float64 + SellMakerCount float64 + SellMakerNotional float64 + SellTakerBase float64 + SellTakerCount float64 + SellTakerNotional float64 + Symbol string + TotalVolumeBase float64 + type Transfer struct + AdvancedEid int64 + Amount float64 + Currency string + Destination string + Eid int64 + Method string + OutputIdx float64 + Purpose string + Status string + Timestampms int64 + TimestampmsT time.Time + TxHash string + Type string + type Users struct + CountryCode string + IsVerified bool + LastSignIn time.Time + Name string + Status string + type WithdrawFundsResult struct + Address string + Amount string + Message string + TxHash string + WithdrawalID string