I have this code that I'm tinkering with: https://github.com/trooper5010/Lean/blob/master/Algorithm.Python/MACDTrendAlgorithm.py

I'm wondering what is the code to short 1 lot in a forex pair, set a TP, and set a SL?

Thanks

Author