Not sure if I have this formatted correctly, but here goes.
When we take a short position, I want to set the context.target to the current_price - context.tgtval.
But the code appears to be adding the context.tgtval instead of subtracting it.
It even adds the value when I remove the variable and type the amount directly.
I put a comment with the word BUG right above where this happens.
What am I doing incorrect?