Skip to content

Orders with multiple take profit price and size? #991

Answered by djwatt3
djwatt3 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes,

trade = self.trades[0]
trade.close(portion = 0.50)

in this way you'll close 50% of your last order.

btw I switched to another framework better documented with a community and that allow you to do automatic live trading.

https://github.com/freqtrade/freqtrade

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bonpic69
Comment options

Answer selected by djwatt3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants