- edited description
Enhance wall_shifts reporting with .json output
Issue #132
resolved
Having tracking of the wall shift data in a wall_shifts.json, along side the wall_shifts.csv output would finish off the major data feeds that would make report automation easier.
Here's a model for how I'd like to see the content presented:
// Existing wall_shifts.csv content
Tue Dec 16 16:17:04 EST 2014,coinbase,btc,334.32,USD,0.00299713,0.00298516,{ feed : coinbase - price : 334.32} { feed : bitcoinaverage - price : 331.23} { feed : btce - price : 321.959}
Tue Dec 16 16:20:07 EST 2014,coinbase,btc,332.06,USD,0.00301753,0.00300548,{ feed : coinbase - price : 332.06} { feed : bitcoinaverage - price : 331.12} { feed : btce - price : 322.769}
Tue Dec 16 16:23:10 EST 2014,coinbase,btc,332.95,USD,0.00300946,0.00299745,{ feed : coinbase - price : 332.95} { feed : bitcoinaverage - price : 330.58} { feed : btce - price : 322.9}
// Reimagined wall_shifts.json content
{
"wall_shifts": [
{
"timestamp": 1418764624000,
"feed": "coinbase",
"crypto": "btc",
"price": 334.32,
"currency": "usd",
"sellprice": 0.00299713,
"buyprice": 0.00298516,
"backupfeeds": [
{ "feed": "bitcoinaverage", "price": 331.23 },
{ "feed": "btce", "price": 321.959 }
]
},
{
"timestamp": 1418764807000,
"feed": "coinbase",
"crypto": "btc",
"price": 332.06,
"currency": "usd",
"sellprice": 0.00301753,
"buyprice": 0.00300548,
"backupfeeds": [
{ "feed": "bitcoinaverage", "price": 331.12 },
{ "feed": "btce", "price": 322.769 }
]
},
{
"timestamp": 1418764990000,
"feed": "coinbase",
"crypto": "btc",
"price": 332.95,
"currency": "usd",
"sellprice": 0.00300946,
"buyprice": 0.00299745,
"backupfeeds": [
{ "feed": "bitcoinaverage", "price": 330.58 },
{ "feed": "btce", "price": 322.9 }
]
}
]
}
Comments (8)
-
reporter -
reporter - edited description
-
-
assigned issue to
I will work on it 19th and 20th of december
-
assigned issue to
-
-
assigned issue to
-
assigned issue to
-
This is in and ready to be tested
-
- changed status to open
-
- changed status to resolved
-
- changed milestone to 0.1.5 - Multiple custodians + critical fixes
- Log in to comment