05-23-2019, 10:56 AM
Hello! New in the forum, glad to meet u
I am struggling with sticky orders and I wonder if there's a method to notify the strategy plugin the final buy or sell price that the sticky order has filled.
Let me explain: I have created a strategy where I stored the buy price to calculate the profit percentage, but the sticky order sometimes modifies the final price, so my calculations are wrong. Do we have access in the strategy to the last filled order?
Thanks!
I am struggling with sticky orders and I wonder if there's a method to notify the strategy plugin the final buy or sell price that the sticky order has filled.
Let me explain: I have created a strategy where I stored the buy price to calculate the profit percentage, but the sticky order sometimes modifies the final price, so my calculations are wrong. Do we have access in the strategy to the last filled order?
Thanks!