python QUANTOPIAN进口管道

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python QUANTOPIAN进口管道相关的知识,希望对你有一定的参考价值。

# 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

以上是关于python QUANTOPIAN进口管道的主要内容,如果未能解决你的问题,请参考以下文章

python QUANTOPIAN ALGO模板(无管道)

python 在Quantopian中创建一个管道实例并以块的形式运行以避免内存过载。包括管道的常见导入。

python QUANTOPIAN MSMP 6.00

python QUANTOPIAN为战略建立因素

python RUN QUANTOPIAN(RESEARCH)PIPELINE

python QUANTOPIAN PIPELINE STRATEGY