This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from numpy import around, random, append; | |
| #Generates within expected range/ boundaries | |
| #Good for simple backtest to understand strategy performance within volatility level | |
| #This is very simplified version so don't expect any entropy or stuff | |
| class Price_Gen: | |
| def __init__(self, periodInterval0 = 100, dev0=0.7, mean0=7): | |
| self.priceArr0 = [] |
OlderNewer