Sandbox#
Practice trading with the Python SDK's paper mode. It runs on your machine: the SDK reads the venue's live order book, fills your orders against it with the venue's real fees, and sends nothing to the venue or to Layer.
python
from uselayer import Client
client = Client() # paper mode is the default- Paper trade: the full example.
- One strategy, every mode: the same code in backtest, paper and live.
- What paper mode can't tell you: where simulated fills and real ones differ.