update readme, refactoring continued pt.2 barlin

This commit is contained in:
Joshua E. Jodesty 2018-12-03 11:48:40 -05:00
parent dd0b50faf8
commit 54bccfe915
2 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ def s2m3(step, sL, s, _input):
y = 'Price'
#var1 = Decimal.from_float(s['Buy_Log'])
x = s['Price'] + (Decimal(s['Buy_Log'][0] )) /s['Z'] # - (s['Sell_Log']/s['Z'] ) # for buy log term /s['Z'] )
x = s['Price'] + (Decimal(s['Buy_Log'][0])) / s['Z'] # - (s['Sell_Log']/s['Z'] ) # for buy log term /s['Z'] )
#+ np.divide(s['Buy_Log'],s['Z']) - np.divide() # / Psignal_int
return (y, x)