
Image: Screenshot https://leodex.io/market/LEO
The screenshot above, or a similar variant from HiveEngine or TribalDex, is probably well known to all of us. But it typically covers at most the last 3 months.
The API behind the above screenshot is https://accounts.hive-engine.com/marketHistory?symbol=LEO
, and gives a json list of entries like
{
"_id":"6053ed925ea01a2674c8d8fd",
"timestamp":1616112000,
"symbol":"LEO",
"volumeSteem":"5262.48599387",
"volumeToken":"1939.527",
"lowestPrice":"2.60000000",
"highestPrice":"2.78699900",
"openPrice":"2.74896998",
"closePrice":"2.72498791"
},
That's pretty cool, and easily usable with a bit of scripting! And the best is, it goes back to around April 2020, one value per day.
The timestamp format may seem a bit cryptic, but is just the Unix timestamp format in seconds since Jan 1st 1970, and can be converted into a more readable format in basically every scripting environment.
As an example, here is the LEO close prices per day since mid 2020 from the above API endpoint:
Yours
-π
Posted Using LeoFinance Beta