Breach
idstringRequiredrule_idstringRequiredrule_typestringRequiredperiodstringThe trading day (YYYY-MM-DD) for daily rules.
limitnumberRequiredThe rule's limit, in unit.
valuenumberRequiredWhat was observed, in unit.
unitstringRequiredThe same for sessions and demo accounts: money (a decimal in the account currency)
for money rules, units (lots, contracts, coins or shares, up to three decimals) for
max_position_size, count (a whole number) for max_open_positions.
atstring (date-time)RequiredThe crossing: replay time for backtests (the bar's time), the exact price change for demo accounts.
at_precisionstringRequiredbetween: across a gap in our price records, the crossing was between window_start and window_end.
window_startstring (date-time)window_endstring (date-time)pricesobjectRequiredNullableDemo accounts: the bid/ask by market at the crossing. Sessions: {}.
actionstringRequiredaction_appliedbooleanRequiredfalse when Chartnaut has paused rule actions for you (an emergency stop): the breach is stored and nothing is done.
detected_atstring (date-time)Requireddetected_bystringRequiredWhere it was found: client or replay for sessions; sweep (a price change) or event (a fill, close or adjustment) for demo accounts.
