Skip to content

Instantly share code, notes, and snippets.

@anthonymorast
Last active May 18, 2022 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonymorast/a2484f4630b935f4cd74245581fbf3e1 to your computer and use it in GitHub Desktop.
Save anthonymorast/a2484f4630b935f4cd74245581fbf3e1 to your computer and use it in GitHub Desktop.
return risk MMM weight AOS weight ABT weight ABBV weight ADM weight ADP weight A weight APD weight ALB weight ALLE weight LNT weight MO weight AEE weight AEP weight AMT weight AWK weight ABC weight AME weight AMGN weight APH weight ADI weight AON weight AAPL weight AMAT weight T weight AVY weight BAX weight BDX weight BWA weight BXP weight BMY weight BR weight BRO weight CHRW weight CPT weight CAH weight CAT weight CBOE weight CE weight CHD weight CSCO weight C weight CLX weight CME weight CMS weight CL weight CMCSA weight CAG weight COP weight ED weight STZ weight GLW weight CCI weight CSX weight CMI weight CVS weight DHR weight DRI weight DE weight XRAY weight DG weight DOV weight DTE weight DRE weight EMN weight ETN weight ECL weight EIX weight EMR weight ETR weight EFX weight EQIX weight EQR weight ESS weight EL weight EXC weight EXR weight XOM weight FDS weight FAST weight FDX weight FITB weight FE weight FIS weight FTV weight FBHS weight BEN weight AJG weight GRMN weight GD weight GIS weight GPC weight GS weight GWW weight HAS weight HSY weight HES weight HPE weight HD weight HON weight HRL weight HPQ weight HII weight IEX weight ITW weight INTC weight ICE weight IBM weight IPG weight IFF weight INTU weight IVZ weight JBHT weight JKHY weight JNJ weight JCI weight JNPR weight K weight KMB weight KMI weight KLAC weight KR weight LHX weight LW weight LDOS weight LLY weight LIN weight LMT weight LOW weight LYB weight MRO weight MPC weight MKTX weight MMC weight MLM weight MAS weight MA weight MKC weight MCD weight MCK weight MDT weight MRK weight MCHP weight MSFT weight MDLZ weight MCO weight NDAQ weight NTAP weight NWL weight NWSA weight NWS weight NKE weight NI weight NDSN weight NSC weight NOC weight NLOK weight NUE weight NVDA weight OMC weight OKE weight ORCL weight PCAR weight PKG weight PAYX weight PEP weight PKI weight PFE weight PM weight PSX weight PNW weight POOL weight PPG weight PG weight PHM weight QCOM weight DGX weight RL weight RSG weight RMD weight RHI weight ROK weight ROL weight ROP weight ROST weight SPGI weight STX weight SEE weight SRE weight SHW weight SWKS weight SJM weight SNA weight SO weight SWK weight SBUX weight STE weight SYK weight TROW weight TGT weight TEL weight TER weight TXN weight TXT weight TMO weight TJX weight TT weight TSN weight UDR weight UNP weight UNH weight UPS weight UHS weight VLO weight VZ weight VFC weight V weight VMC weight WAB weight WMT weight WBA weight WM weight WEC weight WST weight WHR weight WMB weight WTW weight XEL weight XYL weight YUM weight ZBH weight
0.2937191278424318 1.5327801392202511 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1959310353164563 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.010957557369485704 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.03574618405915649 0.0 0.0 0.11060541151497702 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.027677772312185586 0.0 0.0 0.0 0.0 0.0 0.0 0.1567586467297436 0.0 0.0 0.049314519590745697 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.22031786515188398 0.0 0.0 0.0 0.0 0.0 0.018212081113387516 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.17447892684197802 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.2788527170687626 1.457434140842603 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.22998216930803028 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.12408225441942705 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1123996852797227 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.03322802878800176 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.037555350405458356 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.04084458306333485 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.20138930084575732 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.016889070598592047 0.0 0.0 0.05972933224167621 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1439002250499995 0.0 0.0 0.0 0.0 0.0
0.26942135537081574 1.4205170320180351 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.025661003267500967 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.16610155292002202 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1919798579786652 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.01523986421418221 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1284951721348546 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.022996331065437473 0.0 0.0 0.0 0.027475809044267836 0.08172662665417571 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.20755757170148495 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.132766211019409 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.258621960913082 2.6177390927523883 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.2563307661970264 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1278033562564181 0.0 0.0 0.0 0.0 0.04752805700441629 0.0 0.0 0.0 0.0 0.0 0.0 0.011384626122112143 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.12301638572248469 0.0 0.18710098393201016 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.05437635276703106 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1493355411459466 0.0 0.005455289733640007 0.0 0.0 0.0 0.0 0.0 0.03766864111891457 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.25403931791661694 0.5823264388393952 0.08379752278996673 0.0 0.0 0.14325205157200802 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.07278543516934419 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.08022081785139488 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.01148834235723841 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.21205739756966827 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.07660219148856678 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.03539031960429381 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.03917049626208663 0.0 0.0 0.0 0.0 0.24523542533543227 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment