New Online Course: Download energy data through API
A new online course is ready, with its full Python code available to download and explained. It is in the Classroom --> 1.37. It is called "1.37. Download Electricity Market Data Via API". You will learn to build, in Python, a tool that asks the user for a date range and specific electricity generation units , and downloads the data instantly, and saves it in a multi-sheet Excel workbook. All the code is in Python and fully available for you to download. You can integrate it in your project easily. For example if you have a Machine Learning (or optimisation) model, you can integrate this code in this model. So with this code you will pull real-time data, and then pass them as inputs to your model. Or this can be used as part of an Algorithmic Trading model. By automating the retrieval of real-time signals like System Prices and grid actions, you provide the raw fuel your AI needs to train, backtest strategies, and predict market movements. This is the Client- Server software architecture. Our Python code is the "client" who asks for data. And the 'Server' is the computer (remote) where we connect and request electricity data to download. We connect to the server of the company "Elexon", which is in Great Britain. Think of the electricity grid in Great Britain as a marketplace. Elexon is the independent referee. Elexon doesn't generate electricity, and they don't sell it to your house. Their job is to make sure the "books balance" at the end of the day. If a power plant promised to generate 100MW but only generated 90MW, Elexon is the one who calculates the penalty. The "Server" we connect to is their public library of everything that happened on the grid: who generated what, when, and how much it cost. You can find more about Elexon on their website at : https://www.elexon.co.uk You can view electricity data on their portal which is called "Insights Solution" and it is at https://bmrs.elexon.co.uk .