Skip to content

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.

License

Notifications You must be signed in to change notification settings

testsabirweb/sample_trade

Repository files navigation

Algo Trading Custom Strategy Implementation (Upstox)

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.

Getting Started

Prerequisites

Ensure you have Python installed on your system. You can download it from here.

Installation

  1. Clone the repository:

    git clone https://github.com/testsabirweb/sample_trade.git
    cd sample_trade
  2. Install the required dependencies:

    pip install -r requirements.txt

Setup

  1. 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"

Running the Project

Run the main script to start your algorithmic trading strategy:

python main.py

Connect

For details and freelancing, connect with me on LinkedIn.

Disclaimer

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.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Apache License - see the LICENSE file for details.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages