Versions in this module Expand all Collapse all v0 v0.1.4 Sep 22, 2020 v0.1.3 Sep 22, 2020 v0.1.2 Sep 21, 2020 v0.1.1 Sep 21, 2020 v0.1.0 Sep 21, 2020 v0.0.9 Sep 21, 2020 v0.0.8 Sep 21, 2020 v0.0.7 Sep 21, 2020 v0.0.6 Sep 21, 2020 v0.0.5 Sep 21, 2020 Changes in this version + type AccountBalance struct + Amount float64 + Available float64 + CurrencyCode string + type BankAccount struct + AccountName string + AccountNumber int + AccountType string + BankName string + BranchName string + ID int64 + IsVerified bool + type Bitflyer struct + func (b *Bitflyer) CancelAllExistingOrders() + func (b *Bitflyer) CancelAllOrders(_ *order.Cancel) (order.CancelAllResponse, error) + func (b *Bitflyer) CancelExistingOrder() + func (b *Bitflyer) CancelOrder(order *order.Cancel) error + func (b *Bitflyer) CancelParentOrder() + func (b *Bitflyer) CheckFXString(p currency.Pair) currency.Pair + func (b *Bitflyer) FetchAccountInfo() (account.Holdings, error) + func (b *Bitflyer) FetchOrderbook(p currency.Pair, assetType asset.Item) (*orderbook.Base, error) + func (b *Bitflyer) FetchTicker(p currency.Pair, assetType asset.Item) (*ticker.Price, error) + func (b *Bitflyer) FetchTradablePairs(assetType asset.Item) ([]string, error) + func (b *Bitflyer) GetAccountBalance() + func (b *Bitflyer) GetActiveOrders(getOrdersRequest *order.GetOrdersRequest) ([]order.Detail, error) + func (b *Bitflyer) GetAddressInfoCA(addressln string) (ChainAnalysisAddress, error) + func (b *Bitflyer) GetAllOrders() + func (b *Bitflyer) GetBankAccSummary() + func (b *Bitflyer) GetBlockCA(blockhash string) (ChainAnalysisBlock, error) + func (b *Bitflyer) GetBlockbyHeightCA(height int64) (ChainAnalysisBlock, error) + func (b *Bitflyer) GetCashDeposits() + func (b *Bitflyer) GetChats(fromDate string) ([]ChatLog, error) + func (b *Bitflyer) GetCollateralAccounts() + func (b *Bitflyer) GetCryptoDepositAddress() + func (b *Bitflyer) GetDefaultConfig() (*config.ExchangeConfig, error) + func (b *Bitflyer) GetDepositAddress(cryptocurrency currency.Code, accountID string) (string, error) + func (b *Bitflyer) GetDepositCancellationHistory() + func (b *Bitflyer) GetDepositHistory() + func (b *Bitflyer) GetExchangeHistory(p currency.Pair, assetType asset.Item, timestampStart, timestampEnd time.Time) ([]exchange.TradeHistory, error) + func (b *Bitflyer) GetExchangeStatus() (string, error) + func (b *Bitflyer) GetExecutionHistory(symbol string) ([]ExecutedTrade, error) + func (b *Bitflyer) GetExecutions() + func (b *Bitflyer) GetFee(feeBuilder *exchange.FeeBuilder) (float64, error) + func (b *Bitflyer) GetFeeByType(feeBuilder *exchange.FeeBuilder) (float64, error) + func (b *Bitflyer) GetFundingHistory() ([]exchange.FundHistory, error) + func (b *Bitflyer) GetHistoricCandles(pair currency.Pair, a asset.Item, start, end time.Time, ...) (kline.Item, error) + func (b *Bitflyer) GetHistoricCandlesExtended(pair currency.Pair, a asset.Item, start, end time.Time, ...) (kline.Item, error) + func (b *Bitflyer) GetLatestBlockCA() (ChainAnalysisBlock, error) + func (b *Bitflyer) GetMarginChange() + func (b *Bitflyer) GetMarginStatus() + func (b *Bitflyer) GetMarkets() ([]MarketInfo, error) + func (b *Bitflyer) GetOpenInterest() + func (b *Bitflyer) GetOrderBook(symbol string) (Orderbook, error) + func (b *Bitflyer) GetOrderHistory(getOrdersRequest *order.GetOrdersRequest) ([]order.Detail, error) + func (b *Bitflyer) GetOrderHistoryById(getOrdersRequest string) ([]order.Detail, error) + func (b *Bitflyer) GetOrderInfo(orderID string) (order.Detail, error) + func (b *Bitflyer) GetParentOrderDetails() + func (b *Bitflyer) GetParentOrders() + func (b *Bitflyer) GetPermissions() + func (b *Bitflyer) GetTicker(symbol string) (Ticker, error) + func (b *Bitflyer) GetTradingCommission() + func (b *Bitflyer) GetTransactionByHashCA(txHash string) (ChainAnalysisTransaction, error) + func (b *Bitflyer) GetTransactionHistory() + func (b *Bitflyer) ModifyOrder(action *order.Modify) (string, error) + func (b *Bitflyer) Run() + func (b *Bitflyer) SendAuthHTTPRequest() + func (b *Bitflyer) SendHTTPRequest(path string, result interface{}) error + func (b *Bitflyer) SendOrder() + func (b *Bitflyer) SendParentOrder() + func (b *Bitflyer) SetDefaults() + func (b *Bitflyer) Setup(exch *config.ExchangeConfig) error + func (b *Bitflyer) Start(wg *sync.WaitGroup) + func (b *Bitflyer) SubmitOrder(s *order.Submit) (order.SubmitResponse, error) + func (b *Bitflyer) UpdateAccountInfo() (account.Holdings, error) + func (b *Bitflyer) UpdateOrderbook(p currency.Pair, assetType asset.Item) (*orderbook.Base, error) + func (b *Bitflyer) UpdateTicker(p currency.Pair, assetType asset.Item) (*ticker.Price, error) + func (b *Bitflyer) UpdateTradablePairs(forceUpdate bool) error + func (b *Bitflyer) ValidateCredentials() error + func (b *Bitflyer) WithdrawCryptocurrencyFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error) + func (b *Bitflyer) WithdrawFiatFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error) + func (b *Bitflyer) WithdrawFiatFundsToInternationalBank(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error) + func (b *Bitflyer) WithdrawFunds() + type CancellationHistory struct + Amount float64 + CurrencyCode string + EventDate string + ID int64 + OrderID string + Status string + type CashDeposit struct + Amount float64 + CurrencyCode string + EventDate string + ID int64 + OrderID string + Status string + type ChainAnalysisAddress struct + Address string + ConfirmedBalance float64 + UnconfirmedBalance float64 + type ChainAnalysisBlock struct + Bits int64 + BlockHash string + Height int64 + IsMain bool + MerkleRoot string + Nonce int64 + PreviousBlock string + Timestamp string + TotalFees float64 + TxHashes []string + TxNum int64 + Version float64 + type ChainAnalysisTransaction struct + BlockHeight int64 + Confirmations int64 + Fees float64 + Inputs []struct{ ... } + LockTime int64 + Outputs []struct{ ... } + ReceivedDate string + Size int64 + TxHash string + Version float64 + type ChatLog struct + Date string + Message string + Nickname string + type CollateralAccounts struct + Amount float64 + CurrencyCode string + type CollateralHistory struct + Amount float64 + Change float64 + CurrencyCode string + Date string + ID int64 + Reason string + type DepositAddress struct + Address string + CurrencyCode string + Type string + type DepositHistory struct + Address string + Amount float64 + CurrencyCode string + EventDate string + ID int64 + OrderID int64 + Status string + TXHash string + type ExecutedTrade struct + BuyAcceptedID string + ExecDate string + ID int64 + Price float64 + SellAcceptedID string + Side string + Size float64 + type Executions struct + ChildOrderAcceptanceID string + ChildOrderID string + Commission float64 + ExecDate string + ID int64 + Price float64 + Side string + Size float64 + type MarginStatus struct + Collateral float64 + KeepRate float64 + OpenPosPNL float64 + RequiredCollateral float64 + type MarketInfo struct + Alias string + ProductCode string + type NewOrder struct + ChildOrderType string + MinuteToExpire float64 + Price float64 + ProductCode string + Side string + Size float64 + TimeInForce string + type OpenInterest struct + Commission float64 + Leverage float64 + OpenDate string + PNL float64 + Price float64 + ProductCode string + RequiredCollateral float64 + Side string + Size float64 + SwapPointAccumulate float64 + type Orderbook struct + Asks []struct{ ... } + Bids []struct{ ... } + MidPrice float64 + type Orders struct + AveragePrice float64 + CancelSize float64 + ChildOrderAcceptanceID string + ChildOrderDate string + ChildOrderID string + ChildOrderState string + ChildOrderType string + ExecutedSize float64 + ExpireDate string + ID int64 + OutstandingSize float64 + Price float64 + ProductCode string + Side string + Size float64 + TotalCommission float64 + type ParentOrderDetail struct + ID int64 + MinutesToExpire float64 + OrderMethod string + Parameters []struct{ ... } + ParentOrderID string + type ParentOrders struct + AveragePrice float64 + CancelSize float64 + ExecutedSize float64 + ExpireDate string + ID int64 + OutstandingSize float64 + ParentOrderAcceptanceID string + ParentOrderDate string + ParentOrderID string + ParentOrderState string + ParentOrderType string + Price float64 + ProductCode string + Side string + Size float64 + TotalCommission float64 + type RateLimit struct + Auth *rate.Limiter + LowVolume *rate.Limiter + Order *rate.Limiter + UnAuth *rate.Limiter + func SetRateLimit() *RateLimit + func (r *RateLimit) Limit(f request.EndpointLimit) error + type Ticker struct + BestAsk float64 + BestAskSize float64 + BestBid float64 + BestBidSize float64 + Last float64 + ProductCode string + TickID int64 + TimeStamp string + TotalAskDepth float64 + TotalBidDepth float64 + Volume float64 + VolumeByProduct float64 + type TransactionHistory struct + AdditionalFee float64 + Address string + Amount float64 + CurrencyCode string + EventDate string + Fee float64 + ID int64 + OrderID int64 + Status string + TXHash string