I am building a simple trading application (on TradeLink, C#) and want to implement some simple accumulation / distribution execution algos, by which I mean algos that can break up a large order into many smaller orders to minimize impact on what can be a relatively illiquid market.
I've already got my algos that tell me when I want to trade, now I need to implement the "how" to get that order filled. At the moment I'm not trying to "win" the HFT game, just trying to get my orders executed at something close to VWAP/TWAP through a mix of passive limit orders, and aggressive limit orders and/or market orders.
Are there any good sources of *example code* or pseudocode for order execution? Obviously no one is sharing their super-secret HFT money machine, but certainly there are algos which are outdated and widely known which may be a good starting place for me to modify? I've read Barry Johnson's book on DMA as well as many others and they all explain the concept of IS or minimized impact algorithms but stop short of actual code.
Any suggestions sources of code/pseudocode for simple execution algorithms would be much appreciated.
Thanks in advance
I've already got my algos that tell me when I want to trade, now I need to implement the "how" to get that order filled. At the moment I'm not trying to "win" the HFT game, just trying to get my orders executed at something close to VWAP/TWAP through a mix of passive limit orders, and aggressive limit orders and/or market orders.
Are there any good sources of *example code* or pseudocode for order execution? Obviously no one is sharing their super-secret HFT money machine, but certainly there are algos which are outdated and widely known which may be a good starting place for me to modify? I've read Barry Johnson's book on DMA as well as many others and they all explain the concept of IS or minimized impact algorithms but stop short of actual code.
Any suggestions sources of code/pseudocode for simple execution algorithms would be much appreciated.
Thanks in advance