package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev
# Functions
BackfillTrades ingest the most recent trades (limited to numDays) directly from Horizon into the database.
GenerateAssetsFile generates a file with the info about all valid scraped Assets.
GenerateMarketSummary outputs a MarketSummary with the statistics for all valid markets within the database.
GenerateMarketSummaryFile generates a MarketSummary with the statistics for all valid markets within the database and outputs it to <filename>.
RefreshAssets scrapes the most recent asset list and ingests then into the db.
RefreshOrderbookEntries updates the orderbook entries for the relevant markets that were active in the past 7-day interval.
No description provided by the author
StreamTrades constantly streams and ingests new trades directly from horizon.
# Structs
Asset represent the aggregated data for a given asset.
Asset Sumary represents the collection of valid assets.
Market stats represents the statistics of a specific market (identified by a trade pair).
MarketSummary represents a summary of statistics of all valid markets within a given period of time.