Monday, October 31, 2016

Call it the Pit Boss

The sitr bot,the pit boss. It has then job of quickly organizing the mass of undifferentiated ask and bids on the bottom of the graph, where the singletons piling up.

Each of the singletons will active a bot soon, to go  search a match.  The pit boss wants these bid/ask bots to wake in on a node that encloses his most probably match.

So this pit boss has the trade off, group the singletons in large sets, few groups, or pay the cycle price and get small sets of many groups. So my pit boss will check transaction rates on input,  set the group size, then map the bid/ask values to the proper bin, then sort the bins in Huffman style.

How to map prices to bins? It is the sort function that I supply to select the sort key value, and it is not necessarily ordered by bit significance. The real ordering is how the trader bots left the tree after getting matches, or not.   The Pit boss can be constructed as a learning banker,  What it gets is binary prices, but what it wants is probability of a match.  There is a lot of room here to make big bucks with a smart, efficient pit boss.

If the algorithm sorted by the MSBs of price, and by ask or bid, Then the bins with unequal amounts of bid to ask are low probability of a match, bubble them up and further subdivide.

The trading bots get it, they wake up,their asking price has no matching the current bin, they spend cycles searching, or they drop through, bid not takes.  No ask/bid offer is permanent, all contracts have time limits.  The traders will flock to sites that have great Pit Boss algorithms, I will be rich.

No comments: