Code Monkey home page Code Monkey logo

learn-backtrader's Introduction

<<<<<<< HEAD

  1. для настройки интеграции с Quik (отсюда можно взять последнюю версию https://github.com/finsight/QUIKSharp/):
  2. в Quik -> Сервисы -> Lua скрипты -> нажимаем кнопку добавить и выбираем файл QuikSharp.lua из папки "lua"
  3. после добавления файла убеждаемся что он выбран, и нажимаем !!! на стрелку около кнопки Запустить,
  4. выбираем пункт "Запустить в Lua 5.3.5", после запуска в строке файла в поле "Память, КВ" начнут бежать цифры,
  5. и теперь нажимаем кнопку "Закрыть" - интеграция сделана

=======

Здесь выкладываю некие наработки по BackTrader, видосы по ним находятся здесь:

Почему нужно брать библиотеку BackTrader с WISEPLAT?

Потому, что вы можете размещать ваши коммиты в моем репозитории - я применю их ASAP!

Чтобы установить backtrader из моего репозитория::

pip install git+https://github.com/WISEPLAT/backtrader.git

По этой ссылке https://github.com/WISEPLAT/backtrader вы можете предложить свои коммиты, я применю их ASAP.

1-й коммит: Возможность изменить фон для отображаемых тегов значений для темной темы - чтобы получить темную тему))) Когда вы используете темную тему, вам нужно изменить фон для отображаемых тегов значений.

2-й коммит: Исправление: В коллекциях последних версий Python.Iterable -> collections.abc.Iterable - для работы с Python 3.11+

Star History

Пожалуйста поставьте Звезду 🌟 этому коду

Star History Chart

Please put a Star 🌟 for this code

Why use BackTrader repo from WISEPLAT?

Because, you can post your commits in my repository - I will apply them!

To install backtrader from my repository::

pip install git+https://github.com/WISEPLAT/backtrader.git

By this link https://github.com/WISEPLAT/backtrader you can suggest your commits, I will apply them ASAP. This suggestion is made here, because of no one here doesn't want to continue this cool project!

1st commit: Option to change background for plotted value tags for dark theme - to get dark theme))) When you use dark theme you need to change background for plotted value tags.

2nd commit: Fix: In last Python versions collections.Iterable -> collections.abc.Iterable - to work with Python 3.11+

origin/master

learn-backtrader's People

Contributors

wiseplat 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

Watchers

 avatar  avatar  avatar  avatar

learn-backtrader's Issues

Запуск примеров

Доброго времени суток. Помогите, пожалуйста, разобраться. По какой-то причине не приходят бары при запуске примеров из этого репозитория. При запуске примеров QuikPy всё работает. Ниже некоторый вывод в консоль и трейсбек ошибки:

#Learn-BackTrader/get_all_shares_ok_quik.py
Подключено к терминалу QUIK по адресу: 127.0.0.1:34130,34131
Экземпляры класса совпадают: False
Терминал QUIK подключен к серверу: True
newBars:  TQBR|ROSN|60|0
Traceback (most recent call last):
  File "c:\:\PATHtrade\Learn-BackTrader\get_all_shares_ok_quik.py", line 76, in <module>
    load_data.ExportToCsvFromQuik(qpProvider, _ticker, timeframe, utc_till, how_many_bars,
  File "c:\:\PATHLearn-BackTrader\SharesDataLoader\DataQuik.py", line 142, in ExportToCsvFromQuik
    df = self.GetShareDataFromQuik(
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\PATH\trade\Learn-BackTrader\SharesDataLoader\DataQuik.py", line 77, in GetShareDataFromQuik
    pdBars = pd.DataFrame.from_dict(pd.json_normalize(newBars),
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\PATH\Lib\site-packages\pandas\io\json\_normalize.py", line 447, in json_normalize
    raise NotImplementedError
NotImplementedError

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.