hackingthemarkets / binance-tutorials Goto Github PK
View Code? Open in Web Editor NEWReal-Time Candlestick Charts and Crypto Trading Bot using Binance API and Websockets
Real-Time Candlestick Charts and Crypto Trading Bot using Binance API and Websockets
im getting the following error
File "C:\Anaconda3\envs\py39\lib\site-packages\requests\adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.binance.us', port=443): Max retries exceeded with url: /api/v3/ping (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
how would i need to alter the code to produce simple moving average crossover?
I got this error! Trading with ETHUSDT, Anyone have this error! How did you manage to fix this?
Hi how are you .
please inset a code about "grid bot" ove binance .
thank you very much for reply me .
good luck
god willing
Hi,
i let run the code for a full day and it does not buy or sell ETH.
I did not change any line of code except the api key and api secret.
I can see in the python output console, the code is running and get data every 2 seconds.
i see when the candle is closed etc but nothing is happening.
Also i'm trying from Canada.
Thank you
Hello, I have a Python bot going for binanceus I am looking to make it so that when I create a limit sell order it might add a certain percent to the close so it gets filled faster. Also Looking to see how I can sell my whole balance instead of just a set amount. Thanks!
import ccxt
import config
binanceus = ccxt.binanceus({
'apiKey': config.API_KEY,
'secret': config.API_SECRET,
})
def trade_crypto(request):
data = request.get_json()
tickers = {
'DOGEUSD': 'DOGE/USD'
}
ticker = tickers[data['ticker']]
order = binanceus.create_limit_sell_order(ticker, 9393, data['close'])
return order
deleted
This is a great project to learn using python in market. but as you know, stop loss is an essential point which is ignored in this code.
How can I add a dynamic stop loss in this code?
Is there a demo account in Binance for testing?
When I command "wscat -c wss://stream.binance.com:9443/ws/btcusdt@trade"
it got an error "error: connect ETIMEDOUT 69.171.246.9:9443" everytime.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.