Bitcoin Forum
September 21, 2019, 02:16:46 PM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Tradebuddy - prints latest trade profits to terminal all 15 sec. [btc-e]  (Read 557 times)
Offline Offline

Activity: 111
Merit: 10

View Profile
December 08, 2013, 06:21:12 PM

collects current funds from your btc-e account, calculates and prints out your profits to terminal all 15 seconds

I have written this script to help me keep an eye on my recent trades but I am absolutely new to this whole trading thing so don't hesiatate to tell me if you have suggestions on what I got wrong or what is missing in here.

simple node.js script, that collects current funds from your btc-e account, calculates your profits based on your last trades and the current price and print them out to the terminal every few seconds

This piece of software probably still has some bugs please open a github issue if you find something

author: blabliblubblu321


sell: btc_usd   amount: 0.3763  sell    rate: 762.00    current: 737.00 usd profit: 9.4077 usd  3.3%    profit change: 0%
sell: btc_usd   amount: 1.4691  sell    rate: 765.00    current: 737.00 usd profit: 41.135 usd  3.7%    profit change: 0%

nonce errors

the btc-e node.js module has a small bug that leads iit to sometimes use the same nonce in two api calls. I have created a pull request until its merged use this fixed version:


btc-e api key (info credentials)


This script is absolutely free to use do with it whatever you want If you enjoy using it and it is helpful to you with all the crypto trading madness Send me some coins so I can put more effort and time into fixing bugs making this script way better

BTC: 1D3Zi7qwvtaMb9uiex9CMqTgR8dLhLqzhG

btc-e codes to: blabliblubblu321


download & unpack the zip from github
navigate to that folder in the terminal
run "npm install"
enter api key/secret in app.js
run "node app.js"
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!