hygoh2k / TradeProfile

Trade Profile Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TradeProfile

Trade Profile Application

Objective: Read in the trading profile in working directory, calculate and present the P/L report based on the latest tickers' performance

The project comprises of 3 components:

Main Component

Main Form (MainApp): Entry point of the application. The main app will hold the static instance of castle windsor IoC contaner, and register/resolve all the dependencies.

Data Model/Service Layer

Contains data model and services to be consumed by the reporting model.

Common: contains common data model to be used by service

StockTickerAlphaVantageService: ticker service

StockTransactionXmlService: read in user's transactions

ProfitLossService: calculate the P/L (to be consumed by ProfitLossPage)

Reporting Layer

Contains multiple Report page to be "injected" via IoC method.

SettingReport: Display the application setting

ProfitLossPage: Display the P/L data

Unit Test

Unit test project focussing on individual components

Steps to run:

  1. Select File, Reload

image

  1. Form will be loaded as follow image

About

Trade Profile Application

License:MIT License


Languages

Language:C# 100.0%