Backtesting setup of a quant pm
Hello..
I wonder what backtesting setup you use as a quant researcher or pm? Do you use ready made python libraries (backtester or zipline) or in-house apps?.
Thanks
Adrian
Hello..
I wonder what backtesting setup you use as a quant researcher or pm? Do you use ready made python libraries (backtester or zipline) or in-house apps?.
Thanks
Adrian
+74 | If and when to move to a pod? | 16 | 8h | |
+68 | Pod Shop Regret | 23 | 2d | |
+58 | Best SM seats in 2024? | 52 | 5h | |
+23 | Understanding pod shop leverage & cash usage | 2 | 1d | |
+16 | Are you making money these days? | 9 | 3d | |
+12 | Mid to Low Frequency Quantamental | 1 | 4d | |
+10 | Track record to start a small hedge fund? | 6 | 5d | |
+9 | Suggestions for market structure analysis & better trades | 1 | 4d | |
+8 | Opinions on Yipit and/or Mscience? | 11 | 4d | |
+7 | Internship advice | 4 | 1d |
Career Resources
interested as well
I have a quick vectorized Python backtester for prototyping which I have written myself. It is very fast but does not simulate TC very carefully.
When an idea shows promise in this simple setup I submit to an in-house sophisticated simulator which could take hours to complete, but provides a good estimation of costs and other execution details.
Glad to hear from you..Thank you for detailed reply .I have a few systems to test..I know there are solutions like zipline but prefer to code myself.. Is Max drawdown as important as the Sharpe ratio at your fund?
As an extra question) Also if I have a multi exit logic how would you recommend to vectorize it ? In Excel I would set up separate columns for each condition and carry their trigger times up to see which one was triggered first.. In other words how do you vectorize future outcomes?
I would not say Sharpe Ratio is an important metric by itself. Realizing Sharpe of 10 with 500K revenue does not move the needle. However, realizing 100M revenue with Sharpe 1.5 does. DD is obviously important. Netting is netting but your strategies may experience DDs at the same time, you never know future correlations. Max DD is not enough to understand risks however.
In my experience vectorizing anything in Python comes down to writing the right np.where(...) (or similar functions) query. So, the advice is to just create an array of "triggers" and then slice it when necessary.
What is the holding period and turnover of your strategy? I suppose this is for intraday strategies that require sophisticated execution. Otherwise simulation time of a few hour is pretty long.
Even if your strategy has daily holding period you still need to rebalance intraday and deal with microstructure.
Sunt ratione facere vero deserunt quia vel non rerum. Reprehenderit et eveniet deserunt laudantium non doloribus et. Dolores repellendus alias molestiae neque ut fugit. Porro aut deserunt facilis temporibus.
Debitis possimus at inventore culpa deserunt. Qui est animi quia et quod est. Molestias natus rem et vero sunt accusantium earum. Et enim magnam fuga. Labore dolorem qui nulla molestiae.
Ipsa consequatur quo in. Vitae veritatis aut ut aspernatur fuga molestiae dolor.
Sit aut et vero. Enim qui neque qui illo accusamus.
See All Comments - 100% Free
WSO depends on everyone being able to pitch in when they know something. Unlock with your email and get bonus: 6 financial modeling lessons free ($199 value)
or Unlock with your social account...