Hi,
I just migrated old files from Quantopian to Blueshift. I have a code of Momentum Equities Strategy and I cannot run the backtest. I guess the imported libraries are wrong and must be changed. I cannot past the full code due to big size, but I have below copied the imported libraries.
Can you help to translate it to Blueshift to make sure I can run the backtest?
Thanks!!!
from quantopian.algorithm import attach_pipeline, pipeline_outputfrom quantopian.pipeline import Pipelinefrom quantopian.pipeline.data.builtin import USEquityPricingfrom quantopian.pipeline.factors import AverageDollarVolume, CustomFactor, SimpleMovingAverage, Latestfrom quantopian.pipeline.filters.morningstar import Q500US, Q1500USfrom quantopian.pipeline.data import morningstar
import numpy as np # we're using this for various math operationsfrom scipy import stats # using this for the reg slopeimport pandas as pd