Forum

Stop price and stop limit to risk N%

This might be a silly question but, in an environment where stop loss is not available but instead i can stop price/stop limit, how should i proceed? Let's say i have $100 and i want to risk 1%, the stop loss would be $1, but doing stop price/stop limit: 1) Should my stop price be the stop loss and

[PYTHON] I have problem determining stop loss and take profit if i am not using all my capital

Hello, this is my first post, my following function behaves as expected if i let it determine my position size, but when i choose that position size with another value, it gives me wrong result, for this problem i'm not using tick size yet. >>> def sltp_calculator(account, entry, position_size=None