- Calculate amount for buy and sell orders
- Get rank of instructions
Run: fxtrader > mvn clean install
- Instruction : Main entity for processing
- Currency : Currency enum for each instruction
- OrderType : Order type for each instruction
- FxTraderCalculatorService : Calculate amount for specific operation
- FxTraderReportService : Generate report by order type and amount
- TestFxTraderCalculatorService : Contains test cases for amount calculation for specific days and currencies
- TestFxTraderReportService : Contains test cases for report generation
- There is no main method in this project.
- There are 2 main services and 2 test classes for this service classes.