Questions tagged [binance-api-client]
278 questions
-1
votes
1 answer
Printing Response from Binance Order
How do I print the response from an order like below?
order = client.order_limit_buy(
symbol='ADABUSD',
quantity=buy_quantity,
price=price,
newOrderRespType = 'ACK'
)
I wish to get the orderId from it so I can…

Zak Pinter
- 21
- 5
-1
votes
2 answers
Binance Websocket API stuck on OPEN MESSAGE
I have this...
import websocket
SOCKET = "wss://stream.binance.com:9443/ws/ADABUSB@nav_kline_1m"
def on_open(ws):
print('opened connection')
def on_close(ws):
print('close connection')
def on_message(ws, message):
print('received…

Zak Pinter
- 21
- 5
-1
votes
1 answer
how i can get data from binance on Vscode
I'm trying to get data from binance client using python on VSCode .
from binance import Client
import config
key = config.API_KEY
secret = config.API_SECRET
client = Client(key, secret)
info = client.get_symbol_info("BTCUSDT")
I tryed the same…

shypou
- 1
-1
votes
1 answer
Binance API doesn't display EUR price pair
Recently trying to figure it out why "OOKIDAO" doesn't show up as pair when calling binance api url.
For example BTC EUR price or other crypto shows up this URL:
https://api.binance.com/api/v3/ticker/price?symbol=BTCEUR
But I need OOKIDAO to show…

MiningChamber
- 23
- 5
-1
votes
1 answer
The price from get_ticker() is different from the market
I'm trying to improuve my python script on the Binance API.
Now I have seen that if I get the price of a symbol with the API "get_ticker" and then try to buy or sell at market price, the prices are very different.
The difference is about 1/2%.
Is…

Franz
- 3
- 1
-1
votes
1 answer
Can I make transactions on the user's behalf using some exchange API (Binance, Coinbase etc.)?
I've read the Binance API documentation but it's still not clear to me whether it allows for a 3rd party app to initiate a payment, and then just have the user confirm it.
For example, I want to build an application which would allow the user to…

FreelanceDev1
- 81
- 2
- 4
-1
votes
1 answer
REST API vs Websocket for buying an asset
I have confusion between Rest API and Websocket. Although WS is faster than REST API in terms of data fetching. My application is to Buy a Coin(any item) on any Exchange (Binance, Kucoin, Coinbase) as fast as I can. In the documentations, Every…

Humza Sami
- 108
- 6
-1
votes
3 answers
Binance Websocket client stops after a while
I am working on Binance Websocket to listen to account events MARKET events. I copy every order from masters to salve it works just fine when I run it and it copies from all master. However, when I run it in background using nohup Linux service it…

Hassan Ibraheem
- 118
- 1
- 7
-1
votes
2 answers
JSON to cell google sheet array work but object not working by binanace API
this is Response:
{
"makerCommission": 15,
"takerCommission": 15,
"buyerCommission": 0,
"sellerCommission": 0,
"canTrade": true,
"canWithdraw": true,
"canDeposit": true,
"updateTime": 123456789,
"accountType": "SPOT",
"balances": [
{
…

john
- 37
- 7
-1
votes
1 answer
How to get symbol info in binance socket manager api?
I am actually developing a binance api bot and I am trying to get the symbol info for the following currency pairs:
BTCAUD
BTCEUR
BTCGBP
And I tried following code to do it:
import time
import matplotlib.pyplot as plt
from binance.client import…

Mohammad Izaan
- 45
- 7
-2
votes
1 answer
Python-Binance Flask App Running on Heroku - Memory Leak
I have a Python-Binance flask app running on Heroku. I use it to receive trading alerts from TradingView and execute trades on Binance via the API.
I have a websocket setup to monitor current market prices, and I use a function to monitor "open…

Richard Read
- 1
- 2
-2
votes
1 answer
How to use a percentage of your account balance per trade? Binance-python
As far as I am aware the only way to create a new futures order is with client.futures_create_order(). The issue is this requires you to give it the exact amount of contracts you would like to buy. I am using BUSD to make all my trades, so I am…

Edog
- 1
- 1
-2
votes
1 answer
Binance - Convert Stablecoin to Stablecoin (e.g. from USDT to BUSD) using API (CCXT, or Binance)
I can not find support for converting USDT to BUSD or vise versa in any python package (CCXT, python-binance...).

Ofer Zilberstein
- 65
- 1
- 5
-2
votes
1 answer
Problem with opening order on binance python
i am reviving signal to open order in this format : 'SELL', '1INCHUSDTPERP', '0.6396', '0.652392', '0.588432'. 1- side 2 - symbol 3 - order price 4 - stoploss price 5 - takeprofit price. Than i round all prices in this way:
tick =…

Wolky
- 1
- 2
-2
votes
1 answer
binance api, i cant put an order with a price in dollar (not in quantity)
i try to put some orders at a specific price.
For example i would like to put 20 dollars to buy some ETHUSDT at 800 usdt but it gives me this error:
binance.exceptions.BinanceAPIException: APIError(code=-1106): Parameter 'quoteOrderQty' sent when…

guiguilecodeur
- 429
- 2
- 15