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.11.tar.gz (9.4 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.11-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: algogtt-1.0.11.tar.gz
  • Upload date:
  • Size: 9.4 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.11.tar.gz
Algorithm Hash digest
SHA256 595008d84e1465ba1850a019d823e444dfe8e51381c793472479bbcd6ff9d40a
MD5 2d28ac1076d19a7b6ca2127abc891d78
BLAKE2b-256 e6d2135a532ff35cadff9e25da8a073665f491d32a17b8eb45a22674abb1e41d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: algogtt-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0a462afc3867cb05e283164f29dc4eb1a1d4d7e6fc9929b6b30ffed2109dddfb
MD5 49e88aee0c982783c7d485dd46a09364
BLAKE2b-256 d13c4af155946d551e84b76c12518204e41cd6daddf5b7cc8dfc2cf1be01ea33

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