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
TESSARECT A Powerful Bot you'll ever need for anything

Tessarect TESSARECT A Powerful Bot you'll ever need for anything TESSARECT It is my First bot but very advanced and designed for all your needs , from

Prakarsh Prp 4 Aug 27, 2022
Python wrapper for JeyyAPI

Async python wrapper for JeyyAPI

7 Dec 10, 2022
A Python wrapper for the QQ Channel API

A Python wrapper for the QQ Channel API

Fox_white 55 Dec 07, 2022
An example Music Bot written in Disnake and uses slash commands to operate.

Music Bot An example music bot that is written in Disnake [Maintained discord.py Fork] Disnake Disnake is a maintained and updated fork of discord.py.

6 Jan 08, 2022
Using DST's API with Python

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

Alessandro Martinello 16 Dec 02, 2022
Public API client for GETTR, a "non-bias [sic] social network," designed for data archival and analysis.

GoGettr GoGettr is an API client for GETTR, a "non-bias [sic] social network." (We will not reward their domain with a hyperlink.) GoGettr is built an

Stanford Internet Observatory 72 Dec 14, 2022
Discord bot written in python

Discord bot created by dpshark#3004 for fun List of features/commands: [keyword] responses tools !add [respons] Adds new response to [keyword] !remove

Daniel K.Gunleiksrud 3 Dec 28, 2021
A part of HyRiver software stack for accessing hydrology data through web services

Package Description Status PyNHD Navigate and subset NHDPlus (MR and HR) using web services Py3DEP Access topographic data through National Map's 3DEP

Taher Chegini 51 Dec 10, 2022
Скрипт, позволяющий импортировать плейлисты из Spotify, а также обычные треклисты в VK музыку.

vk-music-import Программа для переноса плейлистов из Spotify и текстовых треклистов в VK Музыку. Преимущества: Позволяет быстро импортировать плейлист

Mew Forest 32 Nov 23, 2022
A python library for creating Slack slash commands using AWS Lambda Functions

slashbot Slashbot makes it easy to create slash commands using AWS Lambda functions. These can be handy for creating a secure way to execute automated

Eric Brassell 17 Oct 21, 2022
With this program you can work English & Turkish

1 - How Can I Work This? You must have Python compilers in order to run this program. First of all, download the compiler in the link. Compiler 2 - Do

Mustafa Bahadır Doğrusöz 3 Aug 07, 2021
Images to PDF Telegram Bot

ilovepdf Convert Images to PDF Bot This bot will helps you to create pdf's from your images [without leaving telegram] 😉 By Default: your pdf fil

✰Naͥbiͣlͫ A Navab✰ 116 Dec 29, 2022
A simple API wrapper for the Tenor API

Gifpy A simple API wrapper for the Tenor API Installation Python 3.9 or higher is recommended python3 -m pip install gifpy Clone repository: $ git cl

Juan Ignacio Battiston 4 Dec 22, 2021
A simple google translator telegram bot

Translator-Bot A simple google translator telegram bot Please fork this repository don't import code Made with Python3 (C) @FayasNoushad Copyright per

Fayas Noushad 14 Nov 12, 2022
Telegram bot to host python bots

Host-Bot Setup the api Upload the flask api on your host #its not important to do #i used it just for simple captcha system + save ids on your host!

Plugin 15 Feb 11, 2022
Data from popular CS:GO website hltv.org

Welcome to hltv-data 👋 🎮 Data from popular CS:GO website hltv.org Install pip install hltv-data Usage The public methods can be reached using HLTVCl

Dariusz Choruży 28 Dec 23, 2022
A Telegram robot can clone medias from any chat to your own chat.

Clonebot A Telegram robot can clone medias from any chat to your own chat. Read the documentation to know how to use the bot Deploy Developer Document

Renjith Mangal 224 Dec 30, 2022
Provide fine-grained push access to GitHub from a JupyterHub

github-app-user-auth Provide fine-grained push access to GitHub from a JupyterHub. Goals Allow users on a JupyterHub to grant push access to only spec

Yuvi Panda 20 Sep 13, 2022
Discord Bot that leverages the idea of nested containers using podman, runs untrusted user input, executes Quantum Circuits, allows users to refer to the Qiskit Documentation, and provides the ability to search questions on the Quantum Computing StackExchange.

Discord Bot that leverages the idea of nested containers using podman, runs untrusted user input, executes Quantum Circuits, allows users to refer to the Qiskit Documentation, and provides the abilit

Mehul 23 Oct 18, 2022
Fast and multi-threaded script to automatically claim targeted username including 14 day bypass

Instagram Username Auto Claimer Fast and multi-threaded script to automatically claim targeted username. Click here to report bugs. Usage Download ZIP

265 Dec 28, 2022