Define symbols and order book types
masterLiquibook supports arbitrary UTF-8 strings as symbols. However, the mt_order_entry program has specific parsing rules and uses prefixes to determine the type of order book to create for a new symbol:
- Simple Order Book: Prefix the symbol with a plus sign (
+). - Depth Order Book: Prefix the symbol with an exclamation mark (
!). - Prompt for Type: If no prefix is used, the program will prompt the user to choose between
[S]imple,[D]epth, orNto cancel.
Parsing Restrictions for mt_order_entry:
- Symbols must not contain spaces.
- Symbols must not begin with
+or!(unless used for the purpose of defining the book type). - Avoid using
ALLor*as symbols to prevent conflicts with theDISPLAYcommand.
Note: Using a prefix on a symbol that already has an existing book will simply use the existing book and ignore the prefix.