Documentation
¶
Overview ¶
Package binance reads a Binance account's history and balances with a read-only API key: deposits and withdrawals, spot trades (delisted pairs included), converts, card and bank purchases, dust conversions, distributions (airdrops, token swaps), Auto-Invest, Simple Earn rewards, ETH/SOL liquid staking, Binance Pay and P2P. Binance is treated as one account: moves between its internal wallets (spot, funding, earn) are not activities.
Index ¶
- func New(cfg source.Config) (source.Source, error)
- type Binance
- func (b *Binance) Activities(ctx context.Context, f source.Fetch) error
- func (b *Binance) Balances(ctx context.Context) ([]model.Balance, error)
- func (b *Binance) Import(name string, data []byte, existing []model.Activity) (*source.Statement, error)
- func (b *Binance) State() []byte
- func (b *Binance) Test(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binance ¶
type Binance struct {
// contains filtered or unexported fields
}
Binance is a configured connector.
func (*Binance) Activities ¶
Click to show internal directories.
Click to hide internal directories.