Skip to main content

Questions tagged [finance]

Finance is for anything related to currency, payment systems, credit card number validation, etc.

0 votes
1 answer
88 views

Intro I won't specify the problem here, but instead, provide the link to the blog post discussing the problem and the full implementation. Code ...
coderodde's user avatar
  • 32.3k
0 votes
0 answers
69 views

I am trying to write R code to see how much money someone could have made in the stock market had they invested in a certain amount of money in a certain stock between two dates (while taking into ...
antonoyaro8's user avatar
3 votes
2 answers
119 views

I am learning Java and trying to create some projects for practice. One of these projects is a console-based Finance Tracker. Overview The main function of the Finance Tracker is to track transactions....
Libo's user avatar
  • 75
2 votes
2 answers
94 views

I have written some functions to calculate the total cost of an invoice, gives its line items. Could someone please tell me if there seems to be a problem with the code? Since it is something as ...
Enrique Moreno Tent's user avatar
10 votes
2 answers
1k views

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
6 votes
3 answers
379 views

As indicated in the title, this small project fetches content from the SEC's Edgar REST API. It was designed with the intention of automatically gathering/refreshing large datasets of public company ...
Ryan's user avatar
  • 61
2 votes
1 answer
292 views

I am developing code to compute Value at Risk (VaR) using various models (see below). Currently, I am looking to implement a rolling window approach over a dataset spanning 4,000 days, with each ...
Oscar's user avatar
  • 21
2 votes
1 answer
236 views

This is a follow up to my previous implementation: The input is of the format ...
Avengerx9's user avatar
2 votes
2 answers
353 views

I am designing code for OrderBook based in C++, based on STL library. Note that there is a related question here, however it is more simple - it does not support deletion of orders, and I intend to ...
Avengerx9's user avatar
0 votes
1 answer
70 views

I wrote code to aggregate transactions in slips. I'm concerned with the performance of my code because it uses 3 loops that are nested so the time complexity will be cubic. This code won't scale well ...
bit's user avatar
  • 143
2 votes
2 answers
730 views

Following up from: Fast OrderBook Implementation Here is the updated version (I've also implemented some extra functionality) ==> Order.hpp <== ...
jpf's user avatar
  • 63
4 votes
2 answers
2k views

I'm creating a simple yet fast OrderBook, that only adds orders and matches them (no cancelling or modifications, etc.). I'm using partial template specialization to reduce branching in the hotpath, ...
jpf's user avatar
  • 63
1 vote
1 answer
94 views

I've amended a code for the Black-Scholes formula for European pricing options found here at the bottom of the page and fixed the math functions accordingly. Unlike the code on the website, mine has ...
Jessie's user avatar
  • 113
4 votes
2 answers
587 views

This is the my solution to a coding challenge in Geektrust. The question is linked here. A shortened version would be as follows. The aim is to simulate a marketplace for banks to lend money to ...
SATW's user avatar
  • 43
3 votes
2 answers
143 views

I am a C# beginner, and I wrote a program that parses the weekly menu of a German delivery service. It works fine and I think the code quality is okay. Can anyone with more experience than me review ...
user avatar

15 30 50 per page
1
2 3 4 5
19