Java-Trading-Log-Project - A Trading Log to Journal Your Trades.

Overview

Abhi's Project - Trading Log

Trading Background

I am very passionate about trading. I have been studying the financial markets for a few years and have been through many ups and downs. I have learned a lot about myself through the hard work it requires to be a consistent and profitable trader.

Project Information

This project will be a Java GUI where I can log the details of my trades as an entry. I can then calculate basic metrics using my program. This includes calculating winrate and overall profit/loss. I can also view a summary of my trades that I can use for reflection. Perhaps in the future I would like to implement more features so that I can filter my trades based off the instrument I was trading, what session I was trading, how long my best trades lasted, which days should I avoid based off my trading history, etc.

User Stories

  • As a user, I want to be able to add a trade to my log of trades
  • As a user, I want to be able to view a summary of my trades
  • As a user, I want to see my overall win-rate
  • As a user, I want to see my overall profit
  • As a user, I want to be able to save my log of trades to file
  • As a user, I want to be able to be able to load my log of trades from file

Phase 4: Task 2

Below I paste the sample of what Event and EventLog print to console. In the preview it does not show them in separate lines but in the editor you can see that each statement is printed to a new line.

Tue Nov 23 16:28:24 PST 2021 Trade on EU added to TradesList. Tue Nov 23 16:28:24 PST 2021 Trade on GU added to TradesList. Tue Nov 23 16:28:24 PST 2021 Trade on 30Year added to TradesList. Tue Nov 23 16:28:24 PST 2021 Trade on EU added to TradesList. Tue Nov 23 16:28:26 PST 2021 Profit of TradesList was calculated. Tue Nov 23 16:28:26 PST 2021 Profit of TradesList was calculated. Tue Nov 23 16:28:29 PST 2021 Win-rate of TradesList was calculated. Tue Nov 23 16:28:29 PST 2021 Win-rate of TradesList was calculated. Tue Nov 23 16:28:31 PST 2021 Summary of TradesList was made. Tue Nov 23 16:28:31 PST 2021 Summary of TradesList was made. Tue Nov 23 16:28:31 PST 2021 Summary of TradesList was made. Tue Nov 23 16:28:31 PST 2021 Summary of TradesList was made.

Process finished with exit code 1

Phase 4: Task 3

  • I would probably put the components of InputFields, ButtonPanel, and Title classes in MainFrame. I didn't think it was necessary to split them up, and it would probably make it easier to navigate through the project if it was just the Main class along with the Frame classes.
  • There was lots of similarities between CalculateProfitFrame and SeeWinrateFrame. I could have made a general abstract class for them and extended these two classes to that class.
You might also like...

This app corrects your sitting posture and provides feedback in real time in conjunction with the app. A sensor of 31 cells detects your posture to get better life-wellness

This app corrects your sitting posture and provides feedback in real time in conjunction with the app. A sensor of 31 cells detects your posture to get better life-wellness

Notichair 실시간 자세분석 및 교정 스마트체어 🏆 상명대학교 PRIME 경진대회 수상 🏆 요구사항 31-cell sensor (mdxs-16-5610) 목차 1. 소개 프로젝트 내용 소개 2. 개발 환경 사전 설정 및 환경 구축 3. 기능 Sensors Ap

Jan 15, 2022

corrects your sitting posture and provides feedback in real time in conjunction with the app. A sensor of 31 cells detects your posture to get better life-wellness

corrects your sitting posture and provides feedback in real time in conjunction with the app. A sensor of 31 cells detects your posture to get better life-wellness

Notichair 실시간 자세분석 및 교정 스마트체어 🏆 상명대학교 PRIME 경진대회 수상 🏆 요구사항 31-cell sensor (mdxs-16-5610) 목차 1. 소개 프로젝트 내용 소개 2. 개발 환경 사전 설정 및 환경 구축 3. 기능 Sensors Ap

Jan 15, 2022

DM Movie is an app with several movies catalogued through a database, you enter your email and your rating of the movie

DM Movie is an app with several movies catalogued through a database, you enter your email and your rating of the movie

DM Movie is an app with several movies catalogued through a database, you enter your email and your rating of the movie

Jan 28, 2022

A tool ot export, analyse and visualize your transactions, rewards and commissions of your liquidity mining pools or DEX transactions.

VisualTrans A tool ot export, analyse and visualize your transactions, rewards and commissions of your liquidity mining pools or DEX transactions. Doc

Mar 11, 2022

Set of project to test how fast is compilation on your computer

Бенчмарк сборки Android проектов Репозиторий содержит несколько проектов, для которые необходимо запустить тесты и зарепортить их результаты Методика

Jul 29, 2022

Create different patterns and designs using your favorite programming language for this project.

Create different patterns and designs using your favorite programming language for this project.

Patterns project for Hacktoberfest Create different patterns and designs using your favourite programming language weather it be a square pattern, sta

Oct 5, 2022

The open source CyborgFlow project is an out-of-the-box (OOTB) solution to perform load test on your online system.

The open source CyborgFlow project is an out-of-the-box (OOTB) solution to perform load test on your online system.

CyborgFlow CyborgFlow provides an out-of-the-box (OOTB) solution to perform load test on your online system, powered by Apache APISIX, Apache SkyWalki

Nov 30, 2022

This repository is totally dedicated to Hacktoberfest 2021, feel free to add your project.

This repository is totally dedicated to Hacktoberfest 2021, feel free to add your project.

push-it-hacktoberfest This repository is totally dedicated to Hacktoberfest 2021, feel free to add your project. HacktoberFest21 Hello Hackers, Contri

Oct 31, 2021
Owner
Abhigyan Dabla
A second year computer science major at UBC.
Abhigyan Dabla
An assistance platform made using Spring framework that analyses your code, and helps you either to start a devops project, or to turn an existing project into a devops project using open source software (Git, Docker, Jenkins..)

DevOpsify Description An assistance platform made using Spring framework that analyses your code, and helps you either to start a devops project, or t

obaydah bouifadene 14 Nov 8, 2022
Java & Spring based cryptocurrency trading robot (RPA) that uses the public Binance API

Santini Santini is a Java & Spring based cryptocurrency trading bot that uses the public Binance API. It is run by providing it with API keys generate

Tongjian Cui 22 Apr 19, 2022
Java & Spring based cryptocurrency trading robot (RPA) that uses the public Binance API

Santini is a Java & Spring based cryptocurrency trading bot that uses the public Binance API. It is run by providing it with API keys generated at binance.com (Also provide Santini with Twitter API keys if tweet alerts are desired).

Adam·Michael 22 Apr 19, 2022
Simple Design for Java bridge with Javascript. Also can get javascript console.log.

SDBridgeKotlin is here. If your h5 partner confused about how to deal with iOS and Android. This Demo maybe help. 最常见的问题. WebViewJavascriptBridge is n

null 25 Dec 18, 2022
Minecraft configurable plugin , which sends messages the first time a player logs into the server or the next time they log in.

JoinMessages Minecraft configurable plugin , which sends messages the first time a player logs into the server or the next time they log in or leave.

ᴠᴀʟᴇɴᴛɪɴ ᴢʜᴇʟᴇᴠ 6 Aug 30, 2022
Manages server status and gives log of status information. front end - angular js, backend- sbring boot, DB-MySQL

ServerManagerApplication / | | / | | ( ___ _ __ __ __ ___ _ __ | \ / | __ _ _ __ __ _ __ _ ___ _ __ __ \ / _ \ | '| \ \ / / / _ \ | '| | |/| | / | | '

null 1 Jan 6, 2022
A util for operating log. Easy to use.

oplog 一个便于使用的操作日志工具。 语言 : [ 英语 | 中文 ] 功能 通过表达式解析生成美观的表达式,支持解析入参、自定义变量、返回值(_ret)、错误信息(_errMsg) 可以通过条件控制是否记录日志 提供自定义函数扩展 提供自定获取上下文用户扩展 支持嵌套、支持多线程使用情景 使用

Qichun Liu 16 Oct 19, 2022
GalaxyCDC is a core component of PolarDB-X which is responsible for global binary log generation, publication and subscription.

中文文档 What is ApsaraDB GalaxyCDC ? GalaxyCDC is a core component of PolarDB-X which is responsible for global binary log generation, publication and su

null 56 Dec 19, 2022
Generate a dynamic PAC script that will route traffic to your Burp proxy only if it matches the scope defined in your Burp target.

Burp PAC Server This Burp Extension generates a dynamic Proxy Auto-Configuration (PAC) script that will route traffic to your Burp proxy only if it ma

null 30 Jun 13, 2022
A minecraft minigame where you have to defend your bed and destroy the others. Once your bed is destroyed, you cannot respawn.

As from November 1st 2021 BedWars1058 by Andrei Dascălu becomes open source under GNU GPL 3.0 license. If you are a developer I would really appreciat

Andrei Dascălu 182 Dec 26, 2022