Reputation
Next tag badge:
75/100 score
24/20 answers
Badges
1 9 34
Newest
 Enlightened
Impact
~311k people reached

  • 0 posts edited
  • 21 helpful flags
  • 254 votes cast
Aug
21
comment How to price this option using the Black Scholes model?
fixed...........
Aug
15
comment Library of basic indicators
ta-lib.org/hdr_doc.html and/or quantcode.com/modules/smartfaq/faq.php?faqid=92
Aug
14
comment Library of basic indicators
What are you stuck with?
Aug
12
comment Calculate turnover for portfolio
@user1723765, your problem is not reproducible unless you provide which data you used, the exact data sets (you said it works on your random data but not on "real data"), ....I hope you do not expect others to write a complete code solution in exchange for 100....Anyway, from what you describe the problem might be that some weights do not sum up to 1 or the like. But as your question currently stands it makes it very hard for someone to take interest in putting in time for guess work...
Aug
8
comment Is R being replaced by Python at quant desks?
...R packages provided visualization capabilities that we demanded. Even D3 is not performant enough. We decided to stay with C# in regards to our front-ends that encapsulate visualizations. We hardly use any of the R packages for algorithms and statistical/mathematical computations hence we are entirely independent from those. In the end we wondered what R is particularly good at in comparison with other choices and we believe R is a great all-round tool that performs reasonably well but does not come out on top in any of the categories. Hope this explains our decision making process a bit.
Aug
8
comment Is R being replaced by Python at quant desks?
@statquant, I cannot comment on what we decided in the end to peruse but I can comment on why we decided not to choose R. The biggest reason was time-consuming procedures to hook up R code with our existing research and trading framework. While everything can be interconnected some way or the other connectivity often proved quirky and cumbersome. To name just two examples: To up R's performance regarding large data sets one can use packages such as data table and Rcpp among others but then the question begged why using R in the first place. Another example is visualizations: None of the...
Jul
24
comment Libor OIS basis swap equation
The paper @Olorun mentioned looks quite interesting. Keep in mind that for your stated problem you need to derive OIS rates, hence you need to build an OIS curve. A traditional libor curve is of very little help here. Most practitioners nowadays build OIS curves rather than libor curves. So for your situation you need OIS rates as input and need to build an OIS curve. Libor curves are irrelevant in this context.
Jun
21
comment Interpretation of Drift
as @emcor pointed out you need to average out many discretizations (not just one) in order to meaningfully isolate the drift. Your drift isolation via MLE should come very close to your actual drift.
Jun
16
comment Importance Sampling - where to center the sampling distribution?
usually people carry through with the distributional assumption that underlies BS. Some seem to apply exponential change of measure via a cumulant generating function (but I can't comment on it as I have never used it). Have you considered control variate methods and otherwise QMC?
Jun
15
comment Physical or Real-world Probability Measure
Thats ok then, no worries :-) I simply wanted to confirm whether you talk about probability measures when you refer to "measures" and probability spaces when you refer to "measurable spaces". But seems I overlooked you already rephrased yourself in specifying you are talking about probability measures and probability spaces. By the way I quoted from Shreve's text book, cheers.
Jun
15
comment Physical or Real-world Probability Measure
Do you mind clearly defining what you mean with "measures" vs probability measures and "measurable space" vs probability space? I feel we are dancing around terminology because definitions are not agreed upon.
Jun
15
comment Physical or Real-world Probability Measure
...in the same probability space you can have random variables that have two expectations, "one under the original probability measure $P$..., and the other under the new probability measure $\tilde P$.,... (Shreve, Stochastic Calculus for Finance II, 2004 Edition, P.210). Both probability measures live in the same probability space.
Jun
15
comment Physical or Real-world Probability Measure
...but admittedly the dice example is not a good one, I apologize for that. But it does not change my stance that in the same probability space you can have random variables that have two expectations, "one under the original probability measure $P$..., and the other under the new probability measure $\tilde P$.,... (Shreve, Stochastic Calculus for Finance II, 2004 Edition, P.210). Both probability measures live in the same probability space.
Jun
15
comment Physical or Real-world Probability Measure
that is not what I said. But to clear up the terminology confusion I seemingly have, you are basically saying both dice experiments are underlying one and the same identical real-valued probability function (because that is how your cited Wiki article defines a probability measure.
Jun
15
comment Physical or Real-world Probability Measure
I am happy to stand corrected, could you please help to clear up my confusion in case I am missing something or are we just rubbing elbows in terminology space?
Jun
15
comment Physical or Real-world Probability Measure
what about the example of a 6-sided vs 10-sided dice? Both reside in the real world, both in the same probability space, yet they both represent 2 very different probability measures, meaning, both represent their own real valued functions, defined on events in a shared probability space, and both satisfy measure properties.
Jun
15
comment Physical or Real-world Probability Measure
@AFK, I guess I am confused what you are trying to say here. Are you saying $P$ is the probability measure belonging to probability space ($\Omega, F, P$) and $\tilde P$ belongs to probability space ($\Omega, F, \tilde P$)? I am not a mathematician but this seems to disagree with how Shreve in his book Stochastic Calculus for Finance II defines probability spaces and measures.
Jun
14
comment Physical or Real-world Probability Measure
@Ulysses, one probability space ($\Omega, F, P$) already has two probability measures, $P$ and $\tilde P$
Jun
12
comment Physical or Real-world Probability Measure
Fully concur that terminology is key here. It is easy to get confused about probability space, probability measures, driving brownian motions/ random variables. And I agree that for the purposes OP described all 3 assets (domestic money market account, stock, and foreign money market account) do not have to be martingales.
Jun
12
comment Physical or Real-world Probability Measure
My point was that the precise reason risk-neutral probability measures are used is that there are uncountably many probability measures due to different risk preferences. As long as a probability measure lies between [0;1], the entire probability space sums to 1 and the empty set is 0 and the countable additivity property is satisfied you have a probability measure. There is one probability space but there can and there are many probability measures.