Questions tagged [finance]
Finance is for anything related to currency, payment systems, credit card number validation, etc.
265
questions
2
votes
0
answers
82
views
Back-testing algorithm for equity
I've written a code on python which back tests on equities data, to compare result of strategy against a benchmark.
I want someone to review to assure that program works as desired, and any changes ...
1
vote
1
answer
2k
views
Stock trading script
The script uses a financial indicator called moving averages and their crossover points to recommend best actions for stock trading (buy vs sell).
starting_cash: ...
5
votes
1
answer
1k
views
Banking: Calculate the Capital Requirement to calculate Risk-Weighted Assets
I know it's not the perfect code, but it outputs the correct values. Could anyone give me some pointers on how to make the operation more Pythonic?
...
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 ...
25
votes
4
answers
18k
views
Validating Credit Card Numbers
This is one of the puzzles I was trying to solve, where the question is to validate the credit card number with following characteristics:
It must contain exactly 16 digits.
It must start ...
4
votes
3
answers
560
views
Payments Service
The code that I am working with below is a payment service and MakePaymentRequest request takes in two account numbers, a receiving and a sending account, payment ...
7
votes
1
answer
100
views
A command-line application that manages my lending accounts
I'm learning Python and tried to solve a problem that I have. That problem is "managing" the people who owe me money. Basically, my project goal is:
v0.1 - command line application
v0.1.1 - command ...
15
votes
3
answers
24k
views
Basic Python OO bank account
I am learning Python and in particular learning about classes. Since I'm self teaching, I'd appreciate any feedback and constructive criticism.
I have a couple specific questions:
In Python you can ...
5
votes
1
answer
444
views
Buy-sell order board, as a TDD interview
I recently did a technical test for a well known Bank in 'The City' and as a result got no further. They were also kind enough not to give me any feedback. The test entailed a TDD approach to a simple ...
2
votes
3
answers
180
views
Calculating money made per hour
I am new to coding and made myself my first little program, which lets me calculate the amount of money I make per hour doing a transcription project. While my code works (yay!) and I am proud of my ...
3
votes
1
answer
413
views
Student project that calculates the return on an investment
This is a simple student project that calculates the return on an investment with a given investment amount, number of years invested, and annual interest rate. I know this is pretty basic, but I'm ...
8
votes
2
answers
154
views
Developing an investment strategy based on stock movements
Below is my code
...
5
votes
5
answers
2k
views
App that calculates interest into a monthly payment
This does work and serves the purpose. But, being my first code, it's sloppy and I know there are somethings I could of done to make it easier. I would like everyone's opinion on what I could do to ...
3
votes
3
answers
380
views
Claiming coupons [closed]
I am currently creating a system that allows a user to claim a coupon, after the coupon is claimed the receive currency on their account.
I recently ran into an issue in which if 2 requests with the ...
2
votes
1
answer
4k
views
IRS Tax Calculator in Java
I am working on a tax calculator for a school assignment and was hoping to get some feedback on my current progress. I kind of feel like I over-complicated the code.
NOTE: I am required to do all of ...