Switch to direction/quantity/totalPrice for orderbookChanges

This commit is contained in:
Chris Clark
2015-08-06 11:39:19 -07:00
parent 1c86e246c7
commit 82d7ce7ac2
10 changed files with 57 additions and 20 deletions

View File

@@ -21,12 +21,13 @@
"orderbookChanges": {
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
{
"taker_pays": {
"direction": "buy",
"quantity": {
"currency": "USD",
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
"value": "0"
},
"taker_gets": {
"totalPrice": {
"currency": "XRP",
"value": "0"
},

View File

@@ -30,12 +30,13 @@
"orderbookChanges": {
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
{
"taker_pays": {
"direction": "buy",
"quantity": {
"currency": "USD",
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
"value": "237"
},
"taker_gets": {
"totalPrice": {
"currency": "XRP",
"value": "0.0002"
},

View File

@@ -65,11 +65,12 @@
"orderbookChanges": {
"r9tGqzZgKxVFvzKFdUqXAqTzazWBUia8Qr": [
{
"taker_pays": {
"direction": "buy",
"quantity": {
"currency": "XRP",
"value": "-1.101198"
},
"taker_gets": {
"totalPrice": {
"currency": "USD",
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
"value": "-0.001002"

View File

@@ -71,11 +71,12 @@
"orderbookChanges": {
"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59": [
{
"taker_pays": {
"direction": "buy",
"quantity": {
"currency": "XRP",
"value": "-1.101198"
},
"taker_gets": {
"totalPrice": {
"currency": "USD",
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
"value": "-0.001002"
@@ -161,11 +162,12 @@
"orderbookChanges": {
"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59": [
{
"taker_pays": {
"direction": "buy",
"quantity": {
"currency": "XRP",
"value": "-1.101198"
},
"taker_gets": {
"totalPrice": {
"currency": "USD",
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
"value": "-0.001002"