PoorRican / tradr-rs

0 stars 0 forks source link

Add annotations to `ExecutedTrade` #52

Open PoorRican opened 2 months ago

PoorRican commented 2 months ago

A reason for the trade should be added. This would include taking profit, stop-loss, or any other reason.

The reason should include a complex object and include metrics such as price change %, loss taken, profit taken, etc.

This reason should be passed up through the PositionManager to be used in the ExecutedTrade