bitpanda

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package bitpanda reads a Bitpanda account through the Public API (https://api.public.bitpanda.com/v1, docs.public.bitpanda.com) with a key limited to the Balances and Transaction scopes. It replaces the legacy API (api.bitpanda.com/v1: wallets, fiatwallets, trades...), which Bitpanda switches off on 31 January 2027.

  • History: GET /v1/operations, the unified timeline of every movement (trades, savings plans, deposits, withdrawals, staking, rewards, card, dividends, taxes), cursor-paginated, filterable with "from". Each operation lists the transactions it booked on the user's wallets; see ops.go for how they become activities.
  • Balances: GET /v1/portfolio, one line per asset or fiat currency held.
  • Names: GET /v1/assets and /v1/currencies (public) turn the UUIDs of the two above into symbols, kinds and ISINs.

Bitpanda is treated as one account: moves between its wallets (to and from staking, card or trading reservations) are not activities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg source.Config) (source.Source, error)

New builds the connector from its settings.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source is a configured Bitpanda connector.

func (*Source) Activities

func (s *Source) Activities(ctx context.Context, f source.Fetch) error

func (*Source) Balances

func (s *Source) Balances(ctx context.Context) ([]model.Balance, error)

func (*Source) State

func (s *Source) State() []byte

func (*Source) Test

func (s *Source) Test(ctx context.Context) error

Test checks the key with the two cheapest reads it must allow: one operation (Transaction scope) and the portfolio (Balances scope).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL