@@ -22,9 +22,9 @@ pip install pycot-reports
2222## How to use
2323
2424``` python
25- from pycot.reports import CommitmentOfTraders
25+ from pycot.reports import CommitmentsOfTraders
2626
27- cot = CommitmentOfTraders (" legacy_fut" )
27+ cot = CommitmentsOfTraders (" legacy_fut" )
2828df = cot.report((" FED FUNDS - CHICAGO BOARD OF TRADE" , " 30-DAY FEDERAL FUNDS - CHICAGO BOARD OF TRADE" ))
2929```
3030
@@ -35,9 +35,9 @@ If you want to retrieve data from the same report multiple times, you can use th
3535Lets have a look at an example:
3636
3737``` python
38- from pycot.reports import CommitmentOfTraders
38+ from pycot.reports import CommitmentsOfTraders
3939
40- cot = CommitmentOfTraders (" legacy_fut" )
40+ cot = CommitmentsOfTraders (" legacy_fut" )
4141
4242# will load the full report (~ 10-20 seconds)
4343fed_funds_df = cot.report((" FED FUNDS - CHICAGO BOARD OF TRADE" , " 30-DAY FEDERAL FUNDS - CHICAGO BOARD OF TRADE" ))
@@ -51,9 +51,9 @@ bbg_df = cot.report(("BBG COMMODITY - CHICAGO BOARD OF TRADE", "BLOOMBERG COMMOD
5151### Legacy Report (All Contracts)
5252
5353``` python
54- from pycot.reports import CommitmentOfTraders
54+ from pycot.reports import CommitmentsOfTraders
5555
56- cot = CommitmentOfTraders (" legacy_fut" )
56+ cot = CommitmentsOfTraders (" legacy_fut" )
5757contract_names = (" FED FUNDS - CHICAGO BOARD OF TRADE" , " 30-DAY FEDERAL FUNDS - CHICAGO BOARD OF TRADE" )
5858df = cot.report(contract_names)
5959```
@@ -80,9 +80,9 @@ Date ...
8080### Disaggregated Report (Commodities)
8181
8282``` python
83- from pycot.reports import CommitmentOfTraders
83+ from pycot.reports import CommitmentsOfTraders
8484
85- cot = CommitmentOfTraders (" disaggregated_futopt" )
85+ cot = CommitmentsOfTraders (" disaggregated_futopt" )
8686contract_names = (" BRENT LAST DAY - NEW YORK MERCANTILE EXCHANGE" , " BRENT CRUDE OIL LAST DAY - NEW YORK MERCANTILE EXCHANGE" )
8787df = cot.report(contract_names)
8888```
@@ -109,9 +109,9 @@ Date .
109109### Financial Report (Financial Instruments)
110110
111111``` python
112- from pycot.reports import CommitmentOfTraders
112+ from pycot.reports import CommitmentsOfTraders
113113
114- cot = CommitmentOfTraders (" traders_in_financial_futures_fut" )
114+ cot = CommitmentsOfTraders (" traders_in_financial_futures_fut" )
115115contract_names = (" UST 10Y NOTE - CHICAGO BOARD OF TRADE" , " 10-YEAR U.S. TREASURY NOTES - CHICAGO BOARD OF TRADE" , " 10 YEAR U.S. TREASURY NOTES - CHICAGO BOARD OF TRADE" )
116116df = cot.report(contract_names)
117117```
@@ -138,9 +138,9 @@ Date .
138138## List Available Contracts
139139
140140``` python
141- from pycot.reports import CommitmentOfTraders
141+ from pycot.reports import CommitmentsOfTraders
142142
143- cot = CommitmentOfTraders (" legacy_fut" )
143+ cot = CommitmentsOfTraders (" legacy_fut" )
144144contracts: np.ndarray = cot.list_available_contracts()
145145```
146146
0 commit comments