Skip to main content

galore-sdk

Galore checks every trade an AI sends against rules a person approved once, before the trade reaches their brokerage (Alpaca, Robinhood, Interactive Brokers, Kalshi, Polymarket). It never picks trades, holds money or gives advice.

This is Galore from trygalore.com, the AI trade-check service. It is not the GaLore PyTorch optimizer (galore-torch) or the galore spectroscopy package.

The SDK talks to Galore's hosted practice API: no key, no account, nothing saved. rules and order follow the live connector's set_rules and send_trade schemas, so the same objects work there; the extra agent argument names the AI (live, its sign-in does).

pip install galore-sdk
from galore_sdk import Galore, make_order, make_rules

galore = Galore()                     # hosted practice API, no key

rules = make_rules(
    agents=["my-trading-agent"],
    instruments=["AAPL", "MSFT"],
    max_order_usd=2000,
    max_daily_usd=5000,
    max_quantity=10,
)
order = make_order(instrument="AAPL", side="buy", quantity=2, limit_price=190)
# make_order gives a fresh eventId; reuse an order's eventId only to retry that same trade.

result = galore.check("my-trading-agent", rules, order)
print(result["decision"])             # allowed | stopped | held | needs_person
for check in result["checks"]:
    print(check["rule"], check["passed"], check["detail"])

Command line: galore check --symbol AAPL --qty 2 --price 190.

Errors raise galore_sdk.GaloreError with .status, .code and .field (the bad input). Python 3.9+, no dependencies.

What comes back

  • decision: allowed (every rule passed), stopped (a rule failed; the trade never reaches the brokerage), held (this eventId was already sent; read its status, never resend), needs_person (above confirmAboveUsd; the person confirms in their own browser).
  • summary: one plain line. checks: every rule with passed and detail. practice: always true here.

Rule fields (live set_rules shape): connectionId, agents, instruments, sides, timeInForce, maxQuantity, maxOrderUsd, maxDailySubmittedUsd, maxOrdersPerDay, maxSnapshotAgeMs, expiresAt (ms), disclosure; optional confirmAboveUsd, maxPositionUsd. Live-only fields that need brokerage data are accepted and listed in notChecked. Optional context: ordersToday, submittedTodayUsd, positionUsd, availableQuantity, recentEventIds.

Real trades

Add https://connect.trygalore.com/mcp to your AI as an MCP connector and sign in with a Galore account ($19 a month, Night Stop included). The person approves the rules in their own browser; the same rules and order objects work there (brokerage for the real connectionId, set_rules, ask_to_approve, then send_trade).

Docs: https://trygalore.com/developers/sandbox · Source: https://github.com/mehek-builds/galore-sdk · License: MIT

Metadata

Release files for galore-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galore-sdk 0.1.0
File Size Uploaded Provenance Actions
galore_sdk-0.1.0.tar.gz 7.1 kB With provenance Details for galore_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for galore-sdk 0.1.0
File Interpreter ABI Platform Actions
galore_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for galore_sdk-0.1.0-py3-none-any.whl

Total release size: 15.4 kB

Release files / galore_sdk-0.1.0.tar.gz

Download URL galore_sdk-0.1.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fcb2cce29234573e94f4dd2ed4a9bb8f97ae1ed5d4331d4641a3b4f2923ffe26
BLAKE2b-256 checksum
How to use checksums
f3fdf28a49de8f373bf5b017b4cbbd9d18a99b7f1237677345ec5c06b4b27b0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / galore_sdk-0.1.0-py3-none-any.whl

Download URL galore_sdk-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1dd0a32baece69621b0df787ccaa7c44544b7e9fe46173be05a3911c4034877
BLAKE2b-256 checksum
How to use checksums
1f493f9f9457a889c8b55c000818419e1f0f1a75f07624dc506caa6939ea44b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for galore-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for galore_sdk-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page