The front/backend of steemprices.com
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bower_components
node_modules
.gitignore
LICENSE
README.md
bable.js
bower.json
get_data.js
get_market.js
karma.conf.js
package.json
run.sh

README.md

SteemPrices.com - Check Steem Prices Everywhere.

This git is the code responsible for SteemPrices.com maintained by @jasonmcz and @zackcoburn
Read more here: announcement link

Price Feed/Data

Currently we have the following pairs on the site from the above exchange APIs:

BTC-USD
USD-STEEM
BTC-SBD
BTC-STEEM
ETH-STEEM
USD-SBD

In addition, we are providing the same pair cross-exchange arbitrage opportunities:
Followed by the following formula

$scope.getArbi = function(num1,num2,num3) {
var highest = Math.max.apply(null, [num1,num2,num3]);
var lowest = Math.min.apply(null, [num1,num2,num3]);
var arbi = Number(highest) - Number(lowest);
return arbi
}

Getting Started

To get you started you can simply clone the repository and install the dependencies:

Prerequisites

You can get git from https://github.com/JasonMcz/steemprices.

run git clone https://github.com/JasonMcz/steemprices.git

Install Dependencies

get into the directory:
cd steemprices
run sudo npm install
run bower install (might require root)

Start Server

run sh run.sh

Note:
babel-node get_data.js
babel-node get_market.js
sleep 30 \\change if you need more frequent pricing update. now set as half minute.