Giter VIP home page Giter VIP logo

bttrxr's People

Contributors

dokka 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

Watchers

 avatar  avatar  avatar  avatar

bttrxr's Issues

Cannot be executed on Unix systems: bttrxr.js file line endings CRLF (\r\n) used

Hi DOKKA,

thank you for your amazing work, I've been trying to play around with bttrxr but noticed that Unix systems will throw following error:
[code]/usr/bin/env: ‘node\r’: No such file or directory[/code]

Can you please change file settings of your project from CRLF to LF only? This will solve issues on Unix systems not being able to properly pick env runtime.

Thanks once again!

bttrxr not working on fresh install on centos7 or ubuntu 17.10

hi, installed fresh ubuntu17.10, updated, then installed nodejs with
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - ; apt-get install -y nodejs

root@ubuntu:# node --version
v8.8.1
root@ubuntu:
# which node
/usr/bin/node

then bttrxr with

git clone https://github.com/DOKKA/bttrxr.git
cd bttrxr/
npm install -g bttrxr
cd ..
node --version

then set bittrex api key and secret (properly enabled on bittrex page to alolow everything)

bttrxr --help works, also bttrxr list, ...

when try bttrxr bal, i get

root@ubuntu:~# bttrxr balance
Unhandled rejection TypeError: Cannot read property 'toFixed' of undefined
at /usr/lib/node_modules/bttrxr/lib/commands/balanceCommand.js:95:88
at tryCatcher (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/usr/lib/node_modules/bttrxr/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:785:20)

root@ubuntu:~#

what is interesting too, i tried (bttrx bal) on working machine with a friend's key/secret whic were working at the time, my key/secret were not working there. when rollbacked this other machine to original key/secret - they are not working anymore. tried deleting node's cache (--force), still not working.

help?

regards,
ales

Erroneous calculation of sell amount and rate in sellCommand.js

In sellCommand.js we have the following lines.

    //bittrex charges a 0.25% fee per transaction
    amount = amount - (amount *.0025);
    baseAmount = baseAmount - (baseAmount * .0025);

This reduces the number of coins to sell as well as the sell price.
These calculations definitely make sense in a buy order but are not useful in a sell order.

The problem was noticed when my 100% sells (-p 100) were leaving behind some dust amounts

Does this tool still work?

Tried after long time, on same machine I used it. Many errors. Dunno if something changed on bittrex or corrupted on my machine!

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.