A simple terminal UI for viewing fund P/L analysis through TEFAS

Overview

Tefas UI

A simple terminal UI for viewing fund P/L analysis through TEFAS.

Features (that my own bank's UI lack):

  • Daily and weekly P/L
  • FX comparisons

Installation

You can simply install it through pip:

pip install git+https://github.com/isidentical/tefas-ui

Note: please install forex-python for currency support

Usage

Use it with tefas-ui, and target it to the data file that contains the export you took from your bank. Tefas UI only supports TEB at the moment, but feel free to make new PRs for other banks as well.

tefas-ui <input file> <fund format: {teb}>
 $ tefas-ui examples/teb.txt teb
                                                                        TEFAS Index                                                                         
┏━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Name ┃ Title                                          ┃ Purchase Date ┃ Total Shares ┃   Total Worth ┃    P/L (today) ┃ P/L (this week) ┃ P/L (all time) ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ TYH  │ TEB ASSET MANAGEMENT EQUITY FUND               │ 2021-09-14    │         3000 │  581.4570 TRY │   -52.4100 TRY │    -64.9530 TRY │   -37.8351 TRY │
│      │ (EQUITY-INTENSIVE FUND)                        │               │              │               │                │                 │                │
│ TPL  │ TEB ASSET MANAGEMENT EUROBOND (FX) DEBT        │ 2021-12-14    │         1000 │ 4351.4720 TRY │ -1432.3900 TRY │   -538.0710 TRY │  1461.9290 TRY │
│      │ INSTRUMENTS FUND                               │               │              │               │                │                 │                │
│ TMG  │ İŞ ASSET MANAGEMENT FOREIGN EQUITY FUND        │ 2021-12-10    │         6000 │ 1404.4740 TRY │  -444.7320 TRY │   -157.6200 TRY │   388.7620 TRY │
│ N/A  │ Total Portfolio                                │ N/A           │          N/A │ 6337.4030 TRY │ -1929.5320 TRY │   -760.6440 TRY │  1812.8559 TRY │
└──────┴────────────────────────────────────────────────┴───────────────┴──────────────┴───────────────┴────────────────┴─────────────────┴────────────────┘
 $ tefas-ui examples/teb.txt teb --currency usd
                                                                        TEFAS Index                                                                         
┏━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Name ┃ Title                                            ┃ Purchase Date ┃ Total Shares ┃  Total Worth ┃   P/L (today) ┃ P/L (this week) ┃ P/L (all time) ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ TYH  │ TEB ASSET MANAGEMENT EQUITY FUND                 │ 2021-09-14    │         3000 │  44.6372 USD │   -4.0234 USD │     -0.4622 USD │    -0.5533 USD │
│      │ (EQUITY-INTENSIVE FUND)                          │               │              │              │               │                 │                │
│ TPL  │ TEB ASSET MANAGEMENT EUROBOND (FX) DEBT          │ 2021-12-14    │         1000 │ 334.0529 USD │ -109.9614 USD │     -7.0857 USD │   132.4524 USD │
│      │ INSTRUMENTS FUND                                 │               │              │              │               │                 │                │
│ TMG  │ İŞ ASSET MANAGEMENT FOREIGN EQUITY FUND          │ 2021-12-10    │         6000 │ 107.8184 USD │  -34.1411 USD │     -1.1674 USD │    43.8357 USD │
│ N/A  │ Total Portfolio                                  │ N/A           │          N/A │ 486.5085 USD │ -148.1259 USD │     -8.7153 USD │   175.7348 USD │
└──────┴──────────────────────────────────────────────────┴───────────────┴──────────────┴──────────────┴───────────────┴─────────────────┴────────────────┘
You might also like...
This project is a basic login system in terminal for Discord

Welcome to Discord Login System(Terminal) 👋 This project is a basic login system in terminal for Discord Author 👤 arukovic Github: @SONIC-CODEZ Show

See GitHub API on terminal

gitbees About gitbees uses the GitHub API to show user data and ``repos` Using Make sure you have a python interpreter and then python gitbees.py Lice

Search all history of Chrome in terminal
Search all history of Chrome in terminal

Chrotry Search all history of Chrome in terminal. Demo Usages Move the Chrome history file to current directory by running move_history.sh Rename hist

A Terminal User Interface (TUI) for automated trading with Komodo Platform's AtomicDEX-API
A Terminal User Interface (TUI) for automated trading with Komodo Platform's AtomicDEX-API

PytomicDEX Makerbot A Terminal User Interface (TUI) for automated trading with Komodo Platform's AtomicDEX-API Install sudo apt install wget curl jq g

A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.
A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.

TCG-TERM Project state: 🔧 🚧 🚧 🚧 Incomplete, In development 🚧 🚧 🚧 👷 (Keep in mind that at the moment, This project is currently undone, and wil

🎥 Stream your favorite movie from the terminal!
🎥 Stream your favorite movie from the terminal!

Stream-Cli stream-cli is a Python scrapping CLI that combine scrapy and webtorrent in one command for streaming movies from your terminal. Installatio

🎥 Stream your favorite movie from the terminal!
🎥 Stream your favorite movie from the terminal!

Stream-Cli stream-cli is a Python scrapping CLI that combine scrapy and webtorrent in one command for streaming movies from your terminal. Installatio

Download videos from Youtube and other platforms through a Telegram Bot
Download videos from Youtube and other platforms through a Telegram Bot

ytdl-bot Download videos from YouTube and other platforms through a Telegram Bot Usage: https://t.me/benny_ytdlbot Send link from YouTube directly to

Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API

GitHub Webhook to Telegram Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API What this project do is very

Releases(2022.10.27)
Owner
Batuhan Taskaya
Python & F/OSS
Batuhan Taskaya
A discord bot that manages your server's hedge fund

Can't Hide Money Bot A discord bot that manages your server's hedge fund Installing Install wkhtmltopdf sudo apt-get install wkhtmltopdf OR brew insta

Kelvin Abrokwa-Johnson 0 Oct 16, 2021
Fetch fund data from avanza.se using Python and some web scraping with bs4

Py(A)vanza Fetch fund data from avanza.se using Python and some web scraping with bs4. The default way is to display the data in the terminal, apply -

dunderrrrrr 1 Jan 27, 2022
A Discord bot for viewing any currency you want comfortably.

Dost Dost is a Discord bot for viewing currencies. Getting Started These instructions will get you a copy of the project up and running on your local

Baran Gökalp 2 Jan 18, 2022
A wrapper for aqquiring Choice Coin directly through a Python Terminal. Leverages the TinyMan Python-SDK.

CHOICE_TinyMan_Wrapper A wrapper that allows users to acquire Choice Coin directly through their Terminal using ALGO and various Algorand Standard Ass

Choice Coin 16 Sep 24, 2022
Simple python program to execute terminal commands on telegram chats directly.

Small python code which can be handy when using telegram and you don't want to use VPS again and again. By configuring the code in your VPS, You can execute commands and get your output within telegram. It can also be very useful in performing Recon.

Veshraj Ghimire 34 Dec 5, 2022
A simple python script for rclone. Use multiple Google Service Accounts and cycle through them.

About GSAclone GSAclone is a simple python script for rclone, written with the purpose of using multiple Google service accounts on Google Drive and "

Shiro39 6 Feb 25, 2022
This is a simple bot for running Python code through Discord

Python Code Runner Discord Bot This is a simple bot for running Python code through Discord. It was originally developed for the Beginner.Codes Discor

beginner.py 1 Feb 14, 2022
Terminal-Trade(Panel API) For Binance

Binance-Trade-Project Binance Futures Terminal-Trade(API) & Binance This Project Worth Around 500 Bucks. **I Did This Project For SomeOne And He

Cyber 9 Dec 30, 2021
Terminal Bot which will Execute your Commands From telegram bot!

Terminal-Bot see this bot alive: https://t.me/HerokuTerminal_Bot With this bot you can execute system commands on your server. how to config? clone or

Moshe 41 Dec 9, 2022
A python script to send sms anonymously with SMS Gateway API. Works on command line terminal.

incognito-sms-sender A python script to send sms anonymously with SMS Gateway API. Works on command line terminal. Download and run script Go to API S

ʀᴇxɪɴᴀᴢᴏʀ 1 Oct 25, 2021