chain-bot / prices

API-Scraper + API for crypto prices built in Go
MIT License
2 stars 2 forks source link

Add "ProductID" To Symbol Struct #40

Closed zahin-mohammad closed 3 years ago

zahin-mohammad commented 3 years ago

We currently construct an exchange product (traded pair) from the raw base and raw quote. We should store the product pair as well as some exchanges have multiple product pairs for the same base/quoute (Kraken).

type Symbol struct {
        ProductID              string
    RawBase                string
    NormalizedBase         string
    RawQuote               string
    NormalizedQuote        string
}