GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - EVE-Tools/market-stats: Calculates market statistics for EVE Online's whole economy

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
migrations
migrations
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
generateProto.sh
generateProto.sh
 
 
main.go
main.go
 
 

Repository files navigation

Market Stats

Build Status Go Report Card Docker Image

This service for Element43 calculates various market metrics based on historical data. Data is stored in Postgres and can be retrieved via a gRPC API. Every night it fetches the entire market's history from ESI and calculates the metrics described in its gRPC service description. There might be gaps in the data as there is no history available if nothing was traded.

Issues can be filed here. Pull requests can be made in this repo.

Interface

The service's gRPC description can be found [here](https://github.com/EVE-Tools/element43/blob/master/services/marketStats/marketStats.proto.

Installation

Either use the prebuilt Docker images and pass the appropriate env vars (see below), or:

  • Install Go, clone this repo into your gopath
  • Run go get ./... to fetch the service's dependencies
  • Run bash generateProto.sh to generate the necessary gRPC-related code
  • Run go build
  • Run ./market-stats to start the service

Deployment Info

Environment Variable Default Description
SEED_DB false Fetch all data from ESI on startup, ignoring the normal schedule
CRON 0 52 * * * Defines when to run data collection (0:52am UTC every day avoids getting cached data)
LOG_LEVEL info Threshold for logging messages to be printed
POSTGRES_URL postgres://market-stats@localhost:5432/market-stats?sslmode=disable URL to this service's Postgres database
PORT 43000 Port for the grpc server to listen on

About

Calculates market statistics for EVE Online's whole economy

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.