mapper

package
v0.0.0-...-74f9a32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapFromAccessLevel

func MapFromAccessLevel(in investapi.AccessLevel) domain.AccessLevel

func MapFromAccount

func MapFromAccount(in *investapi.Account) *domain.Account

func MapFromAccountStatus

func MapFromAccountStatus(in investapi.AccountStatus) domain.AccountStatus

func MapFromAccountType

func MapFromAccountType(in investapi.AccountType) domain.AccountType

func MapFromAccounts

func MapFromAccounts(in []*investapi.Account) []*domain.Account

func MapFromHistoricCandle

func MapFromHistoricCandle(in *investapi.HistoricCandle) *domain.HistoricCandle

func MapFromHistoricCandles

func MapFromHistoricCandles(in []*investapi.HistoricCandle) []*domain.HistoricCandle

func MapFromLastPrice

func MapFromLastPrice(in *investapi.LastPrice) *domain.LastPrice

func MapFromLastPrices

func MapFromLastPrices(in []*investapi.LastPrice) []*domain.LastPrice

func MapFromMoneyValue

func MapFromMoneyValue(in *investapi.MoneyValue) *domain.MoneyValue

func MapFromMoneyValues

func MapFromMoneyValues(in []*investapi.MoneyValue) []*domain.MoneyValue

func MapFromOrderStage

func MapFromOrderStage(in *investapi.OrderStage) *domain.OrderStage

func MapFromOrderStages

func MapFromOrderStages(in []*investapi.OrderStage) []*domain.OrderStage

func MapFromOrderState

func MapFromOrderState(in *investapi.OrderState) *domain.OrderState

func MapFromOrderStates

func MapFromOrderStates(in []*investapi.OrderState) []*domain.OrderState

func MapFromOrderType

func MapFromOrderType(in investapi.OrderType) domain.OrderType

func MapFromPortfolioPositions

func MapFromPortfolioPositions(in []*investapi.PortfolioPosition) []*domain.PortfolioPosition

func MapFromPositionsSecuritiesList

func MapFromPositionsSecuritiesList(in []*investapi.PositionsSecurities) []*domain.PositionsSecurities

func MapFromQuotation

func MapFromQuotation(in *investapi.Quotation) decimal.Decimal

func MapFromShare

func MapFromShare(in *investapi.Share) *domain.Share

func MapFromShares

func MapFromShares(in []*investapi.Share) []*domain.Share

func MapToMoneyValue

func MapToMoneyValue(in *domain.MoneyValue) *investapi.MoneyValue

func MapToOrderType

func MapToOrderType(in domain.OrderType) investapi.OrderType

func MapToQuotation

func MapToQuotation(in decimal.Decimal) *investapi.Quotation

Types

This section is empty.

Jump to

Keyboard shortcuts

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