I happen to have 144 lines of Ruby which implement the world&#x27;s most braindead market making algorithm, coded by someone who had literally never written a trading system before.  It cancels ~98% of orders before they are hit when running on a single stock on a single venue.