Generate the adapter
Declare what it can do
time_in_force starts at GTC only and why spot_margin_short starts False.Translate anything unusual
Most venues need nothing here. When one does, it is a parameter name:This is the only hook most adapters ever use. Everything else — sessions, book maintenance, rate limiting, rounding, error translation — comes from the base class.
Prove it works
Decimal, bids descend and asks ascend, the book is not crossed, rounding never rounds an amount up, and quantities are in base units rather than contracts.Add --private to include a real resting order, fetch, and cancel round trip, plus IOC and FOK if you declared them.Register it
The contract
An adapter provides these.ExchangeAdapter implements all of them, so a subclass usually overrides none.
Running the checks yourself
The conformance suite ships inside the package, so it works from an installed copy:Regenerating the reference page
If a venue quotes order quantities in contracts rather than base units, it cannot be added safely without extra work — its numbers do not mean the same thing as the rest of the book, and an order could be sized orders of magnitude wrong. The conformance suite detects this and fails.
Or just ask
New venues are added on almost every release. Register your interest.
