Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoinGecko Tickers #3

Open
adrianmcli opened this issue Nov 8, 2022 · 0 comments
Open

CoinGecko Tickers #3

adrianmcli opened this issue Nov 8, 2022 · 0 comments

Comments

@adrianmcli
Copy link
Contributor

The /tickers endpoint provides 24-hour pricing and volume information on each market pair available on an exchange.

{
      "ticker_id": "BTC_ETH",
      "base_currency": "BTC",
      "target_currency": "ETH",
      "last_price":"50.0",
      "base_volume":"10",
      "target_volume":"500",
      "bid":"49.9",
      "ask":"50.1",
      "high":"51.3",
      "low":"49.2",
}

/tickers endpoint response description:

Name Data Type Category Description
ticker_id string Mandatory Identifier of a ticker with delimiter to separate base/target, eg. BTC_ETH
base_currency string Mandatory Symbol/currency code of base pair, eg. BTC
target_currency string Mandatory Symbol/currency code of target pair, eg. ETH
last_price decimal Mandatory Last transacted price of base currency based on given target currency (unit in base or target)eg.X = ?1 base = X targetX base = 1 target
base_volume decimal Mandatory 24 hour trading volume in base pair volume (unit in base)
target_volume decimal Mandatory 24 hour trading volume in target pair volume (unit in target)
pool_id string Recommended/Mandatory pool/pair address or unique ID (Mandatory for DEX)
bid decimal Recommended Current highest bid price
ask decimal Recommended Current lowest ask price
high decimal Recommended Rolling 24-hours highest transaction price
low decimal Recommended Rolling 24-hours lowest transaction price

For reference, a good example would be
1.https://api.binance.com/api/v1/ticker/24hr

@adrianmcli adrianmcli mentioned this issue Nov 8, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant