Skip to main content

All Questions

Tagged with
10 votes
2 answers
1k views

A simple Python class designed to facilitate investment portfolio analysis

Background In an attempt to learn a bit more about investing and economics, I've begun writing a simple historical portfolio analysis tool in Python. The ...
IntegerEuler's user avatar
1 vote
1 answer
408 views

A Credit Payment Calculator

So I've attempted this project from hyperskills where you're asked to make a calculator script that can calculate annuity and differentiated payments given that 3 of 4 values are known. I think i went ...
Anonymous's user avatar
  • 1,224
5 votes
1 answer
54 views

Calculate quote volumes (for a financial instrument) within numeric constraints

The function below is part of a trading system. Its purpose is to assign a volume (order size) to a bid (buy) quote and and ask (sell) quote, depending on the value of the ...
s_dbq's user avatar
  • 83
4 votes
0 answers
53 views

Get Asset Returns for multiple Tickers and Holding Periods

I've written some code that will take multiple stock tickers and calculate their returns over yearly, monthly, bi-weekly, and weekly holding periods. The results are written to an xlsx file. I'm ...
Dumbledore__'s user avatar
0 votes
2 answers
18k views

Income tax calculator [closed]

I've just started coding and have written a program to calculate your tax to be paid. Is there anywhere where I can improve this? ...
AMG_'s user avatar
  • 81
1 vote
1 answer
50 views

Return timeframes relevant to just-elapsed time period (financial/trading context)

I am writing trading software, and have written this utility function. Its purpose is to return a list of timeframes relevant to the just-elapsed time period. "Timeframe" here means bar or candle ...
s_dbq's user avatar
  • 83
3 votes
1 answer
517 views

Tracking stock prices using Python and Google Sheets

The purpose of this program is to keep track of some stocks that we bought in a game and every week we must list the closing prices of each stock in a Google Sheet. I thought since I had a lot of ...
Tommy's user avatar
  • 143
5 votes
2 answers
5k views

OOP bank account program in Python 3

Python beginner here. Building an OOP bank account program with SQLite and starting to struggle a bit with its design. From a design standpoint I have a file (bank) which calls ATM. ATM simulates an ...
anfield's user avatar
  • 173
2 votes
2 answers
75 views

The importance of consistency in percentage returns when investing

It is said that Being consistent in percentage annual returns leads to larger amount over time. That is for any given principal, getting 20% successively for 2 years is better than 30% for first ...
kamalbanga's user avatar
3 votes
0 answers
97 views

Investment tracker allowing users to store investment information and later access it

This investment tracker allows users to store investment information and later call upon it. This is a simple solution to making investing easier to maintain. This application has a simple login ...
RonsJurisdiction's user avatar
23 votes
3 answers
4k views

Financial website scraper

I wrote the code that would scrape Finviz for tickers and href that attach to the ticker. I tested with multi-page as well as one page. I'm new to Python ...
Longroadahead's user avatar
6 votes
1 answer
4k views

Expense Tracker for keeping track of payment information

This system is an expense tracker. It allows ordinary people to track expenses, like bills, car notes, and keep up with the payments they make. I had this idea after my father and mother began to mess ...
RonsJurisdiction's user avatar
12 votes
4 answers
25k views

Simple budget program

I've decided to start working on a budget application for the purposes of enhancing my Python skills. In its current form this program takes given expenses and income and tells the user whether they ...
Calvin Ellington's user avatar
4 votes
3 answers
10k views

For a given balance and an annual interest rate, calculate the minimum fixed monthly payment to pay off debt in a year

Interest is compounded monthly. Payment doesn't vary from month to month. Version 1 ...
ChrisIkeokwu's user avatar
3 votes
1 answer
2k views

Calculate sales tax from tabular data

This is a Python 3 solution to the problem stated in Sales Tax Problem, rejected for not being up to their standards. It also seems like the same thing as the problem stated in Sales tax calculator, ...
shadowtalker's user avatar

15 30 50 per page