One of the important aspects of any trade platform is quick, reliable information. My goal when building my app is to stay as informed as possible about the current climate of crypto-currencies. My progress update today will focus on the first step.
Here I created a rudimentary indicator for market health. The idea is that I can add multiple indicators to each given exchange, then continuously monitor them. If some exchange goes down or something severe happens, it will ideally better prepare us for the upcoming effects on the markets.
The first iteration here simply fires off a HEAD
request to specified endpoints associated with each market or web resource. An OK response indicates good market health, and anything else increments its related failures
. Several failures in a row confirms likely problems with the resource, and we alert the user.
The planned second iteration will ideally support:
- Detecting when an exchange or website is doing maintenance
- Parsing available status pages
Well written
Very interesting