Productivity
Things are starting to shape up. I feel productive. Forward and backtesting is roughed in, but recording trades on disk to generate reports still needs to be implemented. This will allow me to verify whether I'm bullshitting myself. Backtesting currently works like this:
1. Press Alt+1 to start a backtest in a random period (this creates a new fake account and deposits the initial balance)
2. Review and place orders
3. Step day-by-day
4. Stop at day 90 (or whatever)
Before I do the trade persistence, I need to implement the risk management strategy which is really one of the reasons why I'm going through this process of developing Spartan. Roughly, the risk management works like this:
1. Only risk X% of account on each trade
2. Set a volatilty-related stop loss
3. Set a profit target for half the trade
4. After profit target is hit, move the stop loss to breakeven
I've done this manually during back testing, but man is it painful, and also allows me to be discretionary which is what I'm trying to avoid.
The other thing that I currently do manually, but will want to automate somehow is since I'm trading a few currency pairs, they will often signal together like say EURUSD and EURJPY. This could mean that I have double exposure to EUR. I don't have a formulaic approach to this, but I think there is a dumb thing that could work which is basically to take the current portfolio, take each position in each currency and scale it to the number of signals for that currency. So in this case, if I was signalling long both EURUSD and EURJPY, I'd risk X/2% on each. I haven't worked this out yet, so what I currently do is not take one or the other trade if I still have a position in EUR.
A little bit rambly, but fun.