Skip to main content
Or pass it directly: SoryClient(config=config, licence_key="..."). The key is checked when the client is constructed, so there is no way to skip the gate by using the object without the context manager.

How it works

A key is a signed payload holding your name and an expiry. SORY verifies the signature locally against a public key embedded in the package. No server, no network call, no downtime risk. Validated keys are cached for 24 hours, keyed by digest — the key itself is never written to disk.

Errors

Getting a key

Request a licence

Tell us the venues and symbols you plan to trade.
Keys are issued with an expiry and re-issued on renewal.