Giter Club home page Giter Club logo

binance-tutorials's Issues

client error

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."))

Error 1013

I got this error! Trading with ETHUSDT, Anyone have this error! How did you manage to fix this?

"NEW"

Hi how are you .
please inset a code about "grid bot" ove binance .
thank you very much for reply me .

good luck
god willing

adding a certain percent to close and using whole balance.

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

how to add stop loss?

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?

Binance Demo

Is there a demo account in Binance for testing?

Automatic Coin Choice

The current implementation requires the user to change SOCKET if TRADE_SYMBOL changes:

image

Is it possible to make the coin parameter in the link of SOCKET automatically adjust to the coin desired by the user in TRADE_SYMBOL?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.