Having started trading manually around 2008/2009 and having mixed results, I found more consistency with automated trading (2010). I gave up a couple of years ago to focus on my business but returned in 2015 to see if I can improve on my previous results and maybe develop new bots, eventually in visual basic.
The first goal on my return was to take my previous bot, which was a mix of cell formula and VBA, and write it fully in VBA. I wanted to do this to improve my programming skills and hopefully manage the bot better. Once the bot was running well in pure VBA I moved it onto a VPS for improved response times and consistent up-time.
My main bot, Oscar, runs 24/7 trading UK greyhounds and Australian horses. My other bots are works in progress and are running live, paper trading or paused for development.
I started this blog for myself to help keep track of progress and keep motivated. But also there’s not many automated trading blogs out there that are realistic or that aren’t trying to flog betting/tipping/data services, so I hope this provides something a little different.
Here are some important programming points that I’ve learnt –
- Always double check code. Always. Especially when cut and pasting.
- Test run all code – all of it.
- Don’t make multiple code changes in one go. Change one thing then test. Then change another.
- Always create a new version before making changes – it makes life so much easier when a pig’s ear has been made.