Giter Club home page Giter Club logo

python-binance-itrader's Introduction

Python-Binance-iTrader

En: This is a project for trading on the Binance.
The main idea of the project is to read only the data that is needed.
Only a small part of the exchange functionality is implemented in the project.

I'm goona develop it as far as posible. If there is an interest in this solutuon, i am ready to cooperate.

RU: Это проект для торговли на бирже Binance.
Основная идея проекта заключается в том, чтобы считывать только те данные, которые необходимы.
В проекте реализована лишь небольшая часть биржевого функционала.

Я планирую развивать этот проект по мере возможности. Если к данному проекту будет проявлен интерес, я готов к сотрудничеству.

Project

Version Architecture:

  • dir: "ver 0.0 (demo)" - demo version 0.0. Readme.md
  • dir: "ver 1.0 (en)" - version 1.0 with interface in english . (source)
  • dir: "ver 1.0 (ru)" - version 1.0 with interface in russian (source)
  • "DIARY.md" - file description of project changes.

Project Architecture (each version):

    2 python files:
  • "binance_api.py" - for requests Binance API,
  • "iTrader.py" - Tkinter gui
    1 config file:
  • "iTrader.cfg" - file to save KEYs. if the file is not found, the program will create it.
    README file:
  • "README.md" - file description of the current version.
    Additionally:
  • dir "/Tmp data/" - to keep screenshots (and user guide - in progress) here

Functional

What is ...

  1. Reading account balances and open futures positions (RU: Считывание баланса аккаунта и открытых позиций для фьючерсов)
  2. BTC/USDT watcher. BTC price changes in the last 5 minutes (RU: Наблюдатель BTC/USDT. Изменение цены BTC за последние 5 минут)
  3. The tick chart of the pair for a few minutes (RU: Тиковый график пары несколько минут)
  4. Candle chart of the pair (RU: Свечной график пары)
  5. Candle chart of spot and futurers trading of the pair (RU: Свечной график спотовой и фьючерсной торговли пары)
  6. Futures trading: change Stop-Loss and Take-Profit of the open position on a candle chart (RU: Фьючерсы: изменение стоп-лосс и тейк профит открытой позиции на свечном графике)
  7. Futures trading: opening a position (RU: Фьючерсы: открытие позиции)
What is not implemented
  1. Reconnection to Binance (RU: восстановление соединения с Binance)
  2. Connecting to Websocket Market Streams (RU: Подключение при помощи websocket технологии)
  3. And a lot of other things ... (RU: И много чего ещё ...)

Window

demo-version 0.0 window

version 1.0 ru window

version 1.0 en window

Project roadmap

    FIX
    • Stop-loss and Take profit scales (RU: Корректировка шкал Stop-loss и Take profit)
      1. Fix Stop-loss and Take Profit scale max and min values (RU: Корректная шкала max и min значений Stop-Loss и Take-Profit) - DONE v 1.0
      2. Add numeric values (price) Stop-loss and Take Profit (RU: Добавление числового значения (цены) Stop-Loss и Take-Profit), сейчас только %)
    • Fix Candle chart (RU: Корректировка свечного графика)
      1. Real-time graph addition (RU: Дополнение графика в режиме реального времени)
      2. Adjusting the grid of the candles chart (RU: Корректировка сетки свечного графика)
      3. Correct display of limit orders for opening a position (RU: Корректное отображение лимитных ордеров для открытия позиции) - DONE v 1.0
    • Order book (RU: Стакан заявок)
      1. Optimization of order display by price and volume (RU: Оптимизация отображения ордеров в стакане по цене и объему)
    ADDING
    • SPOT trading (RU: Спотовая торговля)
      1. Create and delete orders (RU: Создание и удаление ордеров)
      2. List of orders (RU: Список ордеров)
      3. Preliminary calculation profit or loss (RU: Предварительный расчет прибыли или убытка)
      4. Trading history as list (RU: История торговли списком)
      5. Trading history on charts (RU: История торговли на графиках)
    • Futures trading (RU: Фьючерсная торговля)
      1. Create and delete few LIMIT orders (RU: Создание и удаление нескольких лимитных ордеров) - DONE v 1.0
      2. List of current orders (RU: Список текущих ордеров) - DONE v 1.0
      3. Trading history as list (RU: История торговли списком)
      4. Trading history on charts (RU: История торговли на графиках)
    • Connecting to Binance (RU: Подключение к Binance)
      1. Messages about connection errors that have occurred (RU: Сообщения о возникших ошибках подключения)
      2. Restoring connection in case of loss of connection (RU: Восстановление подключения в случае потери связи)
      3. Connecting websocket for reading streaming data (RU: Подключение к websocket для считывания потоковых данных)
      4. Ping monitoring (RU: Мониторинг пинга)
      5. Optimization and monitoring of the weight of requests (RU: оптимизация и мониторинг параметра weight в requests)
    • Charts (RU: Графики)
      1. Convient scaling graphs (RU: Удобное масштабирование графиков)
      2. Optional display of trading history on charts (RU: Опциональное отображение истории торговли на графиках)
      3. Adding other types of charts (RU: Добавление других видов графиков)
      4. Adding the ability to display multiple graphs (RU: Добавление возможности отображения нескольких графиков)
    • Interface (RU: Интерфейс)
      1. The ability to select the interface language (En/Ru) (RU: Возможность выбора языка интерфейса (En/Ru))
      2. Several color solutions of the style (RU: Несколько цветовых решений стиля)
      3. Optimization of widgets and their location (RU: Оптимизация виджетов и их расположения)
    • User guide or manual (RU: Руководство пользователя или инструкция)

Feedback and financial support are welcome

If you have found this project useful for yourself or are interested in its development - this is, of course, wonderful.
For feedback, write to me in Telegram: @GeorgeGor15
However, as the project becomes more complex and requires more time and attention, I will be grateful for any help (a few of my addresses below):
(RU: Если Вы нашли данный проект полезным для себя или заинтересованы в его развитии - это, конечно, замечательно.
Для обратной связи напишите мне в Телеграм: @GeorgeGor15
Вместе с тем, так как проект становится сложнее и требует больше времени и внимания, я буду благодарен за любую помощь (несколько моих адресов ниже):

BCH (Bitcoin Cash) : 1H2PnxbtkzfZj5Zwa5ZPjSwULp29mzZVCX
XRP (Ripple): rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh, MEMO: 108338326 (it is mandatory to specify a MEMO)
WAVES: 3P3SMBtuJLf5NaNM75sNVYycW2SUUPGhDdp

python-binance-itrader's People

Contributors

georgegor15 avatar

Watchers

 avatar  avatar

Forkers

hongmin78 zi10ge

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.