Hello!
First thanks for creating this fantastic tool! I am very excited to start live trading. I just have a question that may or not be stupid, if so please forgive me.
I understand that the backtest and live PTL trader do not support stop loss, only time-limit stop loss. I understand the rationale for this, but how does the backtester simulate a situation in the case of being margin-called? For example if you are required 50% margin, but one leg of your pair moves against you by 50%, presumably the exchange will margin call you? And if you do not wish or are not able to add more margin, you must close the position...
I know that due to regulations, IB only allows 50% margin for most markets now, but I guess this must be even more pronounced in a market where it allows only 15% margin? For example if I had $10k at the recommended 5 slots, each at 15% margin, I could quickly find myself in debt if I was unlucky.
Is this simulated in the backtest, and/or is there a mechanism to deal with this in live trading?
Or am I just missing something obvious? Apologies if so.
Thanks!