Code Monkey home page Code Monkey logo

optimora's Introduction

OptiMORA

Python app to optimize TradingView strategies. Designed by Camilo Mora and developed by LightCannon.

WARNING: Tradingview is known for blocking accounts that use automatized precedures within their plataform. A delay is implemented in this app, which make it very slow to run, and prevent being blocked and overloading their servers. Use this at your own risk. It is recomended that you save all your scripts before using this.

Installation

Get the ChromeDriver

  1. Check the version of Chrome you use. Type "Chrome://version" in your Chrome browser. The version is the number in blue. The first numbers are the important ones.

While you are in this part...copy the Profile path (Blue selection in image below), and save it somewhere as you will need it later.

  1. Google "chromedriver download" or go Here and donwload the latest driver for your chrome version. It is the one with the same first numbers. In the case above, it is the one for version 111.

  2. Download the OptiMORA.exe file in this reposotiry and put it inside a folder.

  3. Inside that folder place the Unzipped ChromeDriver you downloaded in step 2.

  4. Create an empty folder inside this folder and name it "run", this is where all files will be downloaded to.

  5. Set the download folder path in Chrome. Click on the Menu bottom in Chrome (sandwidtch buton on the upper rihgt corner), then click on "Settings"

The click on "Dowloads", then click on "Change" and direct to the "run" folder you created in step 5.

Instructions

Before runing the app you need to settup Tradinview:

  1. Opent TradingView, login and load the strategy you want to optimize. Click "Save" the layaout,

copy the Chart Path

Close Chrome.

  1. Double click on the app (Be sure that Chrome is closed). This will open up two windows, in it paste the Chromeprofile Path and the Chart URL you copied above.

  1. Clicking on "Capture" will collect all the paramters in your stretegy (Be sure that Chrome is closed). All parameters should now appear in the GUI...You may have to expand it, with the buton shown below.

  1. From that GUI, you net to tickmark the parameters you want to optmize, and select any values you want. After you have set the values you want to optimzie, the can be tested on the active ticker, the whole watchlist and in the Deepbacktesting, by clicking on the respective buttons.

The OptiMORA only optmizes values you "Use" in the GUI... you need to be sure to set any default value, before runing the optmization; those default values will not be touched by OptiMora.

optimora's People

Contributors

camilo-mora avatar

Stargazers

Little Fish avatar

Watchers

Little Fish avatar  avatar

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.