Code Monkey home page Code Monkey logo

binance-trading-bot's Introduction

Binance Futures Auto Trading Bot

binance-trading-bot's People

Contributors

eugeneglova 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

Watchers

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

binance-trading-bot's Issues

Problems and Improvments

I have tested the tool and found some problems

  1. Order size adjustment after Taking Profit
    The size and price of existing limit orders should be adjusted after Taking Profit. The orders will be left with the initial value.

  2. A trade is open and I cancel the orders. And reset the range for limit orders and press restart. Then the bot automatically executes all orders as a market at the current price. So the position size is wrong and the entry failed.

  3. Improvement
    Amending the orders. It would be good if the placed orders can be adjusted during the open trade. For example I want to set additional limit orders via grid. Then they should be entered in the grid and set again. Maybe it makes sense to add a new button "Reset Orders" to do this.

  4. Improvement
    Reduce to Init value
    It would be desirable to have the possibility to execute a reduction to the initial value of the order. Example:
    Long Entry 18500, Size 0.1
    Limit Orders 18200, 18000 with 0.1
    Current position 0.3 with Average Entry 182333.33
    A reduction will sell 0.2 at 182335 (+0.1% due to fees). This reduces the position to the init value of 0.1 at an entry price of 18233. This improves the initial position

The Option: Auto start ?

Hello,
i found the option "Auto start".

What is it?
The bot trades automatically if this is activated?

Best Regards
Susan

what_is_auto_start

Can't Set It Up

Hİ there, I just bought the bot to test, and I give api and license keys. But bot seems to me not working.I am on macOS I also tried with windows.Here is the log file.

[2021-03-06 17:07:34.747] [info] disconnect
[2021-03-06 17:07:34.750] [info] get data stream
[2021-03-06 17:07:35.634] [info] listenKey mNlIC5Zihu4OMP4GSm7tuNLmWcWagbqugYjVhJAhzmPvNgSYeIJHXHMkKw1Ek3Bo
[2021-03-06 17:07:35.636] [info] [
'Futures WebSocket closed: mNlIC5Zihu4OMP4GSm7tuNLmWcWagbqugYjVhJAhzmPvNgSYeIJHXHMkKw1Ek3Bo (1006)'
]
[2021-03-06 17:07:38.428] [info] (default - 1) BTCUSDT LONG START
[2021-03-06 17:07:39.435] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:39.436] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:39.526] [info] (default - 2) BTCUSDT SHORT START
[2021-03-06 17:07:39.996] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:39.997] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:40.393] [info] (default - 3) LINKUSDT LONG START
[2021-03-06 17:07:40.844] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:40.845] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:41.773] [info] (default - 4) BCHUSDT LONG START
[2021-03-06 17:07:42.185] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:42.187] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:42.733] [info] (default - 5) LINKUSDT SHORT START
[2021-03-06 17:07:43.175] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:43.176] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:44.286] [info] (default - 6) ETHUSDT LONG START
[2021-03-06 17:07:44.723] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:44.724] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:45.070] [info] (default - 7) KAVAUSDT LONG START
[2021-03-06 17:07:45.504] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:45.504] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:45.870] [info] (default - 8) SUSHIUSDT LONG START
[2021-03-06 17:07:46.289] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:46.290] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:48.011] [info] (default - 9) ZECUSDT LONG START
[2021-03-06 17:07:48.468] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:48.468] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:48.880] [info] (default - 10) BNBUSDT LONG START
[2021-03-06 17:07:49.313] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:49.314] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:07:51.378] [info] (default - 11) BNBUSDT SHORT START
[2021-03-06 17:07:51.818] [error] Error
at IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1263:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-03-06 17:07:51.818] [error] TypeError: Cannot destructure property 'pricePrecision' of 'info.symbols.find(...)' as it is undefined.
at start (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/bot.js:1134:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async IpcMainImpl. (/Applications/EuphoriaBot.app/Contents/Resources/app.asar/src/electron/electron.js:1261:25)
[2021-03-06 17:08:00.903] [info] connect
[2021-03-06 17:08:00.904] [info] get data stream
[2021-03-06 17:08:01.860] [info] listenKey mNlIC5Zihu4OMP4GSm7tuNLmWcWagbqugYjVhJAhzmPvNgSYeIJHXHMkKw1Ek3Bo

Running multiple instances

Hi Eugen and many thanks for your keen and fast help !

If i were to run 2 instances for 2 different accounts, other than running it from source, how can i install a 2nd instance on the same machine ?

I test it with windows 10

Hello Eugen...
I test it the bot "v.1.1.11" with windows 10 on my PC.
My PC have german time.

The windows-logfile:

[2020-12-11 09:47:23.033] [info] connect
[2020-12-11 09:47:23.041] [info] get data stream
[2020-12-11 09:47:27.206] [info] listenKey ********
[2020-12-11 09:47:48.777] [info] BTCUSDT SHORT START
[2020-12-11 09:47:50.037] [error] BTCUSDT SHORT create orders date range limit reached
[2020-12-11 09:49:50.056] [error] BTCUSDT SHORT create orders date range limit reached
....

What is wrong?

Best Regards
Susan

Запуск бота

Привет Евгений!
У меня Mac iOS, вообще не понимаю как запустить бота на Макбуке
скачал файлы(жаль скрин не приложить)
В общем прошу помощи как его запустить?
Заранее спасибо за ответ!

Reduce Function

I've got still an issue with the reduce function
shouldn't the position here be reset to DCA level 2? Currently it looks as if the complete position is closed here.
Position size 0.074
Limit order 0.074

image

Install howto?

Hello Eugene,
i found yout reposity.

Have yo a install tutorial?

Best Regards
Susan

Preserve Filter Settings

I hope it does not annoy you when I open issues here :-)

It would be helpful if the filter settings are saved each time I change the tab.
It would also be helpful if I could adjust the sorting of the trading pairs manually. The newly created ones are always at the bottom.

How can i change ip?

Hello,
i installed on linux server.
I start the bot with: "npm start"

You can now view binance-trading-bot in the browser.
  http://localhost:3000

I must change the Ip-address für the bot. Where i can change the IP and the Port?

Best Regards
Susan

Leverage settings

Hi Eugen, great work !

  • Does the bot sets its own leverage ?
  • After the grid is set for several coins, including TP and SL grids, do you need to manually take actions to TP or SL ?
  • How many coins in parallel max are recommended ?
  • Does the bot saves its status in a DB ? Can it be re-initialized to "factory default" ?

Many thanks for your answers

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.