User Tools

Site Tools


cointradingdsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cointradingdsl [2011/07/01 00:53] donpdonpcointradingdsl [2011/07/01 00:55] donpdonp
Line 17: Line 17:
  
 <code> <code>
-m1 = 1+m1 = 1.0
 t = price_trend_over_last_minutes(5) t = price_trend_over_last_minutes(5)
 if t < 0 if t < 0
 + m1 -= (m1*0.05)
 end end
  
 if t > 0 if t > 0
 + m1 += (m1*0.05)
 end end
  
 +</code>
 +
 +=== Inventory Maintenance ===
 +
 +independent process
 +<code>
 +i = mtgox_inventory
 +if i < m1
 + buy(m1-i)
 +end
 +
 +if i > m1
 + sell(i-m1)
 +end
 </code> </code>
cointradingdsl.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1