Code Monkey home page Code Monkey logo

crypto-whale-watcher's People

Contributors

technicalwritingeditor avatar uzillion 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crypto-whale-watcher's Issues

Unhandled Promise Rejection

Hey, I'm getting this error

UnhandledPromiseRejectionWarning: error: relation "mintradeworth" does not exist
UnhandledPromiseRejectionWarning: error: relation "volumefilter" does not exist

Please help me on this

Volume Filter does not work as expected

Note: Please refer to this wiki page (especially point 3) if you are new to this project and would like to know about the function of Volume Filter.

The 24hr volume on exchanges resets to 0 every 24 hrs. The original assumption of implementing Volume Filter was that the 24hr volume will update itself every hour by looking back 24 hours. But instead, it's like a timer that starts and ends at a specific time, and resets to 0 every day at that time.

This causes problems as the 1% of the total trading volume changes drastically within the 24 hours span. It starts from being worth a few hundred thousand dollars to becoming worth more than a hundred million dollars by the end of the 24hr mark.

The 24hr volume is calculated and refreshed every 20 hours here.

getting this issue

gdax 526 - undefined
gdax 526 - undefined
gdax 526 - undefined
gdax 526 - undefined
gdax 526 - undefined
/Users/yasserben/Desktop/whaless/lib/trades/binance.js:40
if(trade_worth > min_worth[currency]) {
^

TypeError: Cannot read properties of undefined (reading 'BTC')
at Object.binance (/Users/yasserben/Desktop/whaless/lib/trades/binance.js:40:29)
at WebSocket. (/Users/yasserben/Desktop/whaless/bin/www:47:13)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (/Users/yasserben/Desktop/whaless/node_modules/ws/lib/websocket.js:800:20)
at Receiver.emit (node:events:527:28)
at Receiver.dataMessage (/Users/yasserben/Desktop/whaless/node_modules/ws/lib/receiver.js:436:14)
at /Users/yasserben/Desktop/whaless/node_modules/ws/lib/receiver.js:393:23
at /Users/yasserben/Desktop/whaless/node_modules/ws/lib/permessage-deflate.js:306:9
at /Users/yasserben/Desktop/whaless/node_modules/ws/lib/permessage-deflate.js:385:7
at afterWrite (node:internal/streams/writable:497:5)

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.