Get a CNY Symbol
Binance Developer Community
by Zurita
3h ago
Hello! I have a dificulty to get a CNY and COP PRICE width https://api.binance.com/api/v3/ticker/price?symbol=CNY or https://api.binance.com/api/v3/ticker/price?symbol=COP I have the return {“code”:-1121,“msg”:“Invalid symbol.”} Please help:c 1 post - 1 participant Read full topic ..read more
Visit website
Im trying to pull more than 1000 candles with multiple api calls
Binance Developer Community
by dor9000
9h ago
Struggling to grab more than 1000 candles from Binance’s API without missing a beat? You’re not alone. Here’s a swift rundown: The provided code does a decent job fetching candlestick data from Binance, but it consistently misses the last three candles. Why? The culprit lies in how it calculates the start time for each iteration. By simply adding one second to the timestamp of the last fetched candle, it overlooks potential gaps between candles. To remedy this, adjust the code to set the start time for the next iteration just after the timestamp of the last candle fetched. s_time = int(new_kl ..read more
Visit website
Isolated margin trading though Binance API
Binance Developer Community
by Sameerjeet_Singh_Chh
9h ago
Hello, I have a margin account with 10k USDT in it. I want to buy tokens while allocating a specific collateral I want to put in for that token and not keeping whole account balance as colletral. I want to use API to make such isolated margin orders on futures tokens. Is it possible to place a market order to buy tokens with margin but also allocating the specific amount from my account funds to be given as colletral. Basically, while opening a order I will be telling: (token_name, postion_side, side, collateral_amount, token_quantity) So that only some part of total amount is invested from my ..read more
Visit website
Sometimes TP/SL orders fail to work properly and expire.
Binance Developer Community
by minjae
2d ago
Hello. Sometimes TP/SL orders fail to work properly and expire. Though not frequent, there are instances where both take_profit_market and stop_loss_market orders fail to execute and expire. How can we ensure that a market order is reliably executed when the price is reached? The existing code implements this using the python-binance library as follows: res = self.client.futures_create_order(symbol = "ETHUSDT", type = "TAKE_PROFIT_MARKET", side = stop_side, stopPrice = stop_pri ..read more
Visit website
Generating ed25519 signatures for api requests in C++
Binance Developer Community
by Soumalya_Sahoo
2d ago
Hello Folks, I’m trying to generate ed25519 signatures for sending requests to signed endpoints in C++. I was successfully doing it in HMAC but now i want to do it using ed25519 keys and is not able to do so. Please help. 1 post - 1 participant Read full topic ..read more
Visit website
All Market Tickers Stream Response does not match the response provided in the docs
Binance Developer Community
by haiderbokhari5
2d ago
The response for the all market tickers stream in the documentation does not match with the actual response received This is the response received { “e”: “24hrTicker”, “E”: 1713765173564, “s”: “NEARUSD_PERP”, “ps”: “NEARUSD”, “p”: “0.506”, “P”: “7.980”, “w”: “6.36076957”, “c”: “6.847”, “Q”: “42”, “o”: “6.341”, “h”: “6.849”, “l”: “6.051”, “v”: “2624659”, “q”: “4126323.03456056”, “O”: 1713678720000, “C”: 1713765173548, “F”: 35079417, “L”: 35156779, “n”: 77363 } while this is the response from the documentation { “e”: “24hrTicker”, // Event type “E”: 1672515782136, // Event time “s”: “BNBBTC ..read more
Visit website
What is the deep link for opening binance spot trading page from my website
Binance Developer Community
by Shrouk_Abdelhady
3d ago
I use links like “Bitcoin Exchange | Cryptocurrency Exchange | Binance” in the website that I am developing to redirect the user to the trading page of each currency on Binance, but in the mobile view I want to redirect the user to the same pages on the Binance app not the browser so I used this link “bnc://app.binance.com/en/trade/COS_USDT” but i got this alert on Binance app is there any solution or deep link I should use instead of that link? 1 post - 1 participant Read full topic ..read more
Visit website
Why APIError(code=-4018) in this code?
Binance Developer Community
by mh92kk
3d ago
code : binance = ccxt.binance({ ‘apiKey’: ‘—’, ‘secret’: ‘—’, ‘enableRateLimit’: True }) binance.load_markets() balance = binance.fetch_balance() BN_XRP = float(balance[‘XRP’][‘total’]) client = Client(api_key=‘—’, api_secret=‘—’) result = client.withdraw(coin= ‘XRPUSDT’, amount=BN_XRP, address=“raQwCVAJVqjrVm1Nj5SFRcX8i22BhdC9WA”,addressTag = ‘3707480751’, network=‘Ripple’) print(result) result : BinanceAPIException: APIError(code=-4018): This currency does not exist. 1 post - 1 participant Read full topic ..read more
Visit website
Maker fees for stop limit orders (using GTX)
Binance Developer Community
by Trader_1
4d ago
Questions about maker fees when placing stop orders have been posted before, but none of the replies are really satisfying. @dino said to “set the time in force parameter (timeInForce ) to GTX”. This doesn’t work (at least not for stop limit orders) as the order gets cancelled (it says ‘expired’) the moment the stop price gets hit. Sadly, there is no sufficient documentation as far as GTX and/or stop limit orders are concerned. Placing stop limit orders using GTC works, but when placing a stop limit order using GTX such as the one below, the order gets expires the moment it hits the stop price ..read more
Visit website
Question about btcusdt@kline_1s
Binance Developer Community
by Iman_Khosrojerdi
5d ago
(topic deleted by author) 1 post - 1 participant Read full topic ..read more
Visit website

Follow Binance Developer Community on FeedSpot

Continue with Google
Continue with Apple
OR