For questions about programming languages, implementation, and packages in quantitative finance. Note: question must be specific to quantitative finance and must necessitate knowledge of quantitative finance in order to be on topic.

learn more… | top users | synonyms (8)

30
votes
12answers
28k views

Why is C++ still a very popular language in quantitative finance? [closed]

I had to ask this question after reading the answers to What programming languages are most commonly used in quantitative finance? I understand that C++ programs can be optimized pretty well and are ...
7
votes
3answers
1k views

What programming language is best suited for implementing DeMark?

Jason Perl's book DeMark Indicators details rules for calculating signals developed by Thomas DeMark. These rules are not complex in themselves, but there is no dirth of ...
5
votes
4answers
565 views

Are there any brokerages which use URL-based web APIs?

We already have a list of brokerages that provide apis. What about brokerages that provide web apis? For example, Collective2 has a url-based web api for entering trades. Are there any brokerages ...
13
votes
4answers
4k views

Implementing data-structures in a Limit order book

I'm working on implementing a 'LOB' and I'm being very careful about choosing my data-structures so as to maximize performance. Using F# as an example, I need to consider a List versus Array for ...
5
votes
3answers
2k views

What API methods are there to determine a company's market cap?

I'm wondering what API methods there are to determine a company's market cap, i.e. (number of shares issued) * (price per share). I know IQfeed and perhaps Yahoo will do this - does anyone know of ...
7
votes
4answers
1k views

Library to solve optimization problems

I'm working with C# and I start being bored writing optimization algorithm. Do you know of any free library containing this sort of algorithms. In particular I'm cutrently working with Semidefit ...
19
votes
7answers
3k views

How good is managed code for algo trading?

I am currently working in a firm that does algo trading. We do all of our stuff in Java. And we do make money out of it. We have debates all the time whether we would have made more money with native ...
7
votes
3answers
5k views

Trading C++ Libraries

Are there any free c++ libraries that would have some of the functions that would be used in developing a trading strategy. For instance, calculating drawdown, Volatility Forecasting, MAE, MFE....etc. ...
3
votes
2answers
740 views

Covariance for arbitrarily large portfolios

I am implementing a method in Java to calculate the variance, covariance, and value at risk for a portfolio, which should be flexible for use with any number of assets in a portfolio. I am struggling ...
3
votes
1answer
2k views

Mersenne twister random number generator in Java for Monte Carlo Sim.

I am using the Mersenne twister random number generator in Java for a Monte Carlo Simulation. I need a uniform distribution of values between -1 and 1. My code is below (I am importing ...
21
votes
5answers
5k views

What is a good broker for HFT?

Currently I trade trough IB. I run my HFT strategies (100 roundtrips per hour) but I think that latency is killing me and my profits are shrinking. I need the fastest possible brokers out there which ...
5
votes
5answers
2k views

Technology stack used in Bloomberg

I figure this perhaps the best place to ask this. What technology stack is used in Bloomberg? I'm C++ developer, and I definitely prefer C++ to C, so I don't want to touch C unless it's strictly ...
10
votes
2answers
2k views

Drawbacks & Caveats of using (N)Esper for ESP/CEP in trading systems?

Esper and its .NET port NEsper are components that enable Complex Event Processing (CEP) and Event Stream Processing (ESP) engines. They are especially suitable for trading applications. They can, ...
7
votes
4answers
1k views

What approaches are there to order handling in automated trading?

I am currently developing a commercial automated trading program in which users can write their own proprietary code and develop strategies, like in NinjaTrader, MetaTrader etc. Right now I am working ...
7
votes
4answers
1k views

Statistical learning libraries

Is there a general (or specialised) FREE library to solve learning problems such that found in the book "The Elements of statistical Learning". As it is often time consuming to write all the ...
14
votes
7answers
11k views

Is the Interactive Brokers API suitable for hft?

By hft here I mean anything with holding period less than 5-10mins... Any empirical/anecdotal evidence of using it successfully on even higher frequencies?
20
votes
11answers
5k views

Is F# used in trading systems?

Similar to this other question about Scala, I'm interested in knowing whether F# is used to any measurable degree in financial circles. Have there been any successful shops using it, any research on ...
16
votes
8answers
3k views

What kind of basic framework or application do you use to run your trading algorithms?

I heard about MetaTrader from http://www.metaquotes.net. Is there any other framework or program available? Do you use different software for backtracking and running your trading algorithms? Thank ...