ankit
1
from binance.client import Client
api_key = MY_API_KEY
api_secret = MY_API_SECRET
client = Client(api_key, api_secret)
buy_order = client.create_test_order(symbol='ETHUSDT', side='BUY', type='MARKET', quantity=100)
P.S: I am able to webstream API data and create technical indicators using them. Any help for placing a order using Binance API would be appreciated.
The Binance API offers the New Order endpoint.
https://binance-docs.github.io/apidocs/spot/en/#new-order-trade
Please direct any questions regarding the library to the rightful owner.
ankit
3
I have tried that too. Please let me know where to post this question for rightful owner?
Thank You for the reply
Check who the owner of the library binance.client
is on pypi or github. This library is a third-party library with no affiliation to Binance.