Navigation: Realtest Script Language > Syntax Element Details > T.Reason Category Trade Record Items Description The reason a trade was exited or an entry was skipped Notes Trade reason codes are displayed as text in the trade list window. This element is here in case you need to refer to a trade's reason code in a formula. Exit Reason Codes: Code Reason 1 exit rule 2 exit limit 3 exit stop 4 end of test 5 end of data 6 trade list 7 reduce position 8 roll forward Setup/Entry Skip Reason Codes: Code Reason 1 max invested 2 max positions 3 max entries 4 max same category 5 max same symbol 6 zero quantity 7 limit not hit 8 stop not hit 9 ambiguous timing 10 entry skip formula 11 max setups 12 max exposure 13 max new positions 14 max new exposure 15 max new invested 16 stop+limit not hit 17 no data 18 zero volume 19 setup skip 20 max long exposure 21 max long invested 22 max net exposure 23 max net invested 24 max short exposure 25 max short invested 26 min free cash 27 min net exposure 28 min net invested 29 max symbol exposure 30 max symbol invested 31 max category exposure 32 max category invested Copyright © 2020-2025 Systematic Solutions, LLC