statistics

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 11 Imported by: 1

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 added in v1.2.0

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

GatherExchangeMarketPairs gathers exchange quotes

func GatherOhlcv added in v1.3.0

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

GatherOhlcv gathers crypto quote

func GatherTokenMetric added in v1.1.0

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

GatherTokenMetric gathers the number of token holders and transactions

func TaskGatherCryptoQuote added in v1.3.0

func TaskGatherCryptoQuote(options *types.Options)

TaskGatherCryptoQuote records crypto quote

func TaskGatherExchangeMarketPairs added in v1.3.0

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

TaskGatherExchangeMarketPairs records exchange quotes

func TaskGatherOhlcv added in v1.3.0

func TaskGatherOhlcv(options *types.Options)

TaskGatherOhlcv records crypto quote

func TaskGatherTokenMetric added in v1.3.0

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