Generate Financial App with AppGen and Charts
Build a stock-tracking application using AppGen, add interactive charts with Retool and Plotly, and extend the app with a database write-back form.
Overview
In this lab, you will build an application to track the top 20 technology stocks using a database as the backend. This app will later be updated with charts and the ability to write back information to the database.
Data Setup
For this example, we have a CSV file that provides historical quarterly closing stock prices for the top 20 technology companies from 2005 to 2025.
- Select Database > Import from CSV and specify a table name of
data_builder_tech_stock_prices_quarterly. - It will then appear as shown in the following image:

Create App
Next, leverage AppGen functionality available in Assist or R² to generate working applications.
Use the following prompt:
Create a historical stock-tracking application that monitors the top 20 technology companies. The data is in @Retool Database data_builder_tech_stock_prices_quarterly.
Assist
To generate an application in Assist, perform the following steps:
- Select the Assist icon.
- In the prompt input (highlighted in the image below), paste the previous prompt.

- Assist will start in planning mode by reviewing the identified data and the prompt details. It will return a Plan with TODOs that need to be executed. Once this is complete, the canvas will update with components and identify areas that require input, review — in essence, Human in the Loop. Examples of this include:
- Specify a Design Theme (colors, look-and-feel)
- Running Queries
- Upon completing the list of tasks, the app will appear as shown below.
AppGen may not generate the same look and feel, but will provide the best solution based on the prompt.
