Created
July 22, 2019 22:08
-
-
Save mementum/d310bacbf2ae8d4d7999176ecd222a34 to your computer and use it in GitHub Desktop.
This file contains 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
# issue a target order for the newly top ranked stocks | |
# do this last, as this will generate buy orders consuming cash | |
for d in rtop: | |
self.log('Enter {} - Rank {:.2f}'.format(d._name, rtop[d][0])) | |
self.order_target_percent(d, target=self.perctarget) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment