Skip to content

Submitting a Continuous Forecast

Forecasters can submit their continuous forecasts through the API. Ensure that your data is formatted correctly and adheres to the guidelines provided in the documentation.

API Endpoints:

To interact with the Predicto API and submit
your forecasts for a given target resource, you can use the following endpoints:

Do not forget to fulfill the data requirements described in the Preparing a Continuous Forecast section.

Prerequisites

Submitting Forecast Data

After preparing your continuous forecast, submit it to the Predico platform.

In this example, we'll submit the random data generated in Preparing a Continuous Forecast section:

Strict requirement!

You must submit forecasts for variables Q10, Q50 and Q90 to be selected to participate in a forecasting session. Partial submissions (e.g., missing one of the variables) will not be considered for the final evaluation / monthly payment distribuctions.

On updating your forecasts

  • If you wish to update your forecasts, you can simply repeat this flow. The latest submission will overwrite the previous one, and you will receive a response mentioning that one or more database records were updated.
submit_continuous_forecast.py
# Your submissions:
print("Submission List:")
for i, submission in enumerate(submission_list):
    print("-"*79)
    print(f"Submission #{i+1}")
    print(json.dumps(submission, indent=3))

# Submit the forecasts:
for submission in submission_list:
    response = requests.post(url=f"https://predico-elia.inesctec.pt/api/v1/market/continuous-forecasts/{resource_id}",
                            json=submission,
                            headers=headers)

Download Full Example

Remember that these forecasts will be sliced (automatically) by Predico in order to create Session Forecast submissions for market sessions. At the gate-closure of each market session, your continuous forecast will be sliced and submitted as a Session Forecast. You can later list the submitted forecasts via the Listing Session Submissions section.

What's next?

Learn how to preview the continuous forecasts submitted on the Predico Platform in the Listing Continuous Forecasts section.