nordnet

package
v0.0.0-...-83234e2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DATE_FORMAT = "2006-01-02"
View Source
const NORDNET_HEADER_BELØP = "Beløp"
View Source
const NORDNET_HEADER_BOKFORT_DATO = "Bokføringsdag"
View Source
const NORDNET_HEADER_FORKLARENDE_TEKST = "Transaksjonstekst"
View Source
const NORDNET_HEADER_ID = "Id"
View Source
const NORDNET_HEADER_KONTO = "Portefølje"
View Source
const NORDNET_HEADER_SALDO = "Saldo"
View Source
const NORDNET_HEADER_TYPE = "Transaksjonstype"

Variables

This section is empty.

Functions

func GroupByMonth

func GroupByMonth(lines []*NordnetLine) map[string][]*NordnetLine

Types

type NordnetDate

type NordnetDate time.Time

type NordnetLine

type NordnetLine struct {
	TilKonto         string
	BokførtDato      time.Time
	Inngående        money.Money
	Inn              money.Money
	Ut               money.Money
	Saldo            money.Money
	ForklarendeTekst string
	Referanse        string
	Type             NordnetType
}

func ParseNordnetCSV

func ParseNordnetCSV(nordnetFilePath string, opts *options.Options) []*NordnetLine

type NordnetType

type NordnetType string
const (
	INNSKUDD NordnetType = "INNSKUDD"
	UTTAK    NordnetType = "UTTAK"
	SALDO    NordnetType = "SALDO"
)

Jump to

Keyboard shortcuts

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