NYISO Location Marginal Prices

Brandon Craft
11/01/2016

Summary

This application is desgined to be a API for rapidly retrieving the most recent power prices for use in the trading of realtime power.

Its purpose is two fold; quickly refresh with all of the most recent data and eliminate the need for having more than one tab or browser window open for each particular market.

Realtime traders work 12 hour shifts as part of 24-hour trading desks. We use tools like this we trading across markets and usually would have prices for more than one market in a tool like this. For simplicity sake only one market, New York Independent System Operator, was included in this display.

Source

The pricing data used for the tool comes from the NYISO Market Data website.

plot of chunk unnamed-chunk-1

New data is released every 5 minutes.

User Information

Upon launch, the application will retrieve the lastest availables data from the ISO. A time stamp of the last retrieval is printed to the screen.

Click on a Tab to view pricing data for each market.

Clicking the “Refresh” button will retrieve the lastest data from the website and updates the timestamp.

Scripts Folder

After working with Shiny for a few years now, I have made it a habit to break down server functions into smaller chunks and save them seperatley in a 'scripts' folder.

These chunks typically have a particular routine that defines them. In this application they are;

  • pull.R
  • process.R
  • push.R

By seperating these routines I can more easily identify and correct errors in the code or make adustments as needed without having to overhaul the main server.R file.

Link to App