-
Notifications
You must be signed in to change notification settings - Fork 88
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
Import and backtest throws an error #16
Comments
In this line. |
I had the same issue, so I set up a rest api server (binance swagger), but he kept asking for datasets and they're not available. Any thoughts? |
Hey there sorry for the delay, no the REST API usage is optional you can just comment this line and avoid using persistence layer with an API or just a database. The downside is you will query Binance API to gather data at each usage. |
i see. are there rough steps to setup the api? |
Nothing trivial here, the data model I chose is quite simple, feel free if you have any question about yours. The main concept here is to persist prices from an exchange pair then store it with a reference to a "dataset" entity that persist price related data (mostly exchange and base/quote assets pair) and allow you to group prices. What is more complicated is to compute and store indicators you wanna use. |
Hi Nicolas, thank you for sharing your code. I have tried to setup the bot, but importing the datasets returns this error : Exception has occurred: ConnectionError i'm quite new to client-server architecture, but to me the issue is that /api/dataset URI does not point to any location in particular (whether a csv file or a database) to store the incoming data, hence the connection refused. Welcome any help, thanks |
When I run the project with mode backtest, it throws connection error.
Do I need to run the REST api server and how do i do that?
The text was updated successfully, but these errors were encountered: