Quote from speculatus:
If you have a full-blown ATS, its imperative to abstract it from any particular broker. That includes various data feed handlers, position manager, risk manager, various order gateways.
I started my TS in Python just to prove the concept, and then, when all logic has been debugged and tested, rewrote the whole thing into C++. Python is nice to build a pilot system because the development cycle is very short. But when it comes to execution speed in production, C++ is the only way to go given the current market conditions and participants.
Agree with first point...
My ATS is now about 15,000 lines of VB6 code...
Plus an Excel front-end which is a 10 MB workbook...
Tightly integrated...
And does all display plus significant calculation.
Maybe < 500 lines of code is IB specific.
My data feed handler is about 9,000 lines of VB6 code...
And together with an Excel front-end...
Takes Thomson real-time quote data...
And displays it PRECISELY the way I need to see it (no charts).
There is probably another 50,000 lines of various code going back to the 90s...
That does overnight number crunching or back office tasks.
As for speed and choosing C++...
I do not need millisecond latency to trade my stocks...
Mostly low volume NYSE issues.
Trust me on this...
If a stock trades a few 100 or a few 1000 times/day...
Total volume < 100,000 shares/day...
** Latency is a non-issue **.
If I had zero latency systems today...
My profits might go up by 10-20%.
Here is the fundamental problem with low latency approaches:
When you CHOSE to trade very liquid instruments...
And enter the low latency playing field....
You are CHOSING to compete with:
- the best trading operations in the world
- people with multi-million dollar tech budgets
It's like CHOSING to walk into the Bellagio...
And playing at the high stakes poker table...
Instead of systematically skinning fish at medium Party Poker limits.
My approach works very well on a medium scale...
I make a profit 90% of trading days...
And I got a good chance at $1 million net profit in fiscal 2008.