Quote from vincegata:
Hello frostengine,
I've started writing a trading system myself, though I am good with C++ but this is the first time I am writing trading software hence I'd like to know if I've made the right architectural decisions. My main source of information are books by Richard Stevens on programming in Unix environment. I am using C++ on Ubuntu.
Could you recommend me a book, papers, or point me to some source of information on writing such system using C++, preferably on Linux/UNIX platform. I've looked so far at source code of QuickFix and Marketcetera, both seems bloated. Marketcetera is also written in Java but I am looking for C++ code.
Briefly my system consists of two executables:
system1 is a multitreaded app that:
thread1: monitors socket to download ticks in real time.
thread2: processes ticks to generate buy/sell signals, places new_order_message to FIFO (named pipe) to be read by system2, saves orders in order_book.
thread3: monitors FIFO for order confirmation messages from system2.
system2 is pretty much a FIX engine that is a single threaded app that:
monitors socket for a new FIX messages from a broker, if order confirmation arrived place it into FIFO to be read by system1.
monitors FIFO for new orders from system1, if a new_order_message arrived convert it into FIX format and send to broker.
I am also using MB Trading but I place orders over their FIX server.
Thank you.