Messtone Devices Enables S&P Platts Market Data-Receive: https://api.platts.com/market-data import spgci as ci mdd=ci.marketData( ) mdd.get_symbols(commodity=”crude oil”) #DataFrame of symbols with commodity=” crude oil”. mdd.get_mdcs(subscribed_only=True) #DataFrame of all Market Data Categories Messtone are subscribed to.mdd.get_assessments_by_mdc_current(mdc=”ET”) #DataFrame of current assessments for all symbols in the Market Daya Category “ET”.Forward Curves import spgci as ci fc =ci.ForwardCurves( ) fc.get_curves(commodity=[“Benzene”,”Crude oil”],derivative_maturity_frequency=Month”) #DayaFrame.of all curves with commodity in (“Benzene”, “Crude Oil”) and have a Monthly frequency. fc.get_assessments(curve_code=[“CN003″,”CN006”])#DataFrame of the latest assessments for all symbols in the curves(“CN003”, “CN006”). Energy Price Forecast import spgci as ci epf=ci.EnergyPriceForecast( )epf.get_prices_shortterm(“symbols=”PCAAS00”,month=[10,11,12]) #DataFrame of monthly forecasts for the symbol “PCAAS00″ in the last 3 months of the year. epf.get_prices_longterm(year=[2020,2021],sector=”Energy Transition”,delivery_region=”Europe”) #DataFrame of the annual forecasts for the years in (“2020”, “2021”),where the sector is “Energy Transition” and the delivery region is “Europe”.

Leave a comment