This file contains 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
''' | |
Example of using blankly to decide trade based on all asset prices using a global state-list | |
''' | |
import blankly | |
import numpy as np | |
# global list of StrategyStates, one per symbol (price_event) | |
states = [] | |
def trade(): |