def strat1OverN( dtStart, dtEnd, dFuncArgs ):        
    if not dFuncArgs.has_key('dmPrice'):
        print 'Error: Strategy requires dmPrice information'
        return
    
    dmPrice = dFuncArgs['dmPrice']
    
    lNumSym = len(dmPrice.columns)
    
    ''' Generate two allocations, one for the start day, one for the end '''
    naAlloc = (np.array( np.ones(lNumSym) ) * (1.0 / lNumSym)).reshape(1,-1)
    dfAlloc = pand.DataMatrix( index=[dtStart], data=naAlloc, columns=(dmPrice.columns) )
    dfAlloc = dfAlloc.append( pand.DataMatrix(index=[dtEnd], data=naAlloc, columns=dmPrice.columns))
    dfAlloc['_CASH'] = 0.0
    
    return dfAlloc
@summary Evenly distributed strategy.
dataset/ETHPy150Open tucker777/QSTK/qstkstrat/strategies.py/strat1OverN