Comments (4)
ACTW is here
> sort(unique(duke_pair_exposure$Pair))
[1] ABC1 ABC11 ABC23 ABC24 ABC27 ABC28 ABC29 ABC32 ABC33 ABC34 ABC35 ABC37 ABC38 ABC39 ABC40 ABC41 ABC42 ABC5
[19] ABC6 ABC7 ABC8 ABC9 AC102 AC104 AC107 AC111 AC112 AC113 AC114 AC115 AC53 AC57 AC67 AC94 AC95 AC96
[37] AC98 AC99 ACTW1 ACTW10 ACTW11 ACTW12 ACTW13 ACTW14 ACTW2 ACTW3 ACTW4 ACTW5 ACTW6 ACTW7 ACTW9 DH16 DH32 DH38
[55] DH42 DH48 DH51 DH52 DH58 DH59 DH61 DH62 DH63 GJ13 GJ15 GJ16 GJ17 GJ18 GJ19 GJ22 GJ23 GJ24
[73] GJ4 GJ7 GJ9 JR10 JR14 JR15 JR16 JR17 JR18 JR22 JR28 JR32 JR33 JR34 MC110 MC114 MC122 MC129
[91] MC130 MC132 MC133 MC143 MC145 MC149 MC151 MC153 MC155 MC156 MC53 MC79 MC89
103 Levels: ABC1 ABC11 ABC23 ABC24 ABC27 ABC28 ABC29 ABC32 ABC33 ABC34 ABC35 ABC37 ABC38 ABC39 ABC40 ABC41 ABC42 ABC5 ABC6 ABC7 ... MC89
from pairs.
but ACTW7 is not here
sort(unique(duke_pair_look_vs_outright$Pair))
[1] ABC1 ABC11 ABC23 ABC24 ABC27 ABC28 ABC29 ABC32 ABC33 ABC34 ABC35 ABC37 ABC38 ABC39 ABC40 ABC41 ABC42 ABC5
[19] ABC6 ABC7 ABC8 ABC9 AC102 AC104 AC107 AC111 AC112 AC113 AC114 AC115 AC53 AC57 AC67 AC94 AC95 AC96
[37] AC98 AC99 ACTW1 ACTW10 ACTW11 ACTW12 ACTW13 ACTW14 ACTW2 ACTW3 ACTW4 ACTW5 ACTW6 ACTW9 DH16 DH32 DH38 DH42
[55] DH48 DH51 DH52 DH58 DH59 DH61 DH62 DH63 GJ13 GJ15 GJ16 GJ17 GJ18 GJ19 GJ22 GJ23 GJ24 GJ4
[73] GJ7 GJ9 JR10 JR14 JR15 JR16 JR17 JR18 JR22 JR28 JR32 JR33 JR34 MC110 MC114 MC122 MC129 MC130
[91] MC132 MC133 MC143 MC145 MC149 MC151 MC153 MC155 MC156 MC53 MC79 MC89
from pairs.
ACTW7 has no equity exposure, only index exposure. It seems this is the reason for the problem.
The logic cant handle pairs that only contain index exposures.
> sort(unique(duke_pair_index_exposure$Pair))
[1] "ABC1" "ABC23" "ABC24" "ABC27" "ABC28" "ABC29" "ABC32" "ABC33" "ABC35" "ABC37" "ABC38" "ABC41" "ABC5" "ABC6"
[15] "ABC8" "ABC9" "AC102" "AC104" "AC111" "AC112" "AC113" "AC94" "AC95" "AC99" "ACTW1" "ACTW10" "ACTW12" "ACTW13"
[29] "ACTW14" "ACTW2" "ACTW3" "ACTW4" "ACTW5" "ACTW7" "ACTW9" "DH16" "DH32" "DH38" "DH42" "DH48" "DH51" "DH52"
[43] "DH59" "DH62" "DH63" "GJ13" "GJ15" "GJ17" "GJ18" "GJ19" "GJ22" "GJ24" "GJ4" "GJ7" "GJ9" "JR10"
[57] "JR15" "JR16" "JR17" "JR18" "JR28" "JR33" "JR34" "MC110" "MC122" "MC129" "MC130" "MC132" "MC133" "MC143"
[71] "MC145" "MC149" "MC151" "MC153" "MC155" "MC156" "MC79" "MC89"
> sort(unique(duke_pair_equity_exposure$Pair))
[1] "ABC1" "ABC11" "ABC23" "ABC24" "ABC27" "ABC28" "ABC29" "ABC32" "ABC33" "ABC34" "ABC35" "ABC37" "ABC38" "ABC39"
[15] "ABC40" "ABC41" "ABC42" "ABC5" "ABC6" "ABC7" "ABC8" "ABC9" "AC102" "AC104" "AC107" "AC111" "AC113" "AC114"
[29] "AC115" "AC53" "AC57" "AC67" "AC94" "AC95" "AC96" "AC98" "AC99" "ACTW1" "ACTW10" "ACTW11" "ACTW12" "ACTW13"
[43] "ACTW14" "ACTW2" "ACTW3" "ACTW4" "ACTW5" "ACTW6" "ACTW9" "DH16" "DH32" "DH38" "DH42" "DH48" "DH51" "DH52"
[57] "DH58" "DH59" "DH61" "DH62" "DH63" "GJ13" "GJ15" "GJ16" "GJ17" "GJ18" "GJ19" "GJ22" "GJ23" "GJ24"
[71] "GJ4" "GJ7" "GJ9" "JR10" "JR14" "JR15" "JR16" "JR17" "JR18" "JR22" "JR28" "JR32" "JR33" "JR34"
[85] "MC110" "MC114" "MC122" "MC129" "MC130" "MC132" "MC133" "MC143" "MC145" "MC149" "MC151" "MC153" "MC155" "MC156"
[99] "MC53" "MC79" "MC89"
>
from pairs.
duke_pair_look_though_exposure
was rounding exposures. ACTW7 has a tiny exposure (less than 1bp)
that was being rounded to zero and filtered out.
from pairs.
Related Issues (20)
- the GMV portfolio HOT 4
- pair_risk_contribution report is out of date HOT 9
- ABC: can we add implied vols or credit spreads as measures of market risk? HOT 1
- pair_risk_contribution_new: sector gross looks wrong HOT 1
- the cross product
- custom PM report HOT 3
- loading "all results" is a really bad idea HOT 1
- intraday.csv is 25mb, too large to push to git HOT 3
- 2 year correlation looks wrong HOT 1
- CIX uploads dont work HOT 4
- AC112 has no single stock positions
- pair look-through matrix has more pairs than pair P&L matrix HOT 9
- CIX uploads do not work HOT 7
- AC's position is the sum of AC and ACTW. needs to be fixed.
- James Rodgers requests
- The fund pair risk contribution table
- The correlation of my portfolio to markets
- the correlation of my pairs to one another in an easy to read format
- the look-through exposures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pairs.