invest

package
v0.0.0-...-51932e9 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDK

type SDK struct {
	Instruments sdk.InstrumentsServiceClient
	MarketData  sdk.MarketDataServiceClient
	Operations  sdk.OperationsServiceClient
	Accounts    sdk.UsersServiceClient
	// contains filtered or unexported fields
}

func NewSDK

func NewSDK(token string) (*SDK, error)

func (SDK) GetCandles

func (s SDK) GetCandles(figi string, from, to time.Time, interval investapi.CandleInterval) ([]*investapi.HistoricCandle, error)

func (*SDK) GetLastPrices

func (s *SDK) GetLastPrices(figis []string) ([]*investapi.LastPrice, error)

func (*SDK) ShareTickersToFigis

func (s *SDK) ShareTickersToFigis(tickers []string) ([]string, error)

Jump to

Keyboard shortcuts

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