stats

package
v0.0.0-...-91881de Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package store implements in an memory store for binance exchange price stats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore() *statsStore

NewStore returns a reference to the in memory latest price store.

Types

type Stats

type Stats struct {
	PriceChange        string
	PriceChangePercent string
	WeightedAvgPrice   string
	LastPrice          string
	LastQuantity       string
}

Stats stores various price stats for a futures symbol.

Jump to

Keyboard shortcuts

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