usecase #461: iota candlestick data (of exchanges) to the tangle?
I would like to see, minute candlestick data (high, low, open, close, volume) of iota price written to the dangle. So you could get
- the actual price without a thirdparty (like coinmarketcap)
- on the ling run a source for historical price data
Maybe seperated for every exchange, so you could mix this data yourself for the average price development. Maybe this would also be a nice feature for the IXI hub (but i don't think exchanges would activate it). What do you think?
Posted Sep 6, 2018, 1:15 PM UTC
16
Check out knowm, provides a single API that you can connect to most of the exchanges API's and get the data you want
https://github.com/knowm/XChange
Thanks. Do you mean, we should modify/fork knowm so that the data could be written to the tangle? One of the points is, that some exchanges does only provide a short time frame of historical data. For the future it would be nice to have an independet source.
Hi, actually misread that you actually wanted the data written to the tangle, but rather that you wanted a easy way to get the data.
Knowm just provides the code to easily build a system to get the data from each of the exchanges, you would still have to build something to collect the data and then post it to the tangle. But i do not really see any point of doing this myself, why when you can just use knowm. The tangle also goes through regular purging anyway so historical data recording would be pointless unless your running your own node. (addn.) you would be better of just running your own database capture in this case, not on the tangle but in a regular SQL database.
This would be one of those DIY things if you really want it, cant see any developer bothering to do so (unless your willing to pay for them to do it and pay to host the system that runs in order to do the data posting). Also cant see why any project would want it either when they could just use knowm.
Sorry, I missed your post. We have to split it in two or more different use cases.
I don't know, if this data is fast enough for swing trader (i think so). This could be an alternative source of the exchange data api. Sometimes you could see dropouts, serverproblems (e.g. huobi)
I know, with snapshots, you also kill this data. But what's about perma-nodes? Or a node which could garantie the data for the last 6 months? Or like you suggested building an own nde, just for your historical data?
.
On the long run, i really would like to see, this data saved on a trustful source ... the tangle.
no worries, time makes a miss ;)
I still do not really see why this should be posted to the Tangle, to what end? it's nothing that cant be done far more efficient to just record in a database. Is this one of those I would just like to see things? if so best to just forget about it (from a system developer point of view, it's a bad idea), if you are building a system or website then go with the database option, cheaper, faster, more cpu & read / write efficient.