Skip to content

Instantly share code, notes, and snippets.

@stewones
Created April 2, 2018 21:23
Show Gist options
  • Save stewones/b980dd786f2654dc9c33edf53f674ae2 to your computer and use it in GitHub Desktop.
Save stewones/b980dd786f2654dc9c33edf53f674ae2 to your computer and use it in GitHub Desktop.
order.json
{
"_id" : ObjectId("5ab57fee3a8c50989a1d806b"),
"currency" : "BTC",
"amount" : 0.00281219,
"type" : "buy",
"subtype" : "limited",
"unit_price" : 29500,
"variance" : {
"price" : 29500,
"percent" : 1.03,
"volume" : 135.48668422
},
"profit" : 0,
"strategy" : {
"updated_at" : ISODate("2018-03-23T19:09:24.346Z"),
"_id" : ObjectId("5ab550e43b353e86d1f6e88e"),
"power" : false,
"type" : "executor",
"margin" : {
"min" : -1.5,
"max" : 5
},
"stop_loss" : 50,
"stop_loss_dynamic" : -10,
"min" : {
"fiat" : 25,
"btc" : 0.0016
},
"limited" : 0.5,
"__v" : 0
},
"notes" : "there is no order",
"total_price" : 82.79,
"exchange_response" : {
"id" : "U2FsdGVkX1/Aah5gl/fOte3TriWXS/RkFcRjMgW7GSE=",
"code" : "ry8lg_7qz",
"type" : 1,
"unit_price" : 29500,
"user_code" : "Hk6dJSnMf",
"amount" : 0.00281219
},
"id" : "U2FsdGVkX1+4O+SDN93CDR7sFYVl/Gt95Q33Xwgr5js=",
"code" : "ry8lg_7qz",
"user_code" : "Hk6dJSnMf",
"updated_at" : ISODate("2018-03-23T22:30:06.511Z"),
"created_at" : ISODate("2018-03-23T22:30:06.512Z"),
"__v" : 0,
"create_date" : ISODate("2018-03-23T22:30:06.163Z"),
"currencyCode" : "BTC",
"executed_amount" : 0.00281219,
"profit_calc" : {
"diff" : 0,
"profit" : 0
},
"remaining_amount" : 0,
"remaining_price" : 0,
"requested_amount" : 0.00281219,
"status" : "executed_completely",
"update_date" : ISODate("2018-03-23T22:30:06.237Z")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment