giancapino

MY_CME eod OI vs CFTC eow OI

giancapino 업데이트됨   
Daily e-o-d Open Interest as published by CME.
As CFTC COT Open Interest relates to last Tuesday, here you can have an idea how things evolved day-by-day since then.
As CME total OI is not accessibl as data, here I sum OI of the next 9 outstanding contracts, which gives a fair idea of the trend in OI
릴리즈 노트:
One can input a "preliminary" e-o-d Open Interest if published hereon CME site
www.cmegroup.com/mar...t/metals-volume.html as the "final" data becomes available on tv quite late
릴리즈 노트:
fixed colors
릴리즈 노트:
fixed offset of CME "final" OI, -1 on weekends,-2 weektime, as OI should be public within the next day, and relates to the previous day. But noton weekends...anyway you get the meaning
릴리즈 노트:
offset fix
릴리즈 노트:
Cleaned code, now sums OI of the next 20 contracts. Good for gold and E-mini.
WTI is not too suitable, as it has dozens of conracts active for the next 3/4 years .
릴리즈 노트:
Added new input "number of contracts"
This script uses the QUANDL:CHRIS datasets, that records CME e-o-d data by quandl, and is exported daily to tradinview
The number of outstanding contracts @CME differs from product to product
eg Gold has 16 oustanding contracts, E-mini has 4, NatGas has 43!
The scripts has max 20. You can add as many as you like in the source code,but toomuch typing for me

// NUMBER OF CONTRACTS
// eg:
// CME Vol and Open Interesst page eg. for GOLD:
// www.cmegroup.co...volume_voi.html?optid=7489...
// Totals Volume & OI (last line of table) are not exported by CME to quaandl

// CME data is recorded&exported daily by quandl.com to tradingview
// via the che CHRIS/CME datasets
// www.quandl.com/data/CHRIS
// Eg. Nat GAs cntract n. 20, field n. 7(OI)
// www.quandl.com/data/CHRIS/CME_NG20 (@quandl.com)
// this data is (should be) exported daily to tradinview
// www.tradingview.com/e/?symbol=QUA... (@tradingview)

// This script tries to sum all the fut cntrcts' Vol&OI to obtain a fair total
//
// Number of outstanding cntrcts per commodity differ.
// eg E-mini (ES) has 4 contracts, Gold(GC) 16 cntrcts, NatGas(NG) has 43, WTI(CL) has 38 etc
// see doc by quandl:
// s3.amazonaws.com/qua...tures/continuous.csv
릴리즈 노트:
This latest version sets automatically the number of outstanding contracts' OI to sum up
basen on the ticker future code
data is taken from QUNDL:CHRIS/CME_ dataset
// Number of outstanding cntrcts per commodity @CME differ.
// eg E-mini (ES) has 4 contracts, Gold(GC) 16 cntrcts, NatGas(NG) has 43, WTI(CL) has 38 etc
// this script now gets the n.of outstandig cntrcts' OI to sum from the following table:
// s3.amazonaws.com/qua...tures/continuous.csv
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?