Skip to content

Instantly share code, notes, and snippets.

View bfan1256's full-sized avatar
😶

Brandon Fan bfan1256

😶
View GitHub Profile
@pchalasani
pchalasani / blankly-multi-asset.py
Last active April 17, 2022 20:07
Example of using blankly to decide trade based on all asset prices using a global state-list
'''
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():