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
-1
votes
1 answer

Binanace get Order Book in C# .Net Core

i'm part of a MarketMaker team and currently need to get crypto Market Data from Binance. Here are the requirements... get public market data, so dont have api keys get order book market depth, at least last 1000 bid/ask prices. use websocket, not…
Zaken
  • 3
  • 3
-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

Is it possible to create a Binance/Coinbase account programmatically?

I noticed that services like advcash are albe to create a binance account automatically, but in the binance api docs I don't see anything to create accounts. The only thing would be to use sub-accounts but I it don't understand what they are and if…
-1
votes
1 answer

Solidity swap and liquify BUSD instead of BNB

When there are fees, normally contracts send tokens or BNB to wallets (i.e. marketing wallet) and auto add liquidity (swapandliquify) in BNB. I am attempting to replace BNB for both with BUSD. This requires a couple different functions taken from…
-1
votes
1 answer

bep20 web3 send tokens between accounts example

someone can provide how to transfer bep20 token on BSC testnet between accounts. I tried in different ways but have a problem
singlesly
  • 101
  • 2
  • 3
-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

How to subscribe binance via websocket by pyside6?

i can get stream by this code: from PySide6.QtWebSockets import QWebSocket ... self.websocket = QWebSocket() self.websocket_base_url = 'wss://stream.binance.com:9443/ws' self.websocket.open(self.websocket_base_url +…
ygz
  • 9
  • 1
-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
2 answers

Better way to fill out dict?

I'm using python with the binance.client wrapper. I'm gathering all of the BTC trade pairs from the exchange and wanting to create a simple dict with tradepair: price. I have figured a way to do this but it seems clunky to me and takes a minute or…
Tomc37
  • 23
  • 4
-1
votes
1 answer

I keep getting AttributeError: 'NoneType' and I don't know how to fix it

I am newer to coding in Python but I have been following videos to make a primitive crypto trading bot. I keep getting this one error: File "c:\Users\jate1\Desktop\Binance Bot.py", line 57, in strategyTest('BTCUSDT', 0.0003) File…
-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
1 answer

Regarding addition of Index with loops in same column in Python Numpy and Pandas

I am trying to perform automated excel operations, but with cryptocurrency data from Binance. I converted the data to pandas df, and then into a NumPy array. However, the thing is that I have 1 column of data which is volume. I want to perform a…
-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": [ { …
-1
votes
1 answer

How to update a google spreadsheet with data received from a Binance API

I am trying to extract btcusdt price from binance to a google spreadsheet on my gdrive in vain. I tried the following: import websocket, json, numpy as np cc = 'btcusdt' interval = '1m' socket =…
Nano
  • 1
  • 1
-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…