market history tool for Steem Smart Contracts now available in test

in #dev5 years ago (edited)

Hi again,

Just a quick note, as I said in my yesterday's post, I was working on the market history, a first version is now available at https://history.steem-engine.com/marketHistory

The parameters available are:
symbol: a Steem-Engine token symbol (required)
timestampStart: a unix timestamp that represents the start of the dataset (optional)
timestampEnd: a unix timestamp that represents the end of the dataset (optional)

Data available:
volumeSteem: volume of STEEM (STEEMP) traded
volumeToken: volume of tokens traded
lowestPrice: lowest price seen that day
highestPrice: highest price seen that day

Examples:

https://history.steem-engine.com/marketHistory?symbol=ENG
https://history.steem-engine.com/marketHistory?symbol=ENG&timestampStart=1554163200&timestampEnd=1554422400

The source code is available at https://github.com/harpagon210/ssc_tokens_history/tree/v2

(the full history (accounts and market) is being built right now so don't worry if you don't see the latest data there)

Sort:  

Hi, are you working also on a common version (not for developers only)?
I suggest CSF file suitable for Spreadsheets. This data seemingly has no line breaks, data field and data are not separated, I can't use Unix timestamp etc.
Thank you

Hi, @harpagon!

You just got a 0.05% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Nice! That was overdue.

Posted using Partiko Android

Hey man. Love your work. It really helps. Wanted to ask if you have the equivalent for a selection of scot_only tokens in JSON rpc methods? Here's a sample of the result I'm looking for - https://steem-engine.rocks/tokens?only_scot=true

I'm currently working on Steem Tribes List but would love to query only tokens that are actually tribes. Keep it up man, would really appreciate the help.

Is this stored on the blockchain?

Is there an API call like this for the order books? Thanks?