This repository is to be used alongside gotti-backend and gotti-frontend repositiories.
This is the core repository that includes all trading strategies, backtesting, signal generation and data processing.
pip install --requirements.txt
streamlit run ./main.py
The project is quite simple and has the following file structure
gotti-visualize/
├── data/
├── indicators/
│ ├── data_processing.py
│ ├── indicator_calculations.py
│ └── visualization.py
├── tests/
│ ├── test_data_processing.py
│ ├── test_indicator_calculations.py
│ └── test_visualization.py
├── main.py
└── requirements.txt
TA-LIB has been added to the project!! This means that numpy and pandas had to be downgraded as well!! To install :
- Create conda env.
conda create --name gotti python=3.12
conda activate
- Install TALIB.
conda install -c conda-forge libta-lib
conda install -c conda-forge ta-lib
- Install requirements.
cd path/to/project
pip install -r requirements.txt
-
Numpy and Pandas version conflict Downgrade numpy and pandas respectively
pip install "pandas<2.2.1" --force-reinstall pip install "numpy<2.0.0" --force-reinstall
-
TA-LIB library missing For all TA-LIB related problems refer here: https://github.com/ta-lib/ta-lib-python Or here : https://github.com/TA-Lib/ta-lib
This repo might be used in the future ONLY to generate, preproccess and visualize data. A new repo will be created to implement further data processing and machine learning models. This is to ensure that the project remains clean, easy to understand and most important, beacuase numpy and pandas had to be downgraded to install TA-LIB.
An oversimplified UI has been added to preview all sectors and all tickers registered under NASDAQ. Volume and Market Cap filters have been applied to reduce cluttering and non-tradable (by my decision) symbols.To view simply run
cd .\data\
python app.py
And then proceed to
http://localhost:port/dashboard/
NOTE : Replace localhost:port with given parameters
We welcome contributions to this project! To contribute, please follow these steps:
-
Fork the repository to your own GitHub account.
-
Clone the forked repository to your local machine.
-
Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Make your changes and commit them with clear and concise messages.
-
Push your changes to your forked repository:
git push origin feature-name
-
Create a pull request from your branch to the main repository.
Please ensure your code adheres to the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for more details.