StockWeb allows users to insert and export a CSV file containing the information of stock ownership data for the last six months, show stacked bar chart and tables of stock ownership, displays IPO stock sample data, and list of of website related capital market websites.
Software used in developing this program:
- Go 1.22
- GORM as Object Relational Mapping
- Gin Web Framework
- MySQL 8.3.0
- MySQL Workbench
- Text Editor: Visual Studio Code
- Install all the required software to run the program
- Stock Ownership Data
Source: KSEI (Kustodian Sentral Efek Indonesia)
URL: https://ksei.co.id/archive_download/holding_composition - IPO Sample Data
Source: E-IPO Stock Prospectus
URL: https://e-ipo.co.id/en
-
Open MySQL Workbench
-
Open
SQL
folder -
Open
Back End
folder -
Open terminal or cmd to run the back end by using command
go run .
and clickAllow access
.
-
Run all the insert SQL in
SQL
folder with following step to avoid foreign key error -
Run the front end using
Live Server
extensions in Visual Studio Code.
-
Check the
.env
file inBack End
folder and set theDB_SOURCE
based on user setting with formatuser:password@tcp(host:port)/databaseName?parseTime=true
.
-
Home Page
Thehome
page contains an introduction and services provided.
-
Link Page
Thelink
page displays a list of websites related to capital markets and filters based on category ID.
-
IPO Page
TheIPO
page displays table of IPO sample data withUnderwriter
andValue
filter. -
Balance Page
Thebalance
page displays stock ownership data in table and chart format. User can insert data to database by uploading the correct txt data from KSEI (Kustodian Sentral Efek Indonesia).
Notes: User must have internet connection to show the chart because the chart is generated using chart.js from the internet-
The inserted data when using
Insert_Stock.sql
only insert 3 months of data so the table and chart only shows 3 months data. -
Check data from
KSEI data
folder or download it fromhttps://ksei.co.id/archive_download/holding_composition
-
Click
Choose File
button then choose2024_01_January.txt
fromKSEI data
folder then clickUpload File
button. -
Upload
2023_11_November.txt
and2023_12_December.txt
too. -
Check ANTM stock and see the
Change 1 Month
row -
User can export data to CSV by clicking
Export Data
button and open it in Excel.
-