Documentation ¶
Index ¶
- Constants
- func CallHidden() *hidden.Client
- func Round(f float64) float64
- type APILimit
- type Client
- func (p *Client) Addresses(req *private.Addresses) ([]private.Address, *APILimit, error)
- func (p *Client) Balance(req *private.Balance) ([]private.Currency, *APILimit, error)
- func (p *Client) BalanceHistory(req *private.BalanceHistory) ([]private.BalanceHis, *APILimit, error)
- func (p *Client) Banks(req *private.Banks) ([]private.Bank, *APILimit, error)
- func (p *Client) Board(req *public.Board) (*public.ResponseForBoard, *APILimit, error)
- func (p *Client) Cancel(req *private.Cancel) (*private.ResponseForCancel, *APILimit, error)
- func (p *Client) CancelChildOrder(req *private.CancelChildOrder) (*private.ResponseForCancelChildOrder, *APILimit, error)
- func (p *Client) CancelParentOrder(req *private.CancelParentOrder) (*private.ResponseForCancelParentOrder, *APILimit, error)
- func (p *Client) Chat(req *public.Chat) ([]public.Comment, *APILimit, error)
- func (p *Client) ChildOrder(req *private.ChildOrder) (*private.ResponseForChildOrder, *APILimit, error)
- func (p *Client) ChildOrders(req *private.ChildOrders) ([]private.COrder, *APILimit, error)
- func (p *Client) Coinins(req *private.Coinins) ([]private.Coinin, *APILimit, error)
- func (p *Client) Coinouts(req *private.Coinouts) ([]private.Coinout, *APILimit, error)
- func (p *Client) Collateral(req *private.Collateral) (*private.ResponseForCollateral, *APILimit, error)
- func (p *Client) CollateralAccounts(req *private.CollateralAccounts) ([]private.Currency, *APILimit, error)
- func (p *Client) CollateralHistory(req *private.CollateralHistory) ([]private.CollateralHis, *APILimit, error)
- func (p *Client) Commission(req *private.Commission) (*private.ResponseForCommission, *APILimit, error)
- func (p *Client) Deposits(req *private.Deposits) ([]private.Deposit, *APILimit, error)
- func (p *Client) DetailParentOrder(req *private.DetailParentOrder) (*private.ResponseForDetailParentOrder, *APILimit, error)
- func (p *Client) Executions(req *public.Executions) ([]public.Execution, *APILimit, error)
- func (p *Client) Fr(req *public.Fr) (*public.ResponseForFr, *APILimit, error)
- func (p *Client) Helth(req *public.Helth) (*public.ResponseForHelth, *APILimit, error)
- func (p *Client) LeverageC(req *public.LeverageC) (*public.ResponseForLeverageC, *APILimit, error)
- func (p *Client) Markets(req *public.Markets) ([]public.Market, *APILimit, error)
- func (p *Client) MyExecutions(req *private.Executions) ([]private.Execution, *APILimit, error)
- func (p *Client) ParentOrder(req *private.ParentOrder) (*private.ResponseForParentOrder, *APILimit, error)
- func (p *Client) Permissions(req *private.Permissions) ([]string, *APILimit, error)
- func (p *Client) Positions(req *private.Positions) ([]private.Position, *APILimit, error)
- func (p *Client) SetClient(c *http.Client) *Client
- func (p *Client) Status(req *public.Status) (*public.ResponseForStatus, *APILimit, error)
- func (p *Client) Ticker(req *public.Ticker) (*public.ResponseForTicker, *APILimit, error)
- func (p *Client) Withdrawals(req *private.Withdrawals) ([]private.Withdrawal, *APILimit, error)
- type Require
- type Response
Constants ¶
View Source
const ( DECIMALP = 1e8 DECIMALM = 1e-8 )
View Source
const (
V1 = "https://api.bitflyer.com/v1/"
)
Variables ¶
This section is empty.
Functions ¶
func CallHidden ¶
Types ¶
type Client ¶
func (*Client) BalanceHistory ¶
func (p *Client) BalanceHistory(req *private.BalanceHistory) ([]private.BalanceHis, *APILimit, error)
func (*Client) CancelChildOrder ¶
func (p *Client) CancelChildOrder(req *private.CancelChildOrder) (*private.ResponseForCancelChildOrder, *APILimit, error)
func (*Client) CancelParentOrder ¶
func (p *Client) CancelParentOrder(req *private.CancelParentOrder) (*private.ResponseForCancelParentOrder, *APILimit, error)
func (*Client) ChildOrder ¶
func (p *Client) ChildOrder(req *private.ChildOrder) (*private.ResponseForChildOrder, *APILimit, error)
func (*Client) ChildOrders ¶
func (*Client) Collateral ¶
func (p *Client) Collateral(req *private.Collateral) (*private.ResponseForCollateral, *APILimit, error)
func (*Client) CollateralAccounts ¶
func (*Client) CollateralHistory ¶
func (p *Client) CollateralHistory(req *private.CollateralHistory) ([]private.CollateralHis, *APILimit, error)
func (*Client) Commission ¶
func (p *Client) Commission(req *private.Commission) (*private.ResponseForCommission, *APILimit, error)
func (*Client) DetailParentOrder ¶
func (p *Client) DetailParentOrder(req *private.DetailParentOrder) (*private.ResponseForDetailParentOrder, *APILimit, error)
func (*Client) Executions ¶
func (*Client) MyExecutions ¶
func (*Client) ParentOrder ¶
func (p *Client) ParentOrder(req *private.ParentOrder) (*private.ResponseForParentOrder, *APILimit, error)
func (*Client) Permissions ¶
func (*Client) Withdrawals ¶
func (p *Client) Withdrawals(req *private.Withdrawals) ([]private.Withdrawal, *APILimit, error)
Click to show internal directories.
Click to hide internal directories.