Questions tagged [finance]

Finance relates to the management of assets over time under varying conditions, usually in order to make a profit.

Introduction

Finance relates to the management of assets over time under varying conditions, usually in order to make a profit.

The finance (or "financial services") industry is an umbrella term for organisations that manage money & assets. It includes businesses like banks, credit card companies, insurance companies, consumer finance companies, stock brokerages, hedge funds and investment funds and some government sponsored enterprises.

These businesses are usually subject to government regulation, often rely on global standards and interact with each other through purely electronic markets. They employ many thousands of programmers who often turn up common programming problems.

What questions should have this tag?

Programming problems specific to the finance industry, such as:

  • financial messaging standards & protocol implementations (e.g. FIX or SWIFT)
  • domain models/patterns for accounting, currency, trading & brokerage, etc.
  • application of programming techniques to financial businesses & problems (e.g. risk management, pricing, trade netting, etc.)
  • low latency, high volume/frequency trading systems
  • implementation of common mathematical problems (e.g. time value of money, compound interest, etc.)
  • management and processing of market data
  • regulatory issues as they relate to systems programming

Other relevant forums

Questions which have more of a financial background than a programming background should rather be asked at quant.stackexchange. In particular, this tag should never be used on its own but rather in combination with a programming language.

2470 questions
19
votes
4 answers

How can I customize mplfinance.plot?

I've made a python script to convert a csv file in a candlestick like this using mpl_finance, this is the script: import matplotlib.pyplot as plt from mpl_finance import candlestick_ohlc import pandas as pd import matplotlib.dates as…
Matteo_Sid
  • 252
  • 1
  • 2
  • 11
19
votes
2 answers

How to handle meta data associated with a pandas dataframe?

Q1: What is the best practice for saving meta information to a dataframe? I know of the following coding practice import pandas as pd df = pd.DataFrame([]) df.currency = 'USD' df.measure = 'Price' df.frequency = 'daily' But as stated in this post…
quantguy
  • 237
  • 2
  • 10
19
votes
9 answers

Using Artificial Intelligence (AI) to predict Stock Prices

Given a set of data very similar to the Motley Fool CAPS system, where individual users enter BUY and SELL recommendations on various equities. What I would like to do is show each recommendation and I guess some how rate (1-5) as to whether it was…
akaphenom
  • 6,728
  • 10
  • 59
  • 109
19
votes
5 answers

DSLs (Domain Specific Languages) in Finance

Has anyone worked with DSLs (Domain Specific Languages) in the finance domain? I am planning to introduce some kind of DSL support in the application that I am working on and would like to share some ideas. I am in a stage of identifying which are…
Gustavo
  • 931
  • 1
  • 13
  • 25
19
votes
3 answers

Bloomberg BDH function with ISIN

I have to download historical end of day data for a huge list of stocks. I found on the bloomberg excel add-in the function BDH that is very useful. That is what I need but there is an issue: my stocks are identified by ISINs and i have tried in…
user3002790
  • 195
  • 1
  • 2
  • 5
18
votes
3 answers

american express API

Is there an API that would let me access my AMEX transactions? How do Mint or any other finance websites export my data? If so, is it free?
user140736
  • 1,913
  • 9
  • 32
  • 53
17
votes
1 answer

QuantLib OpenOffice/Excel YIELD / PRICE functions

Can somebody provide an example of how to replicate the Excel/OpenOffice YIELD and PRICE functions using QuantLib? I have a few examples but I don't quite understand all the setup yet. When I try to change some values I either get zeros out or some…
edA-qa mort-ora-y
  • 30,295
  • 39
  • 137
  • 267
16
votes
9 answers

Any high-profile open source finance projects?

Is there a high profile open source project in the finance industry - specifically the investment banking area - that I could contribute to (ideally .NET)? I'd like to beef up my resume in this field. I would prefer something in the algorithmic…
Gayle
  • 295
  • 1
  • 3
  • 10
16
votes
5 answers

How do these people avoid creating any garbage?

Here's an interesting article that I found on the web. It talks about how this firm is able to parse a huge amount of financial data in a managed environment, essentially by object reuse and avoiding immutables such as string. They then go on and…
Carlos
  • 5,991
  • 6
  • 43
  • 82
16
votes
7 answers

Financial applications on GPGPU

I want to know what sort of financial applications can be implemented using a GPGPU. I'm aware of Option pricing/ Stock price estimation using Monte Carlo simulation on GPGPU using CUDA. Can someone enumerate the various possibilities of utilizing…
CUDA-dev
  • 161
  • 1
  • 3
15
votes
2 answers

Recursion: account value with distributions

Update: not sure if this is possible without some form of a loop, but np.where will not work here. If the answer is, "you can't", then so be it. If it can be done, it may use something from scipy.signal. I'd like to vectorize the loop in the code…
Brad Solomon
  • 38,521
  • 31
  • 149
  • 235
15
votes
2 answers

MySQL: Use CASE/ELSE value as join parameter

I'm trying to join the NAME and PHOTO from USERS table to the TRANSACTIONS table based on who is the payer or payee. It keeps telling me can't find the table this -- What am I doing wrong? SELECT `name`,`photo`,`amount`,`comment`, ( CASE…
DRJ
  • 153
  • 1
  • 1
  • 4
14
votes
3 answers

How do I safely perform money related calculations in PHP?

I'm working on a few report output scripts that need to do some rudimentary calculations on some money values. I am aware of the limitations of floating point arithmetic for this purpose, however the input values are all in a decimal format, so if I…
Shabbyrobe
  • 12,298
  • 15
  • 60
  • 87
14
votes
6 answers

How to get data about a company's financials, balance sheet, cash flow, etc. via its ticker symbol

Are there any good, free (or cheap) sources to get information about a company's financials that I can access via an API or XML feed or anything besides screen-scraping? Specifically I'm looking for things like total assets, liabilities, revenue,…
go minimal
  • 1,693
  • 5
  • 25
  • 42
14
votes
4 answers

What are your "must-have" Python Packages for Finance?

With the recent SEC proposal requiring that most Asset-Backed Securities issuers file a python computer program to document the flow of funds (or waterfall) provisions of the transaction, I thought it timely to ask what you thought the "Must-Have"…
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187