Skip to content

Commit 264bd4c

Browse files
cleaning up main method
1 parent 6e75664 commit 264bd4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

calcbench/api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ def _companies(SIC_codes, index):
143143
return r.json()
144144

145145
if __name__ == '__main__':
146-
_CALCBENCH_API_URL_BASE = 'https://localhost:444/api/{0}'
147-
_CALCBENCH_LOGON_URL = 'https://localhost:444/account/LogOnAjax'
148-
_SSL_VERIFY = False
146+
dow_tickers = tickers(index="DJIA")
147+
metrics = ['netincome', 'paymentsofdividends', "PaymentsForRepurchaseOfCommonStock", "ProceedsFromIssuanceOfCommonStock"]
148+
data = normalized_data(company_identifiers=dow_tickers, metrics=metrics, start_year=2009, start_period=0, end_year=2015, end_period=0)
149149
print(companies(SIC_codes=[7372, 'asdf']))
150150
data = normalized_data(company_identifiers=['ibm', 'msft'],
151151
metrics=['revenue', 'assets', ],

0 commit comments

Comments
 (0)