This project helps traders implement their custom strategies for algorithmic trading using Python. The repository includes a basic structure to get started with your own trading algorithms.
Ensure you have Python installed on your system. You can download it from here.
-
Clone the repository:
git clone https://github.com/testsabirweb/sample_trade.git cd sample_trade
-
Install the required dependencies:
pip install -r requirements.txt
- Create a
my_secrets.py
file in the root directory of the project with the following content(upstox only)
:CLIENT_ID = "your CLIENT_ID" SECRET_KEY = "your SECRET_KEY" FY_ID = "your FY_ID" TOTP_KEY = "your TOTP_KEY" PIN = "your PIN" REDIRECT_URI = "your REDIRECT_URI"
Run the main script to start your algorithmic trading strategy:
python main.py
For details and freelancing, connect with me on LinkedIn.
This repository is for educational purposes only. It reflects my personal experience with algorithmic trading and includes only a part of the complete code. No strategies from my previous clients are exposed here.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache License - see the LICENSE file for details.