Loading repository data…
Loading repository data…
parrondo / repository
Deep Neural Network Trading collection of Tensorflow Jupyter notebooks
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
DeepTrading is a collection of Jupyter notebooks. The objective is to organize in a systematic but flexible way all the necessary steps to calculate and conceive trading systems based on the Tensorflow software.
For more info see: TodoTrader DeepTrading Tensorflow serie
If you are Black Belt (BB) then "Quick Way" is your way of installation, else use "Detailed Way".
What!, wait...Am I a Black Belt?
Well, if you can use these Jupyter notebooks with "Quick Way" instructions then sure, you are a BB.
It is highly recommended to run DeepTrading in designated Conda virtual environment. To install Conda you can be guided by any of the many tutorials that are disseminated throughout the Web.
git clone https://github.com/parrondo/deeptrading.git
cd deeptrading
conda env create --file environment.yml
conda activate deeptrading
It's likely you want to have a .env file. It is a configuration text file that is used to define some variables you want to pass into your application's environment.
Example of .env file:
PROJ_DIR=.
DATA_DIR=../data/
RAW_DIR=../data/raw/
INTERIM_DIR=../data/interim/
PROCESSED_DIR=../data/processed/
FIGURES_DIR=../reports/figures/
MODEL_DIR=../models/
EXTERNAL_DIR=../data/external/
PRODUCTION_DIR=/home/PRODUCTION/
Here, you will learn how to install a conda environment designed specifically for deeptrading posts called DeepTrading with Tensorflow from a .yaml file.
At the end of these instructions, you should be able to:
You should have Bash, Git (Git Bash for Windows users) and the Anaconda distribution of Python 3.x setup on your computer and an deeptrading working directory. Installation of Git Bash (Windows users) and Anaconda is out of the scope of these instructions. Here you can find the hyperlink and below, how to test your set-up. So, Be sure you have:
Information below is adapted from materials developed by the Conda documentation for installing conda and managing packages.
Anaconda allows you to have different environments installed on your computer to access different versions of Python and different libraries. Sometimes libraries conflict which causes errors and packages not to work.
To avoid conflicts, we created an environment specifically for deeptrading posts that contains all of the python libraries that you will need.
Tip: For more information about conda environments check out the conda documentation.
To install the deeptrading environment, you will need to follow these steps:
Note that it takes a bit of time to run this setup, as it needs to download and install each library, and that you need to have internet access for this to run!
Tip: The instructions above will only work if you run them in the directory where you placed the environment.yml file.
Once the environment is installed, always make sure that the deeptrading environment is activated before doing work for this class.
See the instructions further down on this page to Activate a Conda Environment. Once the environment is activated, the name of the activated environment will appear in parentheses on the left side of your terminal.
This section provides the basic steps for forking a Github repository (i.e. copying an existing repository to your Github account) and for cloning a forked repository (i.e. downloading your forked repository locally to your computer).
Also you could see my post:
https://todotrader.com/robust-git-workflow-for-research-projects/
You can fork an existing Github repository from the main Github.com page of the repository that you want to copy (example: https://github.com/parrondo/deeptrading).
On the main Github.com page of the repository, you will see a button on the top right that says Fork.
Click on the Fork button and select your Github.com account as the home of the forked repository.
![](data:image/*;base64,iVBORw0KGgoAAAANSUhEUgAAAUMAAAAcCAYAAAD7nN2RAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wcSEjQ15g/AQgAAD6ZJREFUeNrtnXlclNX+x9+DMyDLgCLIYixuiGAoDKulhoamgt3u/VWK9rNbubSYlkvLVTbr103cql+a3hYrRdMUQbT7sxLMsgwGVDYFV5YZU1mGzRyW5/fH4AQXUIYcwnw+r9d5vWaeOec8zzmfcz7P9/s953lGoq1vEFTqS1RUVNDY2IiI2wuZtJfxzyEzpU8fG+zs7AwqV1xaSk11DfX19SIn3Xn+LvJ1saSEisoqtFrtXcGT3NysW7mQnL1wUWhsaMChvwO9e5sh4vYhOycXhe9Io59Hq9VSXFKKuYU59nb2nRZC7XUt9wxwxtTUVOSkG9EVvi6WlFBTU4ez893BV25eHvcFKrqVCxNNpQZnZ2fMepshgJhuY+oumJqa4nLPADSVVZ0uo6nUMGCAMzJTU5GTbkZX+LpaVnHXCOEfxYW0qbEJaS9pzxkpfyYI3UtqfX3n3aemxiZMZaZ3H+9Cz5mEhvDV2NgoCqGRuZD2rHumOPO699oEkRMRIpohFaVQlEKRExEiQCqOEFGtRYgQIVqGomX4O5CRoQTA318hctKDUFR0kfxTpwAY7umJq6vbTY+L0FuGXZ8W1dX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