shrimpy-python
shrimpy-python copied to clipboard
bug/mismatch between documentation and output on
Hi, still me.
Just tried get_predictions('binance', 'BNB', 'BTC')
and I don't get 7 objects as the documentation states but a messy 10 objects array with a few duplicates (16 twice, 17 twice, 18 twice, then the following instances just once).
See the following output.
Thanks.
{
"predictions": [
{
"date": "2021-04-16T00:00:00.000Z",
"prediction": 0.00856614,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-16T00:00:00.000Z",
"prediction": 0.00926539,
"updatedAt": "2021-04-11T06:38:25.000Z"
},
{
"date": "2021-04-17T00:00:00.000Z",
"prediction": 0.00947677,
"updatedAt": "2021-04-11T06:38:25.000Z"
},
{
"date": "2021-04-17T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-18T00:00:00.000Z",
"prediction": 0.00984125,
"updatedAt": "2021-04-11T06:38:25.000Z"
},
{
"date": "2021-04-18T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-19T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-20T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-21T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
},
{
"date": "2021-04-22T00:00:00.000Z",
"prediction": 0.00856203,
"updatedAt": "2021-04-15T06:48:31.000Z"
}
]
}
Thanks for pointing this out, we'll get this fixed asap
Ok, please write here to notify me when it's done. Thank you for your work.
@carlok its fixed