Code Monkey home page Code Monkey logo

binance-bot's Introduction

binance-bot

Very simple binance trading Bot using Binance REST API

Welcome to Binance Bot!

Disclaimer: This bot will not guarantee you profits. By using this bot, you agree that you assume full responsibility and full liability for all transactions. It has been designed so that you will not have to deal with any API limits. Please don't go crazy.

Trading Concept: Input the Symbol you want to trade on (for example, "TRXBTC"). The bot will then take half of your available cryptocurrency and make a limit order according to the last minute's close. Once confirmed, it will try to sell the same amount on a 1.1% profit (this can be changed within the program). It will keep running until this is successful, or you can manually stop it. After the transactions are complete, it will calculate your percentage gain using the formula:

enter image description here

To Download:

Download sammchardy's binance package. Make sure you have the binance package installed via pip. Then clone this repo, insert your API key and API secret at the top, and run binance_bot.py.

Note:

If you run into an error having to do with installing Twisted and Microsoft Visual C++ Build Tools, simply download the appropriate wheel file from here (cp26 for Python 2.6, cp35 for Python 3.5, etc.) then install the wheel (i.e., pip install Twisted‑17.9.0‑cp34‑cp34m‑win32.whl)

Any contributions are welcome, as this is purely experimental. Cheers!

binance-bot's People

Contributors

kalaborative avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binance-bot's Issues

Index error

I can get the bot to run, i enter my symbol and get this error. Any ideas?

File "C:/Users/Alan/.spyder-py3/binance-bot-master/binance_bot.py", line 78, in
most_recent = klines.pop()

IndexError: pop from empty list

Testnet

Can I use this bot for testnet futures API?

Can't Trade

I had some issues to setup your bots.

Now i have the problem that i can't trade.

Output:
`> "XVGETH"
Last close price for XVGETH was 0.00006029
('Your profit target is', '0.00006096')
Your order will be for 0.00006029 with 17.8266710897 XVG
Buying...
Buy method 1, three decimal places
Method 1 failed.
Buy method 2, rounded coins
Method 2 failed.
Buy method 3, rounded coins but minus one
Method 3 failed.
Buy method 4, 2 decimal places
400
Filter failure: LOT_SIZE
Enter a symbol.

`

Interesting bot

Hello,

I would like to know if this bot does only go for the 1.1% profit and then stop working? I‘m really interested to have an fully automated bot..

Cheers

ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package

Hi there,
I'm quite new on this and I need some help to fix this Issue.
I tried to run binance_bot.py but i have always tha same error.
My python verison is 3.6.4
I have imported Binance api trough pip install binance

C:\binance-bot-master>python binance_bot.py
Traceback (most recent call last):
File "binance_bot.py", line 5, in
from binance.client import Client
ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package

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.