Book Image

The Future of Finance with ChatGPT and Power BI

By : James Bryant, Aloke Mukherjee
2.5 (4)
Book Image

The Future of Finance with ChatGPT and Power BI

2.5 (4)
By: James Bryant, Aloke Mukherjee

Overview of this book

In today's rapidly evolving economic landscape, the combination of finance, analytics, and artificial intelligence (AI) heralds a new era of decision-making. Finance and data analytics along with AI can no longer be seen as separate disciplines and professionals have to be comfortable in both in order to be successful. This book combines finance concepts, visualizations through Power BI and the application of AI and ChatGPT to provide a more holistic perspective. After a brief introduction to finance and Power BI, you will begin with Tesla's data-driven financial tactics before moving to John Deere's AgTech strides, all through the lens of AI. Salesforce's adaptation to the AI revolution offers profound insights, while Moderna's navigation through the biotech frontier during the pandemic showcases the agility of AI-focused companies. Learn from Silicon Valley Bank's demise, and prepare for CrowdStrike's defensive maneuvers against cyber threats. With each chapter, you'll gain mastery over new investing ideas, Power BI tools, and integrate ChatGPT into your workflows. This book is an indispensable ally for anyone looking to thrive in the financial sector. By the end of this book, you'll be able to transform your approach to investing and trading by blending AI-driven analysis, data visualization, and real-world applications.
Table of Contents (13 chapters)
Free Chapter
1
Part 1: From Financial Fundamentals to Frontier Tech: Navigating the New Paradigms of Data, EVs, and AgTech
6
Part 2: Pioneers and Protectors: AI Transformations in Software, Finance, Biotech, and Cybersecurity

To get the most out of this book

To get the most value from this book, read through the introductory material and then follow on with the use cases listed. We recommend copying the code and running it on your own. This provides valuable hands-on experience.

Throughout this book, we use ChatGPT, Python, and Power BI, so it is a good idea to have these available for the code examples.

Here are a few recommended steps to set up ChatGPT, Python, and Power BI:

Install Python and enable Python in Power BI:

  1. First, install Python, if you have not done so already. Visit the official website (https://www.python.org/downloads/) for your download. We recommend versions 3.9 or 3.10.
  2. After Python has installed, enable Python scripting in Power BI. Open the Power BI desktop. Click File | Options and settings | Options | Python scripting. Select the checkbox and OK.
  3. Then, set the Python path in Power BI. Go to File | Options and settings | Options | Python scripting, and then click on Detect. This selects the Python installation path automatically. You can also do this manually by clicking on the ellipsis () and selecting the Python executable file.
  4. Restart the Power BI desktop for the changes you made to take effect.

Setting up ChatGPT using ChatGPT API:

  1. First, you will need to obtain an API key from OpenAI. Navigate to the OpenAI website (https://openai.com) and create a (personal) account.
  2. Then, request and get an API key. Use this in all your integration projects.

Tip

These API keys are not free. When you sign up with OpenAI, you get about $18 worth of tokens for use with your API key. After that, it is billed (pay as you go). The details are available on the OpenAI site under Pricing (https://openai.com/pricing).

  1. The ChatGPT API has SDKs and libraries available in several programming languages. Select Python. We use Python extensively in this book and recommend it.
  2. Install the SDK with a package manager such as pip.

We assume you are running Windows 10 or any version after on your device. Although the code has been tested, the installations might be slightly different for Linux, Chrome, and macOS. There are no known issues with installations. You will also need a stable robust browser (MS Edge or similar is recommended).

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.