Created
June 9, 2020 07:57
-
-
Save saleh-old/7d3c604598840f26db5b6d9aeb5d8a5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def on_reduced_position(self): | |
self.stop_loss = self.position.qty, self.position.entry_price |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment