a 3-member Tuple of Maps keyed on stop loss
[ tpMap, typeMap, symbolMap ]
Example:
[
Map(2) { 1765 => [ 1784, 1786, 1789, 1792, 1797 ],
4800 => [ 4160, 4150, 4140, 4100 ] },
Map(2) { 1765 => [ 'BUY' ], 4800 => [ 'SELL_STOP' ] },
Map(2) { 1765 => [ 'GOLD' ], 4800 => [ 'ETHEREUM' ] }
]
Generated using TypeDoc
Group all trades into what is called a "family" keyed by
sl
. In other words all trades with the same stop loss belong to the same family.Example, the following nine (9) orders:
produce two (2)
familys
:getFamilyTrades
This functionality might be better served by grouping on the
position
field or even thecustomComment
field but unfortunately these fields are unreliable.