Documentation ¶
Overview ¶
Tinkoff (TCS) related financial operations available over API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invest ¶
type Invest struct {
Token string `env:"TINKOFF_INVEST_TOKEN"` // Open-API token
}
Configuration for the tinkof investing Open-API
See https://tinkoffcreditsystems.github.io/invest-openapi/
func DefaultInvest ¶
func DefaultInvest() *Invest
Construct Tinkoff Invest API client using env variables.
TINKOFF_INVEST_TOKEN - is mandatory variable, will panic if empty
func (Invest) PortfolioContext ¶
Get portfolio aggregated by currency.
Click to show internal directories.
Click to hide internal directories.