DemoMode
Defines behaviour when the Matching Engine is started in demo mode via the demomode option.
In particular, if the Matching Engine is running in Demo Mode, the following will be the case:
- Passwords are not checked
- Price checks on orders are not enforced
- Quantity checkes on orders are not enforced
- Value checks on orders are not enforced
- If the
Accountfor a new order starts with*or is null, the firstAccountfor theFirmwill be used
Metadata
- Underlying type:
u8
Values
| Key | Value | Description |
|---|---|---|
| AfterRestart | 1 | The Matching Engine will enter Demo Mode after startup, or, if reading from a transaction log, after reading the complete transaction log. |
| All | 2 | The Matching Engine will enter Demo Mode immediately, including while reading from a transaction log. |
| Replay | 3 | Not used, for future use. |
| NoPasswords | 4 | The Matching Engine will allow users to log in with blank passwords, password checking is disabled. |