Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Silly monkey strategy every freq tick roll the dice

To instantiate a 30 tick monkey:

>>> monkey = Monkey(30)

src/p/y/python-backtest-HEAD/backtest.py   python-backtest(Download)
 
from lib import Stock, BackTest
from strategy import Bollinger, Monkey
 
 
type help() for assistance."""
bollinger = Bollinger(30, 1)
monkey = Monkey(30)
goog = Stock('GOOG')
backtest = BackTest()