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 (9)

1
vote
2answers
188 views

Is node.js being used in systematic trading software?

I have a project where I would like to track some tick data and create some indicators to follow it. I am thinking of using Node.js for this project, but I would like to know from those in industry if ...
2
votes
3answers
707 views

Library for interactive financial charts

For my recent project I am looking to build a software capable of visualizing financial charts in a dynamically and interactive matter. The workflow is as follows: I gather data from my data ...
0
votes
3answers
96 views

How does logging effect Quickfix performance?

I am using .net/c++ version of quickfix. How does logging effect Quickfix performance? If I disable logging to file, can it help to increase performance of quickfix? Thanks,
0
votes
1answer
75 views

How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...
20
votes
8answers
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 ...
9
votes
7answers
5k views

Is there any thing out there as a substitute for KDB?

thanks a lot for your discussions on the original post. following your suggestions, let me re-phrase a bit : kdb is known for its efficiency, and such efficiency comes at a terrible price. However, ...
-1
votes
0answers
30 views

yahoo finance charts delay, what is it & is it documented somewhere?

yahoo states "realtime" on some of their quotes. however it is not clear how frequent the (intraday) daily charts are, yahoo does not seem to describe the time delay anywhere. does anyone know if they ...
5
votes
5answers
1k views

Is there a charting API which allows to replicate Bloomberg chart tool features?

I believe that most of us will agree that being able to compute values is only part of our job, as we would also like to be able to display them nicely in order to better understand or help ...
5
votes
1answer
164 views

QuantLib: Black / BSM processes and pricing via volatility surface. Different results?

I start this question with a couple of C++ functions that will be useful to show some results. So start your Visual Studio C++ Express or Ceemple or whatever you want and copy & paste this: ...
0
votes
0answers
55 views

How to display stock prediction results?

I'm not sure if this is a question for "Quantitative Finance" or "Personal Finance & Money" so forgive me if this one is irrelevant for this site. The Situation So I wrote a program (in vb.net ...
1
vote
1answer
118 views

Excel to Java for Interactive brokers

I have a working excel workbook connected to Interactive brokers DDE API. I am struggling to upgrade to a more robust environment like Java. I tried to change it to ActiveX for Excel but the ...
4
votes
1answer
646 views

What is the best solution to use QuantLib within Excel?

Excel is likely the most widespread instrument across all not-only-quants desks; in addition, we have to keep in mind that Bloomberg and Reuters allow to easily import real time data in Excel, and ...
2
votes
1answer
1k views

How to build an execution trading system with CQG API?

I am currently using CQG for spread trading and have a spread trading strategy in CQG chart. I am trying to automate my spread trading strategy in CQG, but CQG told me to look at CQG API samples to ...
2
votes
2answers
89 views

IP API Active X for Excel refresh rate

I have been working on the EXCEL DDE sample worksheet and works fine and now I would to upgrade to ActiveX instead of DDE as I heard it is more robust but I found the refresh rate of ActiveX is even ...
1
vote
3answers
64 views

Obtaining Expense Ratio Data

I have a list of tickers (~11,500) in a .txt/.csv file and accompanying fund data from yahoo finance. I'm wondering if there is a reasonably easy/accessible way to use this list to obtain expense ...
2
votes
3answers
100 views

What is the Most Efficient Way to Calculate the Internal Rate of Return IRR?

I have built a program that prices financial assets and it does this in part by calculating the IRR. The problem is that it does not run as quickly as I would like it to. I currently use the ...
1
vote
1answer
71 views

Plot Evolution of portfolio weights over time in R [closed]

Is there any function for plotting the evolution of portfolio weights over time in r?. I have a matrix of portfolio weights from an equal weighting strategy at rebalancing times and want to plot ...
1
vote
1answer
182 views

robust open source Kalman filter library in C++

I would like to know if anyone has experience with a good open source kalman filter implementation in C++ that I could use. I require an implementation that supports computation of likelihood similar ...
1
vote
4answers
2k views

C# Broker API for FX Trading

I am looking for a broker who provides a free trading API for FX. The goal is to develop at-home algorithms in C# (possibly Qt) to run on a fake portfolio, and then later on real money with ...
0
votes
2answers
172 views

Forex brokers with free API compatible with Node.js

I have a Forex trading signal generator written in Node.js and now I am looking for a Forex broker with a free Node.js compatible API. The requirements are simple: be able to send new trade orders ...
3
votes
1answer
136 views

Are there any good benchmarks for performance of vanilla option pricing code?

I've seen parsec (http://parsec.cs.princeton.edu/index.htm), which has a PDE pricing component, but the distribution is enormous and I haven't bothered to try to download it for review. I'm ...
2
votes
1answer
220 views

What features does q /KDB provide for HFT use?

It appears q/KDB is being using for Time series analysis for HFT. What are some of the advantages of using ...
0
votes
0answers
27 views

Are there any Spanish language resources for getting quotes?

In English, there is MetaTrader from http://www.metaquotes.net. Is there any similar platform or program available in Spanish for backtracking and running your trading algorithms? How about ...
0
votes
1answer
26 views

GNP/GDP and modelling [closed]

Is GNP a continuous, static or a dynamic model ? What about GDP ? What I do know is that it has yearly discrete values. However, when it is modeled, it becomes a continuous graph. So what exactly is ...
3
votes
2answers
287 views

Trend estimation techniques

What is the best way (most common) to discover if a stock is trending or not? (Despite drawing a line). A hurst exponent? A linear regression maybe?
2
votes
0answers
50 views

Which are the popular free/open-source charting controls?

Recently i've tried SciChart and VisiBlox - beautiful charting tools. Is there any free or open-source tools for visualizing charts on C#? Thank you for answers.
4
votes
2answers
305 views

Looking for C# library that provides/contains performance analytics

I am looking for a C# .Net library that provides trade performance analytics similar to R-PerformanceAnalytics. Basic return statistics, draw-downs, risk-adjusted returns, risk (variations), ...
0
votes
0answers
40 views

Where can I find ADF library in c#

Where could I find an ADF library or source code in c# for cointegration test?
0
votes
0answers
109 views

Java Implied Volatility Solving

After using RQuantLib and RCaller from Java I am desiring a bit more speed on my implied volatility calculations (for anyone who has used this knows it is quite slow). I need to price a large number ...
5
votes
2answers
2k views

using quantlib function in my c++ program

I want to include the QuantLib function for option greeks calculations in my own C++ code. My question is: can I just include those functions? I don't want to use the rest of their stuff. I obviously ...
0
votes
0answers
27 views

Developing an Android App. Need free volatility data [duplicate]

I'm currently developing an android app that requires volatility data. Any idea where can I get it for free? I tried Yahoo Finance API and they don't seem to have volatility data. Thanks
7
votes
3answers
315 views

What quant-related functionalities is R lacking compared to commercial software like Mathematica and Matlab?

R that originated as a purely statistical tool has meanwhile blossomed into a comprehensive workbench for different tasks. I am familiar with Mathematica and don't like how it forces a license on ...
4
votes
0answers
177 views

Algorithmic Trading Model Calculation and Stale Data

I'd like ask everyone a more concurrency programming but definitely quant-finance related question. How do you deal with staleness of data in market hours as quote ticks are streaming and your model ...
0
votes
0answers
32 views

Compute the average efficient frontiers with estimated parameters from generated time series

My overall objective is to analyse the impact of error in mean-variance analysis from historical data. I am given the returns and standard deviation for the five assets under consideration, as well as ...
0
votes
0answers
87 views

Fitting Egarch Model

I am performing a monte-carlo simulation in MATLAB for the first order EGARCH model in which case I am simulating 100 paths of size 500 assuming Gaussian and Student's-t distributions for the ...
2
votes
2answers
640 views

Free and tested optimization, statistical and visualization packages for C#

I am about to implement a variation of the LIBOR-Market-Model (complete with Least-Square-Montecarlo, calibration, pricing etc.) and decided to implement it in C#. The implementation will involve ...
2
votes
1answer
478 views

IB API quotes and speed

The title says it all. I trade futures options exclusively and wanted to see if anyone had insight into the quote speedsrobustness coming into the API. I'm using the Excel DDE right now just building ...
3
votes
4answers
553 views

How much does a Grid Computing software cost?

So far, I have been performing computations either on my own computer, or using an in-house scheduler that basically chooses a one of the employees' available workstations to run tasks in the ...
2
votes
2answers
340 views

What Forex Services support the ForexConnect API?

I need API access to get ForEx tickers and order books for currency pairs. From what I can tell there is a .Net API called ForexConnect which I can use to get this data. Now where can I get this data ...
4
votes
1answer
304 views

Is there any open-source library, implementing “exchange” to be used for algorithms running on the same computer?

Question: Is there any open-source project/library, which can act as a "local exchange" for agents (algorithms), running on the same computer? Clarification: by "local exchange" I mean, that the ...
6
votes
4answers
3k views

How to create charts in WPF finance applications?

How to create charts for market data in WPF? Are there any charting controls provided by microsoft or you need to use only third party controls? Which are the popular third party charting controls ...
1
vote
0answers
86 views

Calculate display and plot relative spread using Sierra Chart

I'm trying Sierra Chart for trading Bitcoin. I would like to display relative spread for a given volume. spread_rel = 200.0 * (ask - bid) / (bid + ask) where ...
0
votes
0answers
192 views

IB with R which package?

I want to implement my models in R and trade according to them with my IB account. Now I am wondering, how I should solve this problem? Do I need to program with C an access ...
0
votes
0answers
104 views

Log returns and time

In calculating realized/historical vol for fx spot, my samples/fixings are currently every minute. I need to be able to calculate and plot historical/realized vol on demand from spot prices. ...
2
votes
1answer
322 views

How to simulate stock prices with stochastic time change subordinated arithmetic Brownian Motion?

the idea is to simulate price returns thus to be normally distributed i 'am trying to use subordinated arithmetic brownian motion subordinated to time activity (volume) stock prices are following GBM ...
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 ...
0
votes
0answers
44 views

Java limitbook implementation? [duplicate]

I am looking to create my own front-end. What is the best data structure/java swing object to represent a limit order book? currently I am using two JTables and loading best bid and qty data from a ...
3
votes
1answer
225 views

How to manage evaluation date changes in QuantLib while using ImpliedTermStructure Class

I will not attach the whole code 'cause it would be just a huge waste of space and it would be not useful for this question's purpose. What I am going to attach here is a snippet code and its output, ...
3
votes
1answer
761 views

open-source implementation of orderbook from FAST?

I'm looking for c/c++ implementation of OrderBook. I need implementation to reconstruct market data from FAST. I don't need to do "matching" because it already did by exchange, I only need to ...
6
votes
2answers
2k views

Fastest news feed APIs targeting high frequency trading?

The Dow Jones elementized news feed API seems to stand out but are there any other machine readable news feeds out there that provide very low latencies that high frequency operations may peruse? I am ...