hashgraph / hedera-exchange-rate-tool

Hedera Exchange Rate Tool to send median of HBAR/USD exchange rate from various Exchanges to Hedera Network
Apache License 2.0
3 stars 4 forks source link

Add More Exchanges #157

Closed anighanta closed 2 years ago

anighanta commented 3 years ago

Summary We should also be adding more exchanges to the median calculation.

anighanta commented 2 years ago

After researching a bit on the exchanges that are listed on https://hedera.com/buying-guide

these are a few exchanges that offer open for all 24hr tickers for HBAR-USDT rate.

BitMart : https://api-cloud.bitmart.com/contract/v1/tickers?contract_symbol=HBARUSDT

Gate.io : https://api.gateio.ws/api/v4/spot/tickers?currency_pair=HBAR_USDT

Hitbit : https://api.hitbtc.com/api/3/public/ticker/HBARUSDT

BitTrue : https://openapi.bitrue.com/api/v1/ticker/24hr?symbol=HBARUSDT

Huobi : https://api.huobi.pro/market/detail?symbol=hbarusdt

Will start with these and integrate them into ERT

lbaird commented 2 years ago

Great. Let’s add those, now.

In the future, we should also add exchanges that don’t have that pair, but do have both HBAR-BTC and BTC-USDT.

On Thu, Dec 16, 2021 at 3:19 PM Anirudh Ghanta @.***> wrote:

After researching a bit on the exchanges that are listed on https://hedera.com/buying-guide

these are a few exchanges that offer 24hr tickers for HBAR-USDT rate.

BitMart : https://api-cloud.bitmart.com/contract/v1/tickers?contract_symbol=HBARUSDT

Gate.io : https://api.gateio.ws/api/v4/spot/tickers?currency_pair=HBAR_USDT

Hitbit : https://api.hitbtc.com/api/3/public/ticker/HBARUSDT

BitTrue : https://openapi.bitrue.com/api/v1/ticker/24hr?symbol=HBAR3SUSDT

Huobi : https://api.huobi.pro/market/detail?symbol=hbarusdt

Will start with these and integrate them into ERT

— Reply to this email directly, view it on GitHub https://github.com/hashgraph/hedera-exchange-rate-tool/issues/157#issuecomment-996202013, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDBYW2SWN2MIKS34LZW4UTURJJXBANCNFSM5D5XE6BA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

anighanta commented 2 years ago

Yup, created new issue https://github.com/hashgraph/hedera-exchange-rate-tool/issues/167 for tracking that feature.

anighanta commented 2 years ago

update UpBit no longer has HBAR/USD and only has HBAR/KRW exchange. ERT will stop supporting it until further notice.

lbaird commented 2 years ago

The latest trade is the price of HBAR. That’s the definition of “price” for any market. It isn’t the average of asks and bids. It’s the price of the most recent trade.

On Mon, Dec 20, 2021 at 9:29 AM Anirudh Ghanta @.***> wrote:

update UpBit's Open API needs us to create an account to use now.

— Reply to this email directly, view it on GitHub https://github.com/hashgraph/hedera-exchange-rate-tool/issues/157#issuecomment-997974311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDBYW6IEOCTQLOTUW7OZLTUR44UBANCNFSM5D5XE6BA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>