Documentation/Expressions

Python SDK

Programmatic access to strategies and backtests.

pip install lattice-quant

from lattice_quant import Client
c = Client(api_key='...')
wf = c.workflows.get('VIvl0FhbS6xUC7')
report = c.backtests.run(wf.id)
print(report.metrics.return_pct)