Binance is a cryptocurrency exchange website. This tag is for questions related to the Binance API and usage of Binance API wrappers. This tag is not specific to any programming language.
Questions tagged [binance]
1009 questions
0
votes
1 answer
Get info from binance blockchain
I'm new to blockchain. My question is how can I get binance blockchain info without explorers (get block by number, get transaction by hash)? ETH has tools such as geth or web3 where I can simply make a eth.getTransaction(hash) or…

airled
- 177
- 3
- 15
0
votes
1 answer
Using Binance API Results
I've recently started making calls to Binance API, specifically this:
https://api.binance.com/api/v3/ticker/24hr?symbol=BTCBUSD
This call only seems to have 1 parameter (symbol). My question concerns the meaning of the returned fields, or how to…

Ross Kelly
- 477
- 1
- 6
- 23
0
votes
0 answers
Crypto: Store Binance API key & secret
I am developing a crypto portfolio app with Ionic 5 at the moment and I came across following problem:
I created an API with express.js, which communicates with the APIs of coingecko and binance via the npm packages coingecko-api &…

felixjiricka
- 68
- 1
- 6
0
votes
0 answers
how to convert open time into real time?
[
[
1499040000000, // Open time
"0.01634790", // Open
"0.80000000", // High
"0.01575800", // Low
"0.01577100", // Close
"148976.11427815", // Volume
1499644799999, // Close time
"2434.19055334", // Quote asset…

Awais Imran
- 81
- 1
- 2
0
votes
0 answers
Binance Futures API Giving wrong quarterly price
I'm doing some work for a client and need to create a line graph of historical premium between BTCUSD and BTCUSD…

Anto
- 75
- 7
0
votes
1 answer
libcurl returns error code 77 when the CURLOPT_SSL_VERIFYPEER is not disabled
I am not very familiar with curl or HTTP requests, but trying to learn.
In my case, I am trying to use libcurl in C++ (using Visual Studio 2019 on Windows 10) to perform a GET request. I tried solutions from Curl in C++ - Can't get data from HTTPS,…

Mohamed Abd El Raouf
- 312
- 4
- 15
0
votes
0 answers
c++ "fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory"
I want to use the https://github.com/tensaix2j/binacpp (a Binance c++ library) and I'm getting the same error again and again. I changed the MakeFile in the library to the correct paths but yeah... Here is my…

Wandschranktafel
- 33
- 1
- 4
0
votes
0 answers
Problems getting open order on Binance using api
I have bot that is running using this module (https://python-binance.readthedocs.io/en/latest/binance.html). I have problem with client.get_open_orders() account endpoint. It has strange behavior. I'm running my bot in loop and sometimes while there…

Matiss Zuravlevs
- 329
- 2
- 11
0
votes
1 answer
Python Binance - How to get the last PRICES traded in futures with websocket?
I would like to get the last PRICES traded in futures with websocket, but I can only get the last mark prices of the futures using the next code:
BinanceWS = BinanceSocketManager(Binance)
conn_key =…

Argento12
- 11
0
votes
2 answers
binance.exceptions.BinanceAPIException: APIError(code=-1013): Filter failure: LOT_SIZE
I want to sell XRP/USDT. It is supposed I have more than the minimum, and even 49 XRP are more than 15usd.
Minimum: 0.10000000
XRP = 49.95301600
sym = 'XRP'
bol = 'USDT'
symbol = sym+bol
from binance.client import Client
client = Client(api_key,…

MrGuemez
- 38
- 2
- 7
0
votes
2 answers
Using BeautifulSoup to find a specific value on a website
I'm making a discord bot that checks the price of DogeCoin, and for that I decided to use BeautifulSoup to check the price (including the currency, which in this case is EUR) on this website:…

Manuel Carvalho
- 3
- 3
0
votes
0 answers
Generate python UNIX timestamp
I am working with the kraken and binance APIs. The binance API returns a time like this: 1612722603026 inside of the API response. The kraken API does not return a time for the API response so I am trying to generate a timestamp to match the one…

Alfie Danger
- 377
- 5
- 23
0
votes
1 answer
How to prevent error throwing in Google Apps Script?
Please see the code herein under:
function binanceOrderBook() {
try {
muteHttpExceptions = true;
var workSpreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var mySheet = workSpreadsheet.getSheetByName('Order Books');
…

user9830671
- 13
- 1
- 6
0
votes
1 answer
Retrieve all data for specific coin pair (Python-Binance API)
I have a bit of code that will download minute to minute data historically from binance, and combine it all into their own CSV. EG: BCHUSDT-1m-data.csv, BTCUSDT-1m-data.csv, etc for whatever pairs I want. However, I keep getting…

joey leavell
- 93
- 9
0
votes
1 answer
Get order parameters from Python-Binance
I'm trying to get some parameters of my orders from Python-Binance API.
In this case, I would like to get only the 'status' of an order and save it into a variable.
I used this to get my last order :
orders = client.get_all_orders(symbol=symbol,…

Delacroix
- 49
- 1
- 8