Skip to content

Commit

Permalink
Fix subscription md doc formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Beard <cbeard9@bloomberg.net>
  • Loading branch information
chrisbeard committed Aug 15, 2024
1 parent 196d0b8 commit c7ff2c5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/docs/features/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,14 @@ manipulation, as a tiny subset of the C programming language.
- Negation requires one argument
- Junctions require two boolean arguments
- Junctions are short-circuiting: if the left side of `&&` is `false`, or if
the left side of `||` is `true`, the right side is not evaluated. As a
consequence, identifiers in an expression do not all need to have a
corresponding property of the right type. For example, `type == "i" && shares
> 1000 || shares == "all"` is valid, as long as the value of `type` and the
type of `shares` are properly correlated. `order == "limit" and limit == 0`
can be used to detect the messages that represent a Limit Order with a silly
limit value, and e.g. log an error message.
the left side of `||` is `true`, the right side is not evaluated.
- As a consequence, identifiers in an expression do not all need to have a
corresponding property of the right type.
- For example, `type == "i" && shares 1000 || shares == "all"` is valid as
long as the value of `type` and the type of `shares` are properly correlated.
`order == "limit" and limit == 0` can be used to detect the messages that
represent a Limit Order with a silly limit value, and e.g. log an error
message.

### Operator Precedence
{:.no_toc}
Expand Down

0 comments on commit c7ff2c5

Please sign in to comment.