Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.53 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.53 KB

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.