Skip to main content

Python SDK for AlgoGTT Strategy Export API

Reason this release was yanked:

exposed source code

Project description

AlgoGTT SDK

Official Python SDK and CLI for interacting with AlgoGTT.

Installation

To install the SDK for the first time:

pip install algogtt

To upgrade an existing installation to the latest version:

pip install --upgrade algogtt

CLI Usage

export ALGOGTT_API_KEY="your_api_key_here"

# Extract parsing example scripts into your current directory
algogtt init

# Run analysis and execution commands
algogtt analyze --symbol NIFTY
algogtt report --symbol BANKNIFTY
algogtt execute --symbol NIFTY --action BUY --capital 100000

# Override the URL for local testing
algogtt analyze --symbol NIFTY --url http://localhost:8000

SDK Usage

from algogtt import SwingClient

client = SwingClient(api_key="your_api_key_here")

result = client.analyze("NIFTY")
print(result["total_pnl"])

Examples & Parsing Data

The strategy returns much more than just trades—it includes OHLCV candle data, strategy indicators (like MMM components), trailing stop loss activation levels, and explicit buy/sell signals for backtesting.

Check out the examples/ directory for sample scripts:

  • parse_trades.py: Python script to parse and format basic trade executions.
  • parse_signals.py: Python script showing how to export the full candlestick data with strategy indicators into a Pandas DataFrame.
  • parse_trades.js: Node.js/JavaScript fetch example (useful for React Native / Expo mobile apps).
  • No-Code Excel Guide: Learn how to use Power Query to pull live JSON directly into your spreadsheet automatically.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algogtt-1.0.13.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algogtt-1.0.13-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file algogtt-1.0.13.tar.gz.

File metadata

  • Download URL: algogtt-1.0.13.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for algogtt-1.0.13.tar.gz
Algorithm Hash digest
SHA256 54a981ca410b60b822fe5e2bae2bdf1ed7c7d6a79c8d0215ed0bf96b31a1b83e
MD5 ddbe3efffafec87c09948a0cafdf6e02
BLAKE2b-256 c5bf81e7924661d8da2af6cb3fcd57ff9c8cb11f095a8fd45e563c36328c2bde

See more details on using hashes here.

File details

Details for the file algogtt-1.0.13-py3-none-any.whl.

File metadata

  • Download URL: algogtt-1.0.13-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for algogtt-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cefdb4ed523316cd89d26a9e294e2ee6d9d42f1e0ec1145d45499a514a58c9e4
MD5 0fe5508ed64e06d33ba15204a831846b
BLAKE2b-256 1010ce83ccf0cfc434cb068b460b1d3213cb7df0bb940362b8b0bd09dcb19162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page