statistics

package
v0.0.0-...-f6b255e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 11 Imported by: 0

README

statistics

Make statistics by gathering crypto info periodically

Usage

  • (Optional) Set log path -logpath=[LOG_PATH]

Documentation

Overview

Package statistics gathers data and makes history It can be useful when your API plan is under standard, not authorized to historical data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherCryptoQuote

func GatherCryptoQuote(options *types.Options, job *gocron.Job)

GatherCryptoQuote gathers crypto quote

func GatherExchangeMarketPairs

func GatherExchangeMarketPairs(options *types.Options, targetSymbol string, job *gocron.Job)

GatherExchangeMarketPairs gathers exchange quotes

func GatherOhlcv

func GatherOhlcv(options *types.Options, job *gocron.Job)

GatherOhlcv gathers crypto quote

func GatherTokenMetric

func GatherTokenMetric(symbol, addr string, job *gocron.Job)

GatherTokenMetric gathers the number of token holders and transactions

func TaskGatherCryptoQuote

func TaskGatherCryptoQuote(options *types.Options)

TaskGatherCryptoQuote records crypto quote

func TaskGatherExchangeMarketPairs

func TaskGatherExchangeMarketPairs(options *types.Options, targetSymbol string)

TaskGatherExchangeMarketPairs records exchange quotes

func TaskGatherOhlcv

func TaskGatherOhlcv(options *types.Options)

TaskGatherOhlcv records crypto quote

func TaskGatherTokenMetric

func TaskGatherTokenMetric(symbol, addr string)

TaskGatherTokenMetric records the number of token holders and transactions symbol: Token symbol for log addr: Token contract address

Types

This section is empty.

Jump to

Keyboard shortcuts

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