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
1answer
32 views

Median value for geometric brownian motion simulation

I'm trying to simulate stock prices using GBM. I am using the following formula, and MATLAB function, to determine the stock prices: $\nu = \mu - \frac{\sigma^{2}}{2}$; $S = S0*\text{[ones(1,nsims); ...
4
votes
4answers
969 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
154 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,
2
votes
1answer
73 views

examples of c++ code with application to quant finance [closed]

I've some intermediate knowledge in C++. However, the knowledge is more of a theoretical nature and not applied to quant finance problems. I'm looking for good sources, code examples books blogs ...
0
votes
3answers
528 views

Which library shall I use for time series analysis in Java?

I'm looking for a library to do some time series analysis in Java but I can't find anything suitable. I've found plenty of libraries such as Math3 of JSAT but there's much I can you for my problem. ...
1
vote
2answers
257 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 ...
1
vote
4answers
521 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 ...
0
votes
0answers
55 views

When should we use KDB database and when should we not?

What are the criteria s we should look into when we want to choose the suitable database. suppose If My requirement is to have a huge amount of insert and updates only the should we use KDB. When ...
2
votes
1answer
221 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 ...
0
votes
3answers
209 views

API-based equity screeners?

I know there are APIs from different brokers that allows you to trade and also obtain information about specific companies, but I wonder if there are equity/asset screeners that are API-based and can ...
20
votes
9answers
4k 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 ...
0
votes
0answers
18 views

Web Based Market Profile Code

I am looking for someone who knows of or has access to web based charting code using Market Profile. Does this exist out there? I would prefer the source code so I can make changes to it. Any ...
0
votes
0answers
29 views

Where to find agent-based software for the stock-market?

I am looking for game theory agent-based software to run simulations of the stock market. Ideally it would be a software where i could manipulate the variables and possible the underlying assumtions ...
2
votes
2answers
111 views

C# - Using Black Scholes Newton returns NaN occasionally

First caveat: I'm a programmer doing this for a client, and my knowledge of options probably has holes in it. So be a little forgiving here. =) The Issue: When I run Black Scholes Newton against ...
4
votes
3answers
141 views

What is an efficient method to find implied volatility?

I have a code that finds the implied volatility using the Newton-Raphson method. I set the number of trial to 1000 but sometimes it fails to converge and doesn't find the result. Is there a better ...
6
votes
1answer
178 views

What is a good Computer Algebra System for financial engineering?

I would like to know if there exists some computer algebra systems adapted to calculate pricing based on particular models, i.e. pricing YoY Inflation Swap under Jarrow Yildirim Model. I know that ...
0
votes
1answer
83 views

Choosing broker to run with Zipline

Which brokers offer Python integration/API? Which brokers offer R integration? I'm starting on trading, and I want to learn about algorithm trading. So I would like to know what brokers offers these ...
0
votes
0answers
70 views

Book chart plotting library identification

can you help me identify how those charts are constructed? To your knowledge, is it generated from Python, R, Java, C++? What packages can you identify? I've tried the ggplot2 library in R and I have ...
4
votes
3answers
2k views

VaR implementation using quantlib?

I am thinking of writing a VaR framework for my existing system, using quantlib to do the bulk of the calculations. Despite several searches, I have not as yet come across a quantlib VaR ...
6
votes
2answers
353 views

How do Return.portfolio and Return.rebalancing work in Performance Analytics in R?

I have a question about the function Return.portfolio/Return.rebalancing from the Performance Analytics package in R. I take ...
3
votes
3answers
133 views

Convergence of GBM mean after simulation?

As a follow up of my previous question, I am now simulating the GBM step by step for $n$ steps. I am using the following implementation for the simulation: $$S_{t+1} = S_t \exp \left[ ...
3
votes
1answer
135 views

What is wrong in this GBM simulation?

I am trying to generate a few samples of GBM using the following very simple MATLAB code: ...
0
votes
1answer
51 views

Contribute to Finance related projects [closed]

I am currently a student and in the future would like to work as a software developer for a financial institution such as Bloomberg, Factset etc. I was looking to contribute to some open source or ...
9
votes
7answers
7k 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, ...
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
303 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
66 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 ...
4
votes
1answer
847 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
160 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
76 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
2answers
149 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
108 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
567 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
376 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
137 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
267 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
28 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
31 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
304 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
82 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
444 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
85 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
233 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
340 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
193 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
44 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 ...