notional

package
v0.0.0-...-efbd42f Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package notional contains the logic to get the notional value of assets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotionalJob

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

NotionalJob is the job to get the notional value of assets.

func NewNotionalJob

func NewNotionalJob(api *coingecko.CoingeckoAPI, cacheClient *redis.Client, cachePrefix string, p2pNetwork, cacheChannel string, logger *zap.Logger) *NotionalJob

NewNotionalJob creates a new notional job.

func (*NotionalJob) Run

func (j *NotionalJob) Run() error

Run runs the notional job.

Jump to

Keyboard shortcuts

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