The COSSening - CELT - Explaining the Bot and CELT

in #cossio7 years ago

Hi COSSmunity,

This post right here is to give you potential CELT token owners more info about the bot I'm using to improve liquidity on COSS, I've added some in bot counters to keep track of how many times the bot reduces the spread, opening both a buy and sell position. it is possible sometimes the limit orders get rejected due to a rounding error in the limit requests. This is caused by the fact that the user side also needs to calculate some parameters regarding fees that need to be sent in the request and they sometimes don't match the stepsizing etc we don't know from the server as this info is not available.

Moving on,

The bot in action:

![cossbot1.PNG]()

Each cycle(20-60 seconds) the bot simple fetches Market Depth, calculates spreads and then executes trading logic. The logic for trading in this bot is simple: If spread is > 0.85% => place a buy and sell.  To discover the actual market price they are placed at the average of first bid and ask minus and + a 0.3% rounded to improve the prevention of placement failure due to rounding errors. (Currently disable LTC pairs because of this)

This way the bot will pay 0.4% in fees when those orders get filled and net a 0.2% profit. So for a 10 COSS roundtrip it would be 0.02 COSS profit(actual profit will be in ether but it's prettier to calculate in COSS). So while this bot is not built to chase profit it serves as a great community project and rep building exercise for me. 

COSS Exchange Liquidity Token (CELT)

The bot can't do the 'heavy lifting' without funding, which is why I'm gonna introduce the CELT token. It'll be a standard ERC20 token with a buy and sell function built in at the contract adress. Prices will start at 1000 CELT for each 1 ETH and the CELT price will increase in ETH value as soon as the bot shows significant profit. The goal is to try and keep track of the amount of crypto gained each week by publishing the amounts in the bot account and keeping track of all crypto's ETH conversion rate. COSS has shown us transparancy is king so I'm gonna do my best to try and be as transparant as possible. CELT trading prices are changed then by me by changing them at the contract adress.

Example snapshots taken from my current account the bot works on at random timeframes:

![COSSbot2.PNG]()


So the amount of ETH equivalent or profitabillity will also depend on that crypto's market price at that time.

At time of writing I haven't deployed the CELT contract yet and they are not yet available for buying, this will be with my next update. The CELT token will always have ETH value as long as there is ETH available in the contract. the goal is to keep the 10% of ETH  funds raised in the contract so the token always has value, should you want to cash out more ETH than available in the contract simply send me a message on reddit or wait till I (daily) check if there is enough ETH available in the contract. Expect CELT to be available this week.

Please upvote and share with your fellow COSSmunity members if you can. As always I'm open for honest critisism and feedback.

Le'ts finish with an updated snapshot of the bot between taking the first one and and finishing this post:

![COSSbot3.PNG]()

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 98477.90
ETH 3327.94
USDT 1.00
SBD 3.07