Questions tagged [binance]

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.

Documentation

API Wrappers

1009 questions
0
votes
0 answers

cant' establish websocket connection on every pair on Binance exchange.Io.netty.channel.epoll.LinuxSocket error

My aplication's logic requires websocet connection for every pair on Binance exchange. I use this library I use three methods to receive data from exchange: 1.onAggTradeEvent 2.onAllMarketTickersEvent onDepthEvent I create only one instance of…
Vlad Cheremisin
  • 141
  • 1
  • 11
0
votes
1 answer

Binance API get_ticker() data

I am having trouble figuring out what the last three numbers returned by Binance's get_ticker() mean: { "priceChange": "-94.99999800", "priceChangePercent": "-95.960", "weightedAvgPrice": "0.29628482", "prevClosePrice":…
Naicon
  • 3
  • 1
  • 2
0
votes
0 answers

How to read json format from binance api using pandas?

I want to get live prices of concurrency from rest api of binance. I am using: def inCoin(coin): url = 'https://api.binance.com/api/v3/ticker/price?symbol='+coin+'USDT' df = pd.read_json(url) df.columns = ["symbol","price"] return…
Himanshu Suthar
  • 437
  • 2
  • 9
  • 22
0
votes
0 answers

official binance-api swift4 compile error

about this https://github.com/dpyro/BinanceApi. I use XCode 10, macos 10.13/10.14 and swift 4.2. I did do what is written in the readme file, but I still got an error. The log is a little bit long so I insert here a small portion. "*** Fetching…
iPadawan
  • 898
  • 1
  • 12
  • 23
0
votes
0 answers

Creating order API Binance with R

please help...:) I am trying to create an order via Binance API in RStudio, but I cannot create it. This is the code that I use: apiKey <- "*My API key*" secretKey <- "*My Secret key*" timestamp <- GET(url = "https://api.binance.com", path =…
Dom
  • 1
  • 1
0
votes
1 answer

Binance api for PHP function sell() not working

I am using the PHP Binance API from https://php-download.com I can see my fund: require 'BinanceClass.php'; $api = new Binance("$k","$s"); // key and secret key $balances = $api->balances(); But I cannot make an order to Sell: $quantity=0.076; …
alberto
  • 115
  • 4
  • 19
0
votes
1 answer

Difference betwwen processing 1,400,000 orders per second and 1,400,000 concurrent connections

You may have heard that some cryptocurrency exchange platforms claim to be able to proceed 1,400,000 orders per second. My question is that is this the same as having 1,400,000 concurrent connections per second? Please advise. Thank you.
0
votes
0 answers

How do I pass a const to my scope

I m trying to use the node-binance-api to retreive cryptocurency value. I am able to get the information and display it in the node console. Im doing so like this; var express = require('express'); var app = express(); var mongo =…
MadeInDreams
  • 1,991
  • 5
  • 33
  • 64
0
votes
4 answers

Reading JSON Dictionaries, line by line

Hi everyone :) I am a bit of a newbie when it comes to JSON & Python, working on a new project today and would really appreciate some help. This is what I have so far. I aiming to interact with the Binance API in a few different ways. url =…
Owen Jim
  • 13
  • 6
0
votes
1 answer

Binance userDataStream sometimes does not work

I have a problem with user_data subscription by websocket-sharp. I have no any errors, but sometimes I have no data from server. I send listenKey and have empty response (no errors), but when I send order, I have no any callbacks from user_data.
Dzam
  • 211
  • 2
  • 8
0
votes
1 answer

401 Unauthorized error Binance API in r

I am trying to create a new order via the Binance API using RStudio. I found the Binance Official API Docs and figured out that I should use: POST /api/v3/order (HMAC SHA256). The following script doesn't work out and gives a status code: HTTP/1.1…
Bart
  • 65
  • 1
  • 11
0
votes
1 answer

Error with installation of python-binance

I can't seem to install python-binance without running into an error.
Maurice Bekambo
  • 325
  • 6
  • 21
0
votes
1 answer

Inputting parameters for Binance API in Python

So I'm a newer beginning program in Python. I've been trying to piece together a program and I'm using the Python-Binance wrapper, but I can't figure out how to exactly enter in this parameter to get me return information in here. I'm trying to get…
Liamdaniel
  • 11
  • 3
0
votes
0 answers

Symfony 4 skeleton, error on calling php binance api and php binance api rate limiter

I want to call the Binance\API and Binance\RateLimiter in the controller, but because these two class have the same namespace. Symfony4 is returning an error "Attempted to load class "RateLimiter" from namespace "Binance". Did you forget a "use"…
Rick
  • 1
  • 1
0
votes
1 answer

Matlab API Binance

I try to get account information from Binance, using Matlab, but I get 404 error (not found). The Binance API is explaned here Binance Api I also found a post here, but did not help me to solve the problem Binance cryptoexchange API “/account” 401…
Belkacem
  • 1
  • 4