How vannguyen799/cryptoportfolioapp works
Main Components
A. Google Apps Script Runtime Environment (Top Level)
• This as the containing environment where the application runs
B. Core Application Layer
• App.js as the main application controller
• Menu.js as the user interface controller
• Trigger.js as the automation/scheduling component
C. Sheet Management Layer
• Six sheet classes:
• ConfigSheet
• PNLHistorySheet
• PortfolioInfoSheet
• PortfolioSheet
• StatusSheet
• TradeHistorySheet
D. Utility Layer
• Utility.js as a support component
• Test.js for testing infrastructure
Additional Elements
• Google Sheets API interaction points
• Event triggers and scheduling points
• Configuration flow from ConfigSheet to other components
• Data flow between trading-related sheets (PNL, Portfolio, TradeHistory)
Important Notes
• Separation between UI, core logic, and data management
• How trigger.js integrates with Google Apps Script's time-based triggers
• Configuration dependencies from ConfigSheet to other components
• Demonstrate the relationship between trading-related sheets
Technical Details to Highlight
• Google Apps Script specific integrations
• Sheet data flow patterns
• Event handling mechanisms
• Configuration management approach