You are viewing a single comment's thread from:

RE: [ANN - automated market maker deployed ---> 0.777 volume at adjusted implied price for SBD, 0.1% spread]

in #steemit8 years ago

I highly recommend looking at the logic I use in my trading bot at https://github.com/pontifier/rebalancer

It trades using the idea of balancing the trades on either side of the market based on the amount in it's account. The more money it has, the tighter the spread. It is basically guaranteed to not loose money, or make bad trades unless the price crashes to nothing... IE it is always better off after a price change that returns to the current value.

I'm just afraid this is the absolute top, and I would never deploy it here.

The version in the public repo is old and I've made several improvements since then when I ported it to coinbase exchange.

Sort:  

thanks. I use a cost averaging effect in the current version to achieve similar result. The advantage is that it is nearly stateless and like your bot after the price retraces, it will be in profit. The reason is that if its theoretical price is above the current market, the buy side fills immediately and the sell side sits on the books at the theoretical value. Similarly, if the theoretical price is below the current market, the sell side fills immediate and the buy side sits on the books at the theoretical value.

So when the price reaches the theoretical value, the difference is locked in. Since it is maket making in a derivative market I dont think it matters so much even if the current price is the alltime high (I highly doubt that!) as the premiums fluctuation to positive and negative against the theoretical values.

Granted this might be a special situation, but I like to keep things as simple as possible that gets the job done

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 59628.53
ETH 2405.88
USDT 1.00
SBD 2.45