In this video, we dive into Cursor, a groundbreaking AI-powered development environment where you can create complex programs simply by having a conversation in natural language.

We'll build a quick project that fetches stock prices from the internet, compares them to a list of example stocks, and calculates the profit and loss for each. We’ll then format the results to work seamlessly with Excel.

For years, the tech industry has promised the idea of “no-code” programming for everyone. With tools like Cursor, that vision is becoming a reality. But what does this mean for developers? Could their roles be at risk? And if AI can take on these tasks, what might it mean for other professions?

Try Cursor at https://www.cursor.com/

00:00 Intro
00:42 Using AI Composer to Setup Environment
02:00 Using AI Chat to enhance program
70:23 Thoughts on what this means for Developers...

================ AI Scripts Used in the Video ===============

*In the Composer*
I want to create a python program that goes out to the internet and gets the latest stock prices using the yfinance module for a predefined list of stocks that are held in a text file. Make sure there is good error handling when getting the internet live data. Please create a well structured project for me with well documented code, a batch file that will run the python script from the command line from the current directory and a readme.txt that explains what this is doing

*In the Chat*
Now can you also print out the prices to the terminal output as well nicely formatted. Please round numbers to the nearest dollar

Can you now amend so the input file has both the original price paid for each share and the total number of shares bought. Put in comments to the stocks.txt to make it clear how it works and amend the main file to read that , compare to the current price and indicate whether there has been a profit or loss. Also add in what % profit or loss this is

Can you now put the output into an excel file instead of a CSV? Have appropriate headers at the top, and if there is a loss change all the font in that line to bold red. Also add in a grand total of profit or loss and put it in bold.

Can you also get the USD to AUD exchange rate. On the screen only show what that exchange rate is. Then for the rest of the output, convert from USD to AUD and put a suffix of (AUD) on the output to screen. For the output to the excel sheet just amend the headers so they have a suffix of (AUD) where it makes sense