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 Powerful telegram giveawayz bot based on the python-telegram-bot API

GiveawayZ Bot A Powerful telegram giveawayz bot based on the python-telegram-bot API. Powered by Team Zyntax and Team DFX Developed by @Zycho-Dev A pr

Zycho #AFK 5 Jul 31, 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
A Bot to Track Kernel Upstreams from kernel.org and Post it on Telegram Channel

Channel Kernel Tracker is the channel where the bot will be sending the updates in. Introduction This is a Telegram Bot to Track Kernel Upstreams kern

Kartikeya Hegde 3 Oct 05, 2021
search different Streaming Platforms for movie titles.

Install git clone and cd to directory install Selenium download chromedriver.exe to same directory First Run Use --setup True for the first run. Platf

34 Dec 25, 2022
BleachBit system cleaner for Windows and Linux

BleachBit BleachBit cleans files to free disk space and to maintain privacy. Running from source To run BleachBit without installation, unpack the tar

1.9k Jan 06, 2023
Free and Open Source Machine Translation API. 100% self-hosted, no limits, no ties to proprietary services. Built on top of Argos Translate.

LibreTranslate Try it online! | API Docs Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on pro

UAV4GEO 3.5k Jan 03, 2023
Телеграм бот решающий задания ЦДЗ, написанный на библиотеке libmesh.

MESHBot-Telegram Телеграм бот решающий задания ЦДЗ. Описание: Бот написан с использованием библиотеки libmesh. Для начала работы отправьте ему ссылку

2 Jun 19, 2022
→ Comando Básico para Python Discord

Discord.py · Código @client.event async def on_ready(): print('He iniciado sessión en: {0.user}'.format(client)) @client.event async def on_messa

Panda.xyz 4 Mar 12, 2022
Telegram bot for stream music on telegram, powered by py-tgcalls and Pyrogram

Telegram Streamer Bot Telegram bot for stream music on telegram, powered by py-tgcalls and Pyrogram ✨ Features Coming soon, help me to improve it 🛠 C

Shohih Abdul 11 Oct 21, 2022
A simple Python TDLib wrapper

Telegram Forwarder App Description pywtdlib (Python Wrapper TDLib) is a simple synchronous Python wrapper that makes you easy to create new Python Tel

Álvaro Fernández 2 Jan 04, 2023
List of twitch bots n bigots

This is a collection of bot account names NamelistMASTER contains all the names we reccomend you ban in your channel Sometimes people get on that list

62 Sep 05, 2021
Busty - A bot for the Busty Discord server

Busty Discord bot used for the Busty server. Install You'll need at least Python

Andrew Morgan 7 Dec 05, 2022
This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates

TGImageHosting This is a simple bot that can be used to upload images to a third party cloud (image hosting). Currently, only the imgbb.com website su

Abhijith N T 0 Dec 26, 2021
Tools to download and aggregate feeds of vaccination clinic location information in the United States.

vaccine-feed-ingest Pipeline for ingesting nationwide feeds of vaccine facilities. Contributing How to Configure your environment (instructions on the

Call the Shots 26 Aug 05, 2022
A simple google translator telegram bot version 2

Translator-Bot-V2 A simple google translator telegram bot version 2 Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License

Fayas Noushad 15 Oct 21, 2022
Some Discord bot block bad words, with this simple hacking tool you will be able to bypass blacklisted words

DISCORD-BAD-WORD-BYPASS-2022 DISCORD BLACKLISTED WORDS HACKING/BYPASS (EDUCATIONAL PURPOSES ONLY) bypass discord blacklisted words. Description Some D

6 Nov 20, 2022
Python SDK for LUSID by FINBOURNE, a bi-temporal investment management data platform with portfolio accounting capabilities.

LUSID® Python SDK This is the Python SDK for LUSID by FINBOURNE, a bi-temporal investment management data platform with portfolio accounting capabilit

FINBOURNE 6 Dec 24, 2022
Free and Open Source Channel/Group Voice chat music player for telegram ❤️ with button support Heroku Commands

ZeusMusic Requirements 📝 FFmpeg NodeJS nodesource.com Python 3.7 or higher PyTgCalls MongoDB 2nd Telegram Account (needed for userbot) 🧪 Get SESSION

ZeusNetwork 4 Jan 03, 2022
Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation

secp256k1 Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation Example Usage import secp256k1 as ice print('[C]',privatekey_to_addres

iceland 49 Jan 01, 2023
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Dec 31, 2022