outcometick
The Python strategy SDK for outcometick.com.
from outcometick import Strategy, Order
class MeanReversion(Strategy):
def on_market_open(self, ctx, market):
self.entered = False
def on_tick(self, ctx, tick):
z = ctx.zscore(tick.value, window=180)
if self.entered or abs(z) < ctx.p.entry_z:
return None
side = "DOWN" if z > 0 else "UP"
book = ctx.book()
self.entered = True
return Order(side=side, size=ctx.p.size, limit=book.best(side))
This package is the SDK surface: the Strategy base class and the Order
value object, so your editor and type checker know the API and your own tests
can import it.
The ot command line is distributed via npm, not here:
npm i -g outcometick
It runs Python strategies by spawning your local python3. Shipping one CLI
rather than two is deliberate — ot check must be the same validator the queue
runs, and a second implementation in another language would be the first thing
to drift.
Full reference: https://outcometick.com/docs/sdk
Metadata
Release files for outcometick 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| outcometick-1.4.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| outcometick-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / outcometick-1.4.0.tar.gz
| Download URL | outcometick-1.4.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
773fb1471577d5130434cb014d9a0e7fcdb362961c1ad8cf4e7c8996129c2be5
|
|
BLAKE2b-256 checksum How to use checksums |
2580d6c7542ef600e43d3fd27aa60c0823d20be22ede15c743c5f5d957d50398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 23, 2026.
Transparency logRelease files / outcometick-1.4.0-py3-none-any.whl
| Download URL | outcometick-1.4.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27d15d2438a000bbd52c5545fe21c47b283520044ec608bb6698cee1cec05e90
|
|
BLAKE2b-256 checksum How to use checksums |
54c92b59ace41f0799b915bd09efc413b4281e6e8deaf49dc497bdd55f1ef3df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 23, 2026.
Transparency log