KonH / InvestmentReporting

Self-hosted service to manage investments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github action status coverage status CodeQL

Summary

This self-hosted service allows you to manage your long-term investments in financial instruments and see statistics. It can be especially useful in the case of different brokers' usage.

Features

Portfolio

You can see your overall portfolio with last-day-close prices, filter it by broker and history period: portfolio portfolio_table

Classification

You can set up multiple tags for each asset in your portfolio: tags

Tags is used in dashboards, for example to handle country and industry diversification: dashboard_1 dashboard_1_view dashboard_2 dashboard_2_view

You can set a target for each tag in the dashboard and see a difference between a real share of that tag and your target. It's useful to understand which category is under or overloaded.

Operation inspection

You can review all operations and filter them by different criteria: operations

For example, you can filter operations related to specific asset: operations_asset

Import

You can import your broker reports to the service: import

Import supported for different brokers:

Broker Transfers Share ETF Bond Dividends Coupons
AlphaDirect + + + + + +
Tinkoff + + + + + +

Custom

You can manually insert your operations: custom

Account/broker management

You can set up your brokers and accounts, assign currencies for each account: accounts

Warranty notice

The service is in the initial prototype stage and should not be used in production. No guarantees provided, especially for complex cases, which not fully supported. Statistics data may be inexact and should not be used as financial advice without additional investigations. The service is not directed to short-term operations, data is collected with noticeable delay, which fine for a long-term period.

Installation guide

Hardware

Supports both x86_64 and ARM processors

Prerequisites

Recommendations

HTTPS is not provided by this service, but it's strongly recommended for security reasons. Please set up some HTTPS reverse proxy (like Nginx) to redirect requests to the service.

Getting started

  • Clone repository - git clone https://github.com/KonH/InvestmentReporting.git
  • Install project .NET tools: dotnet tool restore
  • Create Production.env file:
MONGO_INITDB_ROOT_USERNAME=%MONGO_USERNAME%
MONGO_INITDB_ROOT_PASSWORD=%MONGO_PASSWORD%
TINKOFF_API_SANDBOX_KEY=%TINKOFF_API_KEY%

Register

  • Registration is based on token, which available in service logs
  • Lookup token in logs: docker-compose logs invite-service
  • Use that token in the registration process
  • Register is locked if you make an invalid attempt, just restart the invite-service to reset the access timer

About

Self-hosted service to manage investments

License:MIT License


Languages

Language:C# 66.6%Language:Vue 17.8%Language:TypeScript 13.8%Language:PowerShell 0.6%Language:Shell 0.5%Language:Dockerfile 0.4%Language:HTML 0.1%Language:JavaScript 0.1%Language:Batchfile 0.0%