My response to earlier xeroc's post is pretty close to a pseudo code... reposting will not help reducing the pages from 12...quite the opposite.
I think your psuedo code is a good starting point.
All numbers/percent are parameters adjustable by the committee (for the bitAssets).
To qualify for the reward (calculated and paid every 7 days).
1.An account must have the best bid (or ask) for min 5% of the time.[combined for all qualified orders of his during those 7 days]
To qualify:
2.A sell order should be no more than 6% above the peg; a buy order should be no more than 1% from the peg price.
3. The order should be the best bid or ask. (1)
4.The order should be for min of 150 bitUSD [it can be bigger but if the order is for bigger amount, credit is given for max of 150 biUSD] (2)
Every 7 day the script is run and the funds are divided between accounts having placed qualified MM orders:
- proportional to the time the orders were on the order book and met all other criteria above.
- for the full 150 bitUSD and/or following rule (2)
(1)Orders (say N=10 times) N times smaller than the market maker's order at better prices do not violate the best bid/ask condition.
(2.)The MM in regular stock market place both bid and ask orders to qualify; if we want to give the reward for just a single side we have to weight the order toward the other side of the order book, or some other way. Say MM1 places just a buy order - it is given credit only for the sum of sell orders falling within the max spread (5% spread max in the example above)
Nasdaq is incentivizing the display of orders for (a) 500 shares at the best bid and 500 shares at the best offer, 30% of the time, and (b) 2500 shares at no wider than 2% of the best bid and 2500 shares at no wider than 2% of the best offer, 90% of the time. I don't think we need to specify a minimum number of shares or what % of the time they need to satisfy the above conditions, but perhaps we could simply make the reward proportional to the length of time MMs have orders on the books, the size of the orders, and the distance from the price feed. And maybe we should require that orders be on the book for a minimum period of time, as some have already suggested.
I don't however agree that there should be a 150 bitUSD limit for an order to gain points for the reward. Isn't a 1000 bitUSD order more valuable to BTS shareholders (and users) than a 150 bitUSD order? It seems wrong.. the person providing more liquidity should earn a bigger portion of the rewards.
1. All numbers here are just that - numbers. I see them, as explained in the post, as parameters for the committee to adjust as more info is gathered by watching the algo and its performance meeting the reality.
That being said:
- the logic behind 'min 5% of the time being the best bid ask' - 5% do seem low (I actually think we should start with something like 10% - BUT keep in mind it limits the max allowable number of MMakers that get paid - setting it 30% will mean a
max of int [3.33] of 3 accounts can be paid in a given market. Do we want that? Idk, seems too low to me.
-there is a very good reason why Nasdaq pays for 500 shares and do not pay proportionally more for 600 or especially 6000 shares. - The idea is not to encourage big orders for relatively short periods but orders with enough size all the time....
-on the size of "150 bitUSD" - it is my personal (subjective) bare min. number. if we can start with 500 it would be better of course.... My only note here is to keep in mind this is MIN to qualify for the reward...one would think that any reasonable market maker will start with at 2-3 times (maybe more) bigger orders, just so he must not constantly 'refill' the orders, as the already placed orders get matched.
2bts