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)

0
votes
0answers
15 views

Help with amortisation table in Excel VBA [on hold]

I am a beginner with VBA. I am trying to create an amortisation table where the interest rate used depends on two inputs which will be provided by the user. For example if X=2; and Y=3, then interest ...
9
votes
3answers
8k 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
136 views

Online courses or C++ books combined with Finance (alternatives to Duffy and Joshi)

I am trying to find a book for our study group that teaches the bare minimum C++ needed for financial applications. I am trying to teach it in a project based manner. In case, I don't settle on one ...
7
votes
2answers
128 views

Are there any integrated framework that I can back-test and paper/live trading in one place?

I'm trying to start working on a fully automated algorithmic trading system, and I'm a little struggling with the framework to use. The requirements I have in my mind are: Needs to support back-...
9
votes
4answers
7k 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
41 views

Programming language to compliment Finance degree [closed]

I've read a few questions regarding this, but want some new (more recent) opinions. I'm in the process of pursuing a degree in Finance, complimented with some Math and a sprinkle of Computer Systems. ...
21
votes
11answers
18k 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, ...
3
votes
3answers
192 views

Real-time Tick Data API for the Italian Stock Market

I am looking for a service that is able to provide real-time tick data (time&sales) for the contracts traded in the Italian Stock Market (Borsa Italiana). The service should provide data through ...
10
votes
3answers
3k views

Can the J language be used as an effective alternative to Q/Kdb+?

I hear a lot about Q/kdb+. I've never had the opportunity to use it for anything real but have played with it using their trial license and found it intriguing (if not somewhat mind warping). I've ...
1
vote
0answers
16 views

Where can I find extra resources on how to use Quantopian? [migrated]

I am sure you all know Quantopian (I love it!!). Even though I am pretty good with Python, I am still having trouble writing a full algorithm (I am trying to write one using Fundamentals data). I ...
1
vote
1answer
48 views

Which API can I use to get financial data minute- or 5m-wise?

I've browsed a lot of financial APIs lately but most of them only show the daily closing prices. Is there any (JSON) API which offers minutely financial data?
1
vote
0answers
35 views

Is there a public SQL database for all US stocks?

I would like to search through all US stocks (via SQL or another technology), and filter them by certain parameters (similar to a stock screener, but through an API rather than a user interface). Is ...
3
votes
0answers
28 views

Monte Carlo approach to RAN bonds in Quantlib or suggestions

This is a problem from Schlogl's book in the chapter on the HJM model: Price option of the RAN instrument with 3 month coupons and maturity 3 years using Monte Carlo(Exercise 4 Range Accrual Note). ...
0
votes
1answer
273 views

How to get get weekly returns from daily data

Good day I would like to get weekly returns data from daily data , I want to use the Wednesday-to-Wednesday approach – the returns (rt) are computed from the Wednesday closing prices Pt , i.e., rt = ...
9
votes
4answers
3k views

Library of basic indicators

I am looking to start developing a trend following strategy and have been looking to do something in either C# or Java and wondered if there was a library or framework out there that would make ...
1
vote
1answer
33 views

Trader Workstation on Ubuntu cannot be connected to via the API

I am using ibPy to connect to TWS on a fairly fresh ubuntu machine. I have been successful in logging into the paper trading account and submitting buy and sell orders programatically via the ibPy ...
3
votes
1answer
178 views

Issue with OLS Regression for Nelson Siegel Svensson parameters

I have been working on getting input parameters to the Non-Linear Optimization which gives the Nelson Siegel Svensson model parameters and am carrying out the OLS regression as described in this ...
4
votes
1answer
45 views

What approaches are there for keeping local and remote order books in sync?

Scenario: developing a custom application which defines a structured workflow for manual order submission to Bloomberg EMSX; it should minimize own persisted state and rely on the remote order book as ...
-4
votes
1answer
146 views

Is there an API to perform request about stocks and financial derivatives? [closed]

Is there an API to make a request such as: all the companies which thier P/E ratio is greater than 50 ? I know I can crawl google finance and have it locally on my ...
0
votes
0answers
29 views

How to perform batch-trading using Interactive Broker API?

My definition of batch-trading: Given $N$ BUY orders, $M$ SELL orders and $O$ ($O < N$) as the max number of open positions to be held. Batch-trading should monitor the orders and when $O$ BUY ...
2
votes
0answers
22 views

How to request current Interactive Broker positions using VBnet/Activex and the API?

I'm trying to use the reqPositions() method but it doesn't have an event handler associated with it that it references in the API.
1
vote
2answers
34 views

How to assign n day target variables in machine learning

I am trying to forecast future price using supervised machine learning. My logic is to take open and close price from t, t-1, t-2 and t-3 period to predict future close price in the period t+1,t+3 ...
1
vote
1answer
40 views

OTC Market Data

I am currently doing research on the OTC Markets (OTCQB, OTCQX). As far as I know, the only data available is end of day. The research will require tick level data. This leads me to two questions: ...
34
votes
12answers
37k 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 ...
5
votes
2answers
97 views

What is the best / most used / recommended C++ non-blocking networking library for low-latency / real-time development?

I'm coming from Java and there we use the EPoll selector implementation that comes with the JDK for non-blocking / asynchronous networking TCP and UDP development. Therefore you don't have to make ...
0
votes
5answers
5k 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. ...
5
votes
1answer
112 views

Bloomberg & R: Accessing multiple securities with getBars() in R

I am attempting to access 1 minute trade data for 50 securities using Bloomberg API (rblpapi). Following is the code I got from the CRAN: ...
1
vote
0answers
122 views

Trouble verifying roll rate model

I found this paper on roll rate analysis via a google search. I would post a link, but every page is stamped with "CONFIDENTIAL" at the bottom (humorous since it is easily found). In a nut-shell, ...
1
vote
1answer
56 views

Getting quote stream via fix-api 4.3

I'm new to FIX api,so far i did following (on QUICKFIX) logged on to quote-session subscribed to market data sent "single-message" quote-request for an instrument (EUR/USD for example) ...
1
vote
0answers
21 views

How to enter to economics/finance sector [closed]

Although my question is a general question, I would appreciate your suggestions or help me to find a proper "stack exchange" in order to ask my question: I am a Ph.D student in (Pure)Mathematics and ...
1
vote
1answer
65 views

Strategies to merge bid, offer and trade price time series into a single price time series?

I'm doing intraday analysis on low volume stocks. There are just a few trades every day, but a whole host of bids and offers. In order to reduce the sparsity of the time series data I'd like to ...
26
votes
5answers
9k 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 ...
1
vote
2answers
484 views

ASX level 2 data via API

Is anybody aware of Java/C++/Python API's available for ASX stock market depth? I'm currently using IB which is ok but has a number of limitations / issues - the one I care most about is the limit of ...
5
votes
4answers
2k views

IB TWS & API, without IB account?

I'll be starting a MFE grad program in Fall, and some of the classes have a lab that use the IB TWS & API. I'd like to play around with it for fun this summer. Unfortunately, I don't have an IB ...
0
votes
0answers
19 views

DOL (Department of labour) API does not showing most recent results when requested instead shows unauthorized

I have recently been experimenting with backtesting swing trading FX strategies using quandl economic data and now that the time to deploy these models has arrived I have signed up for a developer ...
1
vote
1answer
1k views

Downloading Data from Interactive Brokers using IbPy

I am trying to download data from Interactive Broker using the code below and I am able to create the connection with the Trader Work Station (I get a "True" after ...
0
votes
0answers
76 views

backtest asset allocation strategies

I've searched the site but haven't found an easy way to backtest my personal portfolio allocations. Suppose I want to know the total return for the following portfolio from Jan 1, 2009 to Dec 31, 2014:...
3
votes
2answers
40 views

Dealing with a constraint which is the square root of a quadratic form

I'm trying to maximize my portfolio, but don't know how to deal with the constraint which is on the form max $2u^Tx-x^T \Sigma x$ Subject to $e^Tx = 1$ $u^Tx - m (x^T \Sigma x)^{1/2} >= c $ ...
0
votes
2answers
53 views

Java platform/lib widely use in industry

I am currently switching from Java dev to quant and for my self-study I want to code a few auto-trading algorithms to get my hands on the subject. Are there any must know platforms/libs that I should ...
0
votes
0answers
71 views

Problems calculating RSI

For the last few days I've been trying to calculate an RSI that matches a reliable source. Yahoo finance, E-trade, and TDA all give identical values, which I am unable to replicate. I have tried ...
3
votes
0answers
112 views

What is the best open source automated trading platform or options?

I would like a custom C++ Automated Trading Platform for Futures like Multicharts, or similar automated trading platform that I can put on my servers so its secure and fast. I have found this so far, ...
2
votes
1answer
98 views

Are there any opensource C# libraries for calculating bond duration and other FI Analytics?

I'm doing some Fixed Income analytics work and wanted to know if there where any opensource C# libraries that I could use in order to avoid writing functions for generic calculations like YTM and ...
11
votes
4answers
779 views

Thesis using Momentum strategies in R, tips on good books, guidelines etc on how to do the programming?

I am quite new to R and will be doing an empirical analysis of momentum strategies in R using a dataset from the index OSEAX from 1980 to 2014. The momentum strategy will for the most part resemble ...
0
votes
1answer
65 views

What is the formula that determines when VIX futures expire?

Or a source that will allow me to just get the list of dates into a program, I'm trying to do this in python but I want it to be able to figure out the next expiration automatically, or something like ...
1
vote
0answers
174 views

Historical volatility on bloomberg API

Is there a way to obtain the historical volatility of a stock from the bloomberg API? I would be looking for the data in the HVT table. Actually 3-months historical volatility from now would be enough....
0
votes
0answers
23 views

How to get currency denomination of security from yahoo finance API

I'm trying to write a portfolio program and it would be nice if it could auto detect what the currency denomination of the ticker is without needing user input.
2
votes
1answer
218 views

How to download efficiently intraday data with Bloomberg API?

I'm downloading intraday bar data using Bloomberg API and C#. I have adapted the official Bloomberg c# "IntradayBarExample” to suit my needs. However downloads are really slow, I found this post ...
3
votes
0answers
79 views

Downloading IB futures data and then making a datapump to another program

I never have programmed before in my life but I wouldn't mind learning if I knew what i needed to do in order to solve my problem. I use neuroshell for day trading and use it extensively for trading ...
0
votes
0answers
69 views

How is a second-sensitive MACD calculated?

I am trying to get the specifics on the calculations of a MACD line that is calculated every second, as can be seen by using Bloomberg or Interactive Brokers or something of the like. I am assuming ...
1
vote
0answers
169 views