GithubHelp home page GithubHelp logo

valamidev / datasynchronizer Goto Github PK

View Code? Open in Web Editor NEW
68.0 5.0 24.0 406 KB

Cryptocurrency Exchange and Sentiment data fetcher and syncronizer.

License: MIT License

Dockerfile 0.62% TSQL 11.78% TypeScript 87.19% JavaScript 0.41%
ccxt nodejs binance cryptocurrency mysql sentiment kucoin symbols trades exchanges

datasynchronizer's People

Contributors

jorisw avatar renovate-bot avatar valamidev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datasynchronizer's Issues

(Non-fatal) 'tierBased' cannot be null

I get a few of these while running the synchronizer:

I've followed the installation SQL scripts in SQL/.

Running MySQL 5.7.27.

error: ErrorColumn 'tierBased' cannot be null {"code":"ER_BAD_NULL_ERROR","errno":1048,"sqlState":"23000","sqlMessage":"Column 'tierBased' cannot be null","stack":"Error: Column 'tierBased' cannot be null\n    at PromisePool.query (DataSynchronizer/node_modules/mysql2/promise.js:330:22)\n    at MarketDataClass.market_data_replace (DataSynchronizer/src/marketdata/index.ts:112:20)\n    at MarketDataClass.update_market_data (DataSynchronizer/src/marketdata/index.ts:67:22)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"}

Cannot find module '../logger'

I cannot get this project to run. If I'm doing the wrong thing, perhaps the docs could be updated to show how the project is supposed to be run?

I've completed all the installation steps without errors.

~/DataSynchronizer$ tsc --version
Version 3.3.3333

~/DataSynchronizer$ node --version
v10.15.2

~/DataSynchronizer$ npm run build
> tsc

~/DataSynchronizer$ npm run start
> [email protected] start ~/DataSynchronizer
> node --experimental-worker --inspect=5858 -r ts-node/register ./src/index.ts

Debugger listening on ws://127.0.0.1:5858/3bb46e31-388a-47ee-aade-39fcd144693f
For help, see: https://nodejs.org/en/docs/inspector
info: StockML Synchronizer started
info: Livefeed API started
info: Startup finished
error: Worker error with exit code: Cannot find module '../logger' {"code":"MODULE_NOT_FOUND","stack":"Error: Cannot find module '../logger'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:22:18)\n    at Object.<anonymous> (~/DataSynchronizer/src/workers/worker.js:6:20)\n    at Module._compile (internal/modules/cjs/loader.js:689:30)\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)\n    at Module.load (internal/modules/cjs/loader.js:599:32)\n    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)\n    at Function.Module._load (internal/modules/cjs/loader.js:530:3)"}
error: Worker stopped with exit code: 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.