[profitpy commit] r328 - trunk/profit/strategy

2 views
Skip to first unread message

codesite...@google.com

unread,
Aug 8, 2008, 1:26:34 PM8/8/08
to profitp...@googlegroups.com
Author: troy.melhase
Date: Fri Aug 8 10:26:27 2008
New Revision: 328

Modified:
trunk/profit/strategy/builder.py

Log:
Changed temp use of EMA to temp use of KAMA.

Modified: trunk/profit/strategy/builder.py
==============================================================================
--- trunk/profit/strategy/builder.py (original)
+++ trunk/profit/strategy/builder.py Fri Aug 8 10:26:27 2008
@@ -12,7 +12,7 @@
from PyQt4.QtCore import QObject

from profit.lib import BasicHandler, Signals, instance, logging
-from profit.series import Series, MACDHistogram, EMA
+from profit.series import Series, KAMA

from ib.ext.Contract import Contract
from ib.ext.Order import Order
@@ -92,7 +92,7 @@

def makeTickerSeries(self, tickerId, field):
s = Series()
- s.addIndex('ema-40', EMA, s, 40)
+ s.addIndex('ema-40', KAMA, s, 40)
return s

def symbols(self):

Reply all
Reply to author
Forward
0 new messages