mfreilich/financial.js — pull request #5 by ranu-mandan (2014-03-01 01:46:37+00:00)
Title: fixing yieldFunc related bug #2

fixed #2 , yieldFunc return wrong output because security price was wrongly subtracted from basis , security price should be deducted from the output of scope.PRICE