Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
London Stock Exchange stocks on Quantopian?
API

Hi guys,

I'm trying to pull the prices and add to my portfolio some london based equities like CCL-LON (Carnival plc). Do you know if this is possible in Quantopian and can someone please provide any references that may help me do this?

Thank you!!
Richard

1 response

Hi,
Checkout this page: https://www.quantopian.com/docs/api-reference/pipeline-api-reference#quantopian.pipeline.domain.GB_EQUITIES
GB_EQUITIES on the pipeline API should be able to give what you need

( I know this question is very old, writing response for those like myself who found this on google )

from quantopian.pipeline import Pipeline  
from quantopian.pipeline.data import EquityPricing, factset  
from quantopian.pipeline.domain import GB_EQUITIES  
from quantopian.research import run_pipeline

pipe = Pipeline(  
    columns={  
        'price': EquityPricing.close.latest,  
        'volume': EquityPricing.volume.latest,  
        'mcap': factset.Fundamentals.mkt_val.latest,  
    },  
    domain=GB_EQUITIES,  
)

result = run_pipeline(pipe, '2019-01-15', '2020-01-15')  
result.head()