简体   繁体   English

Binance API:如何获取美元作为报价资产

[英]Binance API: how to get the USD as the quote asset

I'm wondering what the symbol is or if I am even able to get historical price data on BTC, ETH, etc. denominated in United States Dollars. 我想知道这个符号是什么,或者我是否能够获取以美元计的BTC,ETH等的历史价格数据。

right now when if I'm making a call to client such as: Client.get_symbol_info('BTCUSD') it returns nothing 现在,当我打电话给客户时,例如:Client.get_symbol_info('BTCUSD'),它什么也不返回

Does anyone have any idea how to get this info? 有谁知道如何获取此信息? Thanks! 谢谢!

You can not make trades in Binance with dollars but instead with Tether(USDT) that is a cryptocurrency that is backed 1-to-1 with dollar. 您不能使用美元进行币安交易,而是可以使用以美元一对一支持的加密货币Tether(USDT)进行交易。

To solve that use BTCUSDT Change BTCUSD to BTCUSDT 要解决此问题,请使用BTCUSDT将BTCUSD更改为BTCUSDT

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM