SAN ANTONIO
Posts: 9 since Feb 2021
Thanks Given: 11
Thanks Received: 6
|
It appears that you have already found the fault in your initial system: it didn't account for losses. Also, I think the main limiting factor is that you have a single account, so no matter how you slice it, all the risk is still occurring against that single account. Thus, you can just make sure that the tradeSignals align with the accountSignal prior to entering the deal (i have some pseudocode below, that might help).
I assume that you're trying to have the maximum amount of capital in the market at a time?
I would suggest being more conservative, and assume that until a trade closed, you would have to assume that each and every deal was a potential loser based on the stop loss and slippage encountered for an instrument.
Make sure that you consider these factors:
1. capital to purchase the contract
2. capital for intraday/overnight margin requirements
3. capital at risk (stop loss)
4. slippage (can vary per instrument)
5. correlation (though you mention 24 markets, keep in mind that entanglement is still possible, because some things like fossil fuel costs, international shipping, computer chips, or politics can have worldwide impacts)
So, maybe you have to consider not your current balance at the time you enter the trade, but your balance if you potentially lost the trade as well as whether or not you could meet margin.
thus, maybe this pseudocode is the direction you want to go:
tradeSignal = (your arbitrary trade entry rules)
accountCondition = (account_balance - (stopLoss + slippage + margin))
accountSignal = accountCondition > accountMinimum
enterTrade = tradeSignal(True) and accountSignal(True)
Also, consider that some tradeSignals might work better than others. It would be interesting if you shared your results. I don't necessarily care for the strategy (unless you're willing), but I'm most curious in what Profits and Losses look like trying to trade 24 markets. Maybe you'll be able to weed out that some tradeSignals (and/or markets) are more stable/profitable than others, and you could just concentrate on the profitable ones.
|