from quantopian.pipeline import Pipeline, CustomFilter
from quantopian.algorithm import attach_pipeline, pipeline_output
from quantopian.pipeline.factors import Latest
from import USEquityPricing
from import aggregated_twitter_withretweets_stocktwits as st
from sklearn.ensemble import RandomForestClassifier
from quantopian.pipeline.filters import Q500US
import numpy as np


Hey I'm new to QuantConnect, and would love some help converting part of my code from quantopian into Quantconnect.  Thanks.