Lexii, my 2nd version of 3 cryptobots

in cryptocurrency •  6 years ago 

I have updated Lexii substantially in the past week or so. Lexii is intended to be a monitored bot that will trade crypto on binance automatically based on the values calculated from the technical indicators. I am well aware of other bots and many of the charting tools in use. I wanted to write my own using Go.

This is essentially the 2nd version of Lexii which is the 3rd of the crypto bots I have been writing in Go. Lexii works with the Binance exchange and scans all ETH pairs every 5 minutes. I used to try to have her work on a one-minute interval but that was not looking like a good prospect for making any money trading.

The latest innovation I have added is to create 2 different sets of the technical indicators I prefer. One set is based on 30 days of closing data for each day. the other set operates with the 5-minute interval data. the technical indicators I prefer are a Relative Strength Indicator (RSI) and a Moving Average Convergence Divergence (MACD)

By using a longer term and a shorter term set of indicators I am hoping to avoid the volatility and really short-term spikes that seem to have cost me so much in my crypto trading education.

Lexii saves the values calculated from the updates into a Postgres database. Only tonight did I get the code working that will if necessary, refresh the database schema and reload the data. Loading the data takes about 34 minutes so I have made provisions for restarts so she can pick up where she left off.

This is basically a command line program but does include a single page web display of what is going on. MerlinWs, another of my bots, included a way to fire a snap trade from the web page and that might get incorporated into Lexii at some future date.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!