# import research
from quantopian.research import run_pipeline
# import pipeline methods
# from quantopian.algorithm import attach_pipeline, pipeline_output
from quantopian.pipeline import Pipeline, CustomFilter
# Fundamantals
from quantopian.pipeline.data import Fundamentals
from quantopian.pipeline.data import morningstar
# Factors
from quantopian.pipeline.factors import CustomFactor
from quantopian.pipeline.factors import AverageDollarVolume, SimpleMovingAverage, Latest
from quantopian.pipeline.factors import Returns
import quantopian.pipeline.factors as Factors
# Classifiers
from quantopian.pipeline.classifiers.fundamentals import Sector
# Filters
import quantopian.pipeline.filters as Filters
from quantopian.pipeline.filters.morningstar import IsPrimaryShare
from quantopian.pipeline.filters import StaticAssets
# import optimize
import quantopian.optimize as opt
# import any datasets we need
from quantopian.pipeline.data.builtin import USEquityPricing
# Experimental
from quantopian.pipeline.experimental import QTradableStocksUS
# import numpy and pandas just in case
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# define any constants.
pass