sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.96k stars 2.19k forks source link

How can I get proper names for futures symbols? #1252

Closed Rizhiy closed 1 year ago

Rizhiy commented 1 year ago

For example if I want to place an order for BTCUSDT perpetual futures what symbol should I specify? How can I find that information for other tickers?

So far I have tried:

All of them didn't work.

My code:

client.futures_coin_create_order(symbol="BTCUSDT", side="SELL", type="MARKET", quantity=0.001)
Rizhiy commented 1 year ago

Turns out I have to use client.futures_create_order().