#### Expected Behavior <!--- Required. Describe the behavior you expect to see for your case. --> - `TradeBuilder` can detect strategies across multiple trades and generate a single trade per strategy #### Actual Behavior <!--- Required. Describe the actual behavior for your case. --> - Trade builder generates multiple 'trades' which mean stats are affected, 50% loss etc #### Potential Solution <!--- Optional. Describe any potential solutions and/or thoughts as to what may be causing the difference between expected and actual behavior. --> N/A #### Reproducing the Problem <!--- Required for Bugs. Describe how to reproduce the problem. This can be via a failing unit test or a simplified algorithm that reliably demonstrates this issue. --> N/A #### System Information <!--- Required for Bugs. Include any system specific information, such as OS. --> N/A #### Checklist <!--- Confirm that you've provided all the required information. --> <!--- Required fields ---> - [x] I have completely filled out this template - [x] I have confirmed that this issue exists on the current `master` branch - [x] I have confirmed that this is not a duplicate issue by searching [issues](https://github.com/QuantConnect/Lean/issues) <!--- Required for Bugs, feature request can delete the line below. --> - [x] I have provided detailed steps to reproduce the issue <!--- Template inspired by https://github.com/stevemao/github-issue-templates -->
Expected Behavior
TradeBuildercan detect strategies across multiple trades and generate a single trade per strategyActual Behavior
Potential Solution
N/A
Reproducing the Problem
N/A
System Information
N/A
Checklist
masterbranch