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
244
votes
18 answers

source of historical stock data

I'm trying to make a stock market simulator (perhaps eventually growing into a predicting AI), but I'm having trouble finding data to use. I'm looking for a (hopefully free) source of historical stock market data. Ideally, it would be a very…
rmeador
  • 25,504
  • 18
  • 62
  • 103
162
votes
9 answers

Precise Financial Calculation in JavaScript. What Are the Gotchas?

In the interest of creating cross-platform code, I'd like to develop a simple financial application in JavaScript. The calculations required involve compound interest and relatively long decimal numbers. I'd like to know what mistakes to avoid when…
james_womack
  • 10,028
  • 6
  • 55
  • 74
115
votes
12 answers

Real life trading API

Do you know an API that lets you trade with real life stock or currency? If so, please describe your experience: ease of development commissions sandbox environment? etc.
flybywire
  • 261,858
  • 191
  • 397
  • 503
114
votes
15 answers

Programmatically access currency exchange rates

I'm setting up an online ordering system but I'm in Australia and for international customers I'd like to show prices in US dollars or Euros so they don't have to make the mental effort to convert from Australian dollars. Does anyone know if I can…
Adam Pierce
  • 33,531
  • 22
  • 69
  • 89
104
votes
11 answers

Stock ticker symbol lookup API

Is there any sort of API that just offers a simple symbol lookup service? i.e., input a company name and it will tell you the ticker symbol? I've tried just screen-scraping Google Finance, but after a little while it rate limits you and you have to…
dancavallaro
  • 13,109
  • 8
  • 37
  • 33
98
votes
6 answers

Best/Most Comprehensive API for Stocks/Financial Data

What is the most recommended free/public API for accessing financial market stats and stock quotes (preferrably real-time quotes)? I'm not too picky about how it's exposed (SOAP, REST, some proprietary XML setup, etc.), as long as it's got some…
Wilco
  • 32,754
  • 49
  • 128
  • 160
62
votes
4 answers

Financial technical analysis in python

Do you know if there is any financial technical analysis module available for python ? Need to calculate various indicators such as RSI, EMA, DEMA etc for a project
Finger twist
  • 3,546
  • 9
  • 42
  • 52
62
votes
2 answers

Which are the order matching algorithms most commonly used by electronic financial exchanges?

Which are the order matching algorithms most commonly used by electronic financial exchanges? Is there a list of order matching algorithms somewhere?
Kinnard Hockenhull
  • 2,790
  • 5
  • 27
  • 34
62
votes
6 answers

High Frequency Trading

Over the last couple of weeks i have come across lots of articles about high frequency trading. They all talk about how important computers and software is to this but since they are all written from a financial point of view there is no detail…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
62
votes
2 answers

R tick data : merging date and time into a single object

I'm currently working in tick data with R and I would like to merge date and time into a single object as I need to get a precise time object to compute some statistics on my data. Here is how my data looks like: date time …
marino89
  • 899
  • 1
  • 10
  • 16
58
votes
4 answers

Download all stock symbol list of a market

I need to download in some way a list of all stock symbol of specified market. I've found in this link ho can I do it someway. It uses following link in order to retrieve stock list that statisfies some…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
57
votes
7 answers

Decimal vs Double Speed

I write financial applications where I constantly battle the decision to use a double vs using a decimal. All of my math works on numbers with no more than 5 decimal places and are not larger than ~100,000. I have a feeling that all of these can be…
Superman
  • 3,686
  • 6
  • 34
  • 46
49
votes
6 answers

Download history stock prices automatically from yahoo finance in python

Is there a way to automatically download historical prices of stocks from yahoo finance or google finance (csv format)? Preferably in Python.
Bob
  • 10,741
  • 27
  • 89
  • 143
40
votes
11 answers

Relative Strength Index in python pandas

I am new to pandas. What is the best way to calculate the relative strength part in the RSI indicator in pandas? So far I got the following: from pylab import * import pandas as pd import numpy as np def Datapull(Stock): try: df =…
user3084006
  • 5,344
  • 11
  • 32
  • 41
39
votes
6 answers

storing massive ordered time series data in bigtable derivatives

I am trying to figure out exactly what these new fangled data stores such as bigtable, hbase and cassandra really are. I work with massive amounts of stock market data, billions of rows of price/quote data that can add up to 100s of gigabytes every…
Shahbaz
  • 10,395
  • 21
  • 54
  • 83
1
2 3
99 100