Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/mismatch between documentation and output on #12

Closed
carlok opened this issue Apr 15, 2021 · 3 comments
Closed

bug/mismatch between documentation and output on #12

carlok opened this issue Apr 15, 2021 · 3 comments

Comments

@carlok
Copy link

carlok commented Apr 15, 2021

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"
    }
  ]
}
@tbass134
Copy link

Thanks for pointing this out, we'll get this fixed asap

@carlok
Copy link
Author

carlok commented Apr 15, 2021

Ok, please write here to notify me when it's done. Thank you for your work.

@tbass134
Copy link

@carlok its fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants