No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
config.toml Update config.toml Oct 3, 2017


A script to generate a json file for stellar stats


config.toml - ticker.go pulls currency pairs from here and performs calculations


The top of the config.toml file should have a Title line that resembles:
    Title = "Currency Pairs"

Below the title, currency pairs can be listed like so:

    name = "XLM_BTC"
    base = "XLM"
    base_issuer = "native"
    counter = ["BTC"]

If you wish to aggregate the volume for mutliple tokens and issuers, you can enter the values as a comma seperated list. Example below:

    name = "XLM_BTC"
    base = "XLM"
    base_issuer = "native"
    counter = ["BTC", "EURT"]

The asset "BTC" corresponds to the issuer starting with "GAT", and the asset "EURT" corresponds to the issuer starting with "GAP". To add more values, continue the comma seperated list. Every counter must have its corresponding issuer listed at the appropriate place in counter_issuer.
ie. The third item in counter must correspond to the third item in counter_issuer.

NOTE: You can only have one asset for base, but may have as many assets as you would like for counter.

To run:

Requires toml

  • go get
  • go install

go run ticker.go




The webhooks for this repository, will trigger a build/deploy on buildmeister