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

SQLITE_ERROR: no such table: logs #54

Closed
YoByron opened this issue Jun 24, 2019 · 3 comments
Closed

SQLITE_ERROR: no such table: logs #54

YoByron opened this issue Jun 24, 2019 · 3 comments

Comments

@YoByron
Copy link

YoByron commented Jun 24, 2019

C:\Users\sRs3\Downloads\crypto-trading-bot-master>node index.js trade
(node:7920) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
Webserver listening on: 127.0.0.1:8080
WebSocket [INFO]: Connected.
Bitmex: Connection opened.
SQLITE_ERROR: no such table: logs
{"op":"subscribe","args":"tradeBin1m:XBTUSD"}
{"op":"subscribe","args":"tradeBin5m:XBTUSD"}
{"op":"subscribe","args":"tradeBin1h:XBTUSD"}
{"op":"subscribe","args":"instrument:XBTUSD"}
{"op":"subscribe","args":"tradeBin1m:ETHUSD"}
{"op":"subscribe","args":"tradeBin5m:ETHUSD"}
{"op":"subscribe","args":"tradeBin1h:ETHUSD"}
{"op":"subscribe","args":"instrument:ETHUSD"}
{"op":"subscribe","args":"tradeBin1m:XBTM19"}
{"op":"subscribe","args":"tradeBin5m:XBTM19"}
{"op":"subscribe","args":"tradeBin1h:XBTM19"}
{"op":"subscribe","args":"instrument:XBTM19"}
{"op":"subscribe","args":"tradeBin1m:ETHM19"}
{"op":"subscribe","args":"tradeBin5m:ETHM19"}
{"op":"subscribe","args":"tradeBin1h:ETHM19"}
{"op":"subscribe","args":"instrument:ETHM19"}
{"op":"subscribe","args":"tradeBin1m:ADAM19"}
{"op":"subscribe","args":"tradeBin5m:ADAM19"}
{"op":"subscribe","args":"tradeBin1h:ADAM19"}
{"op":"subscribe","args":"instrument:ADAM19"}
{"op":"subscribe","args":"tradeBin1m:TRXM19"}
{"op":"subscribe","args":"tradeBin5m:TRXM19"}
{"op":"subscribe","args":"tradeBin1h:TRXM19"}
{"op":"subscribe","args":"instrument:TRXM19"}
{"op":"subscribe","args":"tradeBin1m:XRPM19"}
{"op":"subscribe","args":"tradeBin5m:XRPM19"}
{"op":"subscribe","args":"tradeBin1h:XRPM19"}
{"op":"subscribe","args":"instrument:XRPM19"}
SQLITE_ERROR: no such table: logs
SQLITE_ERROR: no such table: logs
SQLITE_ERROR: no such table: logs
SQLITE_ERROR: no such table: logs
SQLITE_ERROR: no such table: logs
WebSocket [INFO]: Connected.
Bitmex: Connection opened.
SQLITE_ERROR: no such table: logs
{"op":"subscribe","args":"tradeBin1m:XBTUSD"}
{"op":"subscribe","args":"tradeBin5m:XBTUSD"}
{"op":"subscribe","args":"tradeBin1h:XBTUSD"}
{"op":"subscribe","args":"instrument:XBTUSD"}
events.js:174
throw er; // Unhandled 'error' event
^

Error: SQLITE_ERROR: no such table: ticker
Emitted 'error' event at:

@doftorul
Copy link

doftorul commented Jun 24, 2019

Have you executed the following ?

sqlite3 bot.db < bot.sql

You might encounter some other issues while running this on Windows. A decent OS goes a long way on using this bot...

@jwang106git
Copy link

jwang106git commented Aug 5, 2019

read readme may help u.

@YoByron
Copy link
Author

YoByron commented Aug 5, 2019 via email

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

4 participants