'Converting cryptocurrencies on Binance with python-binance api

Is it possible to convert cryptocurrencies with python-binance api? I was looking at create_order function, but it seems to only enable spot trades.



Solution 1:[1]

there are lots of methods you can use with spot and futures. check documentation: https://python-binance.readthedocs.io/en/latest/binance.html#

for example:

after the install python-binance

from binance.client import Client
api_key='api_key'
api_secret='secret_key'

client = Client(api_key, api_secret)
client.futures_create_order()

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Gkhan