Giter VIP home page Giter VIP logo

sblaurock / crypticker Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 8.0 480 KB

๐Ÿ“ˆ Simple command line cryptocurrency price ticker for Bitcoin, Ethereum, Litecoin, and more.

Home Page: https://www.npmjs.com/package/crypticker

License: MIT License

JavaScript 100.00%
bitcoin btc coin command-line crypticker crypto cryptocurrency cryptocurrency-price-ticker cryptowatch dogecoin eth ethereum moon nft node nodejs npm price-ticker ticker

crypticker's Issues

Data retrieval error

Hi,

I run:

$ crypticker
โš  Data retrieval error / Last updated a few seconds ago

My system is:

$ node -v
v8.11.1
$ npm -v
6.4.1
$ uname -a
Linux raspberrypi 4.14.70-v7+ #1144 SMP Tue Sep 18 17:34:46 BST 2018 armv7l GNU/Linux

Any help? Thanks.

Does not work for coinbase-pro:zecusd

When I add this option to my configuration it does not show the prices for ZEC

"markets": [
        "coinbase-pro:btcusd",
        "coinbase-pro:xtzusd",
        "coinbase-pro:zecusd"
    ]

The only two that appear are XTZ and BTC.

Alts to BTC price decimal spaces

Hi Steve,
I just stumbled upon crypticker, nice && simple, that's how is should be.

There is a problem with a price display from ALTS to BTC, it is only four decimal spaces after Zero. That's not enough for 'smaller' ALTS like XRP or GNT etc.

Could not find the way how to change it?

Attached are screenshots

Cheers,
T

pkg_json
ticker

EISDIR: illegal operation on a directory, read

Hello :)

Thank you for crypticker. I like the idea.

However I'm facing a weird problem. I've created ~/.crypticker/options.json with the exact JSON you provide in this repo.

Unfortunately I have this :

npm ls crypticker
/Users/spyesx
โ””โ”€โ”€ (empty)

But! If this folder and files are created I have an error like :

$ crypticker 
fs.js:656
  var r = binding.read(fd, buffer, offset, length, position);
                  ^

Error: EISDIR: illegal operation on a directory, read
    at Object.fs.readSync (fs.js:656:19)
    at tryReadSync (fs.js:457:20)
    at Object.fs.readFileSync (fs.js:494:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/crypticker/index.js:16:27)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)

I might have missed something. Any idea?

Error: Cannot find module 'colors'

I updated nodejs and now can't use crypticker anymore... Tried to remove and install a few times, but I also get this error:

PS C:\Users\rokt> crypticker
node:internal/modules/cjs/loader:927
 throw err;
 ^

Error: Cannot find module 'colors'
Require stack:

- C:\Users\rokt\AppData\Roaming\npm\node_modules\crypticker\index.js
- C:\Users\rokt\AppData\Roaming\npm\node_modules\crypticker\bin\crypticker.js
   at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
   at Function.Module._load (node:internal/modules/cjs/loader:769:27)
   at Module.require (node:internal/modules/cjs/loader:996:19)
   at require (node:internal/modules/cjs/helpers:92:18)
   at Object.<anonymous> (C:\Users\rokt\AppData\Roaming\npm\node_modules\crypticker\index.js:1:16)
   at Module._compile (node:internal/modules/cjs/loader:1092:14)
   at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
   at Module.load (node:internal/modules/cjs/loader:972:32)
   at Function.Module._load (node:internal/modules/cjs/loader:813:14)
   at Module.require (node:internal/modules/cjs/loader:996:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
   'C:\\Users\\rokt\\AppData\\Roaming\\npm\\node_modules\\crypticker\\index.js',
   'C:\\Users\\rokt\\AppData\\Roaming\\npm\\node_modules\\crypticker\\bin\\crypticker.js'
  ]
  }

Any ideas how to fix this?

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.