Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 74 pages
Essay

OCR A‑Level Computer Science NEA (H446) – Investment Simulator

Document preview thumbnail
Preview 4 out of 74 pages

This is my full OCR A‑Level Computer Science NEA (H446) project report: an investment simulator built in Unity. It lets users practise trading stocks, bonds, real estate and crypto in a risk‑free environment, with a live price graph, news events and a portfolio/trading UI. The write‑up covers analysis, MoSCoW requirements, research into similar systems, detailed design and architecture (manager pattern, singleton pattern, event‑driven UI), data models, algorithm design (hybrid entropy price simulation), and technical requirements. Development and testing are fully documented with prototypes, test plans, trace tables, performance benchmarking, Big‑O complexity analysis and an evaluation against success criteria. Includes code listings for core classes such as ‎`MarketEngine`, ‎`TurnManager`, ‎`PortfolioManager`, ‎`NewsManager`, ‎`SimpleGraph` and ‎`UIDataBinder`.

Content preview

Investment Simulator
A-Level Computer Science NEA
Abdul-Rahman Yahaya | Candidate No. 2632 | Centre No. 56635

,1. Analysis .........................................................................................................................2
1.1 Identifying the Problem ..............................................................................................3
1.2 Stakeholder Investigation ...........................................................................................3
1.2.1 Primary Stakeholder - Ria .....................................................................................3
1.2.2 Secondary Stakeholder - Phillip ............................................................................3
1.2.3 Questionnaire Results .........................................................................................4
1.2.4 Focus Group Session...........................................................................................6
1.3 MoSCoW Requirements .............................................................................................6
1.4 Similar Systems Research ..........................................................................................7
1.4.1 Wall Street Raider ...............................................................................................7
1.4.2 AdVenture Capitalist ...........................................................................................8
1.4.3 Capitalism II .......................................................................................................9
1.4.4 Investopedia Stock Simulator ............................................................................. 11
1.4.5 Trading 212 ....................................................................................................... 11
1.5 Research Summary ................................................................................................. 12
1.6 Computational Approach ......................................................................................... 13
1.6.1 Why a Computational Solution is Appropriate ...................................................... 13
1.6.2 Thinking Abstractly ............................................................................................ 13
1.6.3 Decomposition ................................................................................................. 13
1.6.4 Thinking Ahead ................................................................................................. 14
1.6.5 Thinking Procedurally ........................................................................................ 14
1.7 Technical Requirements .......................................................................................... 14
1.8 Limitations of the Proposed Solution ......................................................................... 15
1.9 Success Criteria ...................................................................................................... 15
2. Design & Architecture ................................................................................................... 17
2.1 Development Approach ........................................................................................... 18
2.2 System Architecture ................................................................................................ 18
2.2.1 The Manager Pattern - Decomposition Justification .............................................. 18
2.2.2 Singleton Pattern - Design Justification................................................................ 19
2.2.3 System Flowchart ............................................................................................. 20
2.2.4 System Topology - Data Flow .............................................................................. 21
2.3 UI & UX Design ........................................................................................................ 21
2.3.1 Initial Design Sketches ...................................................................................... 21
2.3.2 Dashboard Layout Design .................................................................................. 21
2.3.3 Fitts's Law - Button Size Justification ................................................................... 21
2.3.4 Canvas Structure .............................................................................................. 21

, 2.3.5 The Atomic Prefab Approach .............................................................................. 21
2.4 Data Models & Algorithm Design ............................................................................... 21
2.4.1 Data Dictionary ................................................................................................. 21
2.4.2 Algorithm Design - Market Price Simulation ......................................................... 21
2.4.3 Event System Design ......................................................................................... 21
2.5 Pre-Development Test Plan ...................................................................................... 21
Transaction ledger evidence (T09) ............................................................................... 21
Trace tables ................................................................................................................. 21
Trace Table — Test Event A ......................................................................................... 21
Trace Table — Test Event B ......................................................................................... 21
Trace Table — Test Event C (Part 1) ............................................................................. 21
Trace Table — Test Event C (Part 2) ............................................................................. 21
3. Development & Implementation .................................................................................... 21
3.2 Prototype 1 - Main Menu & Scene Foundation ............................................................ 21
3.2.1 Goal................................................................................................................. 21
3.2.2 Implementation ................................................................................................ 21
3.2.3 Problems Encountered ...................................................................................... 21
3.2.4 Prototype 1 Test Table ....................................................................................... 21
3.2.5 Prototype 1 Review ............................................................................................ 21
3.3 Prototype 2 - Market Logic & Core Data Structures ..................................................... 21
3.3.1 Goal................................................................................................................. 21
3.3.2 Implementation ................................................................................................ 21
3.3.3 Problems Encountered ...................................................................................... 21
3.3.4 Prototype 2 Test Table ....................................................................................... 21
3.3.5 Prototype 2 Review ............................................................................................ 21
3.4 Prototype 3 - UI Layer, Trading System & Navigation .................................................... 21
3.4.1 Goal................................................................................................................. 21
3.4.2 Implementation ................................................................................................ 21
3.4.3 Problems Encountered ...................................................................................... 21
3.4.4 Prototype 3 Test Table ....................................................................................... 21
3.4.5 Prototype 3 Review ............................................................................................ 21
3.5 Prototype 4 - GPU Graph & Performance Optimisation ................................................ 21
3.5.1 Goal................................................................................................................. 21
3.5.2 Implementation ................................................................................................ 21
3.5.3 Performance Benchmark Results ....................................................................... 21
3.5.4 Problems Encountered ...................................................................................... 21
3.5.5 Prototype 4 Test Table ....................................................................................... 21
3.5.6 Prototype 4 Review ............................................................................................ 21

, 3.6 Technical Optimisations .......................................................................................... 21
3.6.1 Event-Driven UI Architecture .............................................................................. 21
3.6.2 GPU Mesh Rendering ......................................................................................... 21
3.6.3 Big-O Complexity Analysis ................................................................................. 21
4. Testing ........................................................................................................................ 21
4.1 Post-Development Test Results ................................................................................ 21
4.2 Usability Testing ...................................................................................................... 21
5. Evaluation.................................................................................................................... 21
5.1 Success Criteria Evaluation ...................................................................................... 21
5.2 Unmet & Partially Met Requirements ......................................................................... 21
5.2.1 Save/Load System - Not Met .............................................................................. 21
5.2.2 Tutorial - Implemented ...................................................................................... 21
5.3 Usability Evaluation ................................................................................................. 21
5.4 Maintenance & Extensibility ..................................................................................... 21
5.4.1 Adding a New Asset Class - and the scaling limit .................................................. 21
5.4.2 Adding a New News Event - and the coverage gap ................................................ 21
5.4.3 Known Technical Debt ....................................................................................... 21
5.5 Final Reflection ....................................................................................................... 21
Glossary ......................................................................................................................... 21
Appendix ......................................................................................................................... 21
MarketEngine.cs ........................................................................................................... 21
TurnManager.cs ........................................................................................................... 21
PortfolioManager.cs ..................................................................................................... 21
NewsManager.cs .......................................................................................................... 21
SimpleGraph.cs ........................................................................................................... 21
UIDataBinder.cs ........................................................................................................... 21

Table of contents

  1. 01 1. Analysis 5
    1. 1.1 Identifying the Problem 5
    2. 1.2 Stakeholder Investigation 5
    3. 1.2.1 Primary Stakeholder - Ria 5
    4. 1.2.2 Secondary Stakeholder - Phillip 5
    5. 1.2.3 Questionnaire Results 6
    6. 1.2.4 Focus Group Session 8
    7. 1.3 MoSCoW Requirements 8
    8. 1.4 Similar Systems Research 9
    9. 1.4.1 Wall Street Raider 9
    10. 1.4.2 AdVenture Capitalist 11
    11. 1.4.3 Capitalism II 12
    12. 1.4.4 Investopedia Stock Simulator 14
    13. 1.4.5 Trading 212 14
    14. 1.5 Research Summary 15
    15. 1.6 Computational Approach 16
    16. 1.6.1 Why a Computational Solution is Appropriate 16
    17. 1.6.2 Thinking Abstractly 16
    18. 1.6.3 Decomposition 16
    19. 1.6.4 Thinking Ahead 17
    20. 1.6.5 Thinking Procedurally 17
    21. 1.7 Technical Requirements 17
    22. 1.8 Limitations of the Proposed Solution 18
    23. 1.9 Success Criteria 18
  2. 02 2. Design & Architecture 21
    1. 2.1 Development Approach 21
    2. 2.2 System Architecture 21
    3. 2.2.1 The Manager Pattern - Decomposition Justification 21
    4. 2.2.2 Singleton Pattern - Design Justification 22
    5. 2.2.3 System Flowchart 23
    6. 2.2.4 System Topology - Data Flow 25
    7. 2.3 UI & UX Design 26
    8. 2.3.1 Initial Design Sketches 26
    9. 2.3.2 Dashboard Layout Design 26
    10. 2.3.3 Fitts's Law - Button Size Justification 27
    11. 2.3.4 Canvas Structure 27
    12. 2.3.5 The Atomic Prefab Approach 28
    13. 2.4 Data Models & Algorithm Design 28
    14. 2.4.1 Data Dictionary 28
    15. 2.4.2 Algorithm Design - Market Price Simulation 29
    16. 2.4.3 Event System Design 30
    17. 2.5 Pre-Development Test Plan 30
    18. Transaction ledger evidence (T09) 31
    19. Trace tables 32
    20. Trace Table — Test Event A 32
    21. Trace Table — Test Event B 33
    22. Trace Table — Test Event C (Part 1) 33
    23. Trace Table — Test Event C (Part 2) 33
  3. 03 3. Development & Implementation 35
    1. 3.2 Prototype 1 - Main Menu & Scene Foundation 35
    2. 3.2.1 Goal 35
    3. 3.2.2 Implementation 35
    4. 3.2.3 Problems Encountered 37
    5. 3.2.4 Prototype 1 Test Table 38
    6. 3.2.5 Prototype 1 Review 39
    7. 3.3 Prototype 2 - Market Logic & Core Data Structures 39
    8. 3.3.1 Goal 39
    9. 3.3.2 Implementation 39
    10. 3.3.3 Problems Encountered 39
    11. 3.3.4 Prototype 2 Test Table 40
    12. 3.3.5 Prototype 2 Review 41
    13. 3.4 Prototype 3 - UI Layer, Trading System & Navigation 41
    14. 3.4.1 Goal 41
    15. 3.4.2 Implementation 42
    16. 3.4.3 Problems Encountered 43
    17. 3.4.4 Prototype 3 Test Table 43
    18. 3.4.5 Prototype 3 Review 44
    19. 3.5 Prototype 4 - GPU Graph & Performance Optimisation 45
    20. 3.5.1 Goal 45
    21. 3.5.2 Implementation 45
    22. 3.5.3 Performance Benchmark Results 46
    23. 3.5.4 Problems Encountered 46
    24. 3.5.5 Prototype 4 Test Table 46
    25. 3.5.6 Prototype 4 Review 47
    26. 3.6 Technical Optimisations 47
    27. 3.6.1 Event-Driven UI Architecture 47
    28. 3.6.2 GPU Mesh Rendering 47
    29. 3.6.3 Big-O Complexity Analysis 48
  4. 04 4. Testing 49
    1. 4.1 Post-Development Test Results 49
    2. 4.2 Usability Testing 50
  5. 05 5. Evaluation 55
    1. 5.1 Success Criteria Evaluation 55
    2. 5.2 Unmet & Partially Met Requirements 59
    3. 5.2.1 Save/Load System - Not Met 59
    4. 5.2.2 Tutorial - Implemented 60
    5. 5.3 Usability Evaluation 60
    6. 5.4 Maintenance & Extensibility 60
    7. 5.4.1 Adding a New Asset Class - and the scaling limit 60
    8. 5.4.2 Adding a New News Event - and the coverage gap 61
    9. 5.4.3 Known Technical Debt 61
    10. 5.5 Final Reflection 61
  6. 06 Glossary 62
  7. 07 Appendix 63
    1. MarketEngine.cs 63
    2. TurnManager.cs 64
    3. PortfolioManager.cs 67
    4. NewsManager.cs 68
    5. SimpleGraph.cs 70
    6. UIDataBinder.cs 71

Document information

Study Level
Uploaded on
June 21, 2026
Number of pages
74
Written in
2025/2026
Type
Essay
Professor(s)
Unknown
Grade
Unknown
£4.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
1
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions