Skip to content

Commit 15c98e7

Browse files
committedJul 19, 2024
No release notes for this build
1 parent c492d06 commit 15c98e7

17 files changed

+488
-488
lines changed
 

‎docs/CompanyApi.md

+80-80
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@ end
8080
company_api = Intrinio::CompanyApi.new
8181

8282
opts = {
83-
latest_filing_date: Date.parse("\"~null\""),
84-
sic: "~null",
85-
template: "\"~null\"",
86-
sector: "~null",
87-
industry_category: "~null",
88-
industry_group: "~null",
83+
latest_filing_date: nil,
84+
sic: nil,
85+
template: nil,
86+
sector: nil,
87+
industry_category: nil,
88+
industry_group: nil,
8989
has_fundamentals: true,
9090
has_stock_prices: true,
91-
thea_enabled: "~null",
91+
thea_enabled: nil,
9292
page_size: 100,
93-
next_page: "~null"
93+
next_page: nil
9494
}
9595

9696
result = company_api.get_all_companies(opts)
@@ -182,8 +182,8 @@ company_api = Intrinio::CompanyApi.new
182182
opts = {
183183
on_date: Date.parse("2013-10-20"),
184184
page_size: 100,
185-
next_page: "~null",
186-
next_page2: "~null"
185+
next_page: nil,
186+
next_page2: nil
187187
}
188188

189189
result = company_api.get_all_companies_daily_metrics(opts)
@@ -266,21 +266,21 @@ end
266266
company_api = Intrinio::CompanyApi.new
267267

268268
opts = {
269-
specific_source: "\"~null\"",
269+
specific_source: nil,
270270
page_size: 100,
271-
sentiment: "\"~null\"",
272-
topic: "~null",
271+
sentiment: nil,
272+
topic: nil,
273273
company: "AAPL",
274274
security: "AAPL",
275-
start_date: Date.parse("\"~null\""),
276-
end_date: Date.parse("\"~null\""),
277-
language: "~null",
278-
word_count_greater_than: "~null",
279-
word_count_less_than: "~null",
280-
is_spam: "~null",
281-
business_relevance_greater_than: "~null",
282-
business_relevance_less_than: "~null",
283-
next_page: "~null"
275+
start_date: nil,
276+
end_date: nil,
277+
language: nil,
278+
word_count_greater_than: nil,
279+
word_count_less_than: nil,
280+
is_spam: nil,
281+
business_relevance_greater_than: nil,
282+
business_relevance_less_than: nil,
283+
next_page: nil
284284
}
285285

286286
result = company_api.get_all_company_news(opts)
@@ -533,8 +533,8 @@ identifier = "AAPL"
533533
opts = {
534534
on_date: Date.parse("2013-10-20"),
535535
page_size: 100,
536-
next_page: "~null",
537-
next_page2: "~null"
536+
next_page: nil,
537+
next_page2: nil
538538
}
539539

540540
result = company_api.get_company_daily_metrics(identifier, opts)
@@ -777,12 +777,12 @@ company_api = Intrinio::CompanyApi.new
777777
identifier = "AAPL"
778778

779779
opts = {
780-
report_type: "~null",
781-
start_date: Date.parse("\"2015-01-01\""),
782-
end_date: Date.parse("\"~null\""),
783-
thea_enabled: "~null",
780+
report_type: nil,
781+
start_date: Date.parse("2015-01-01"),
782+
end_date: nil,
783+
thea_enabled: nil,
784784
page_size: 100,
785-
next_page: "~null"
785+
next_page: nil
786786
}
787787

788788
result = company_api.get_company_filings(identifier, opts)
@@ -869,18 +869,18 @@ company_api = Intrinio::CompanyApi.new
869869
identifier = "AAPL"
870870

871871
opts = {
872-
filed_after: Date.parse("\"~null\""),
873-
filed_before: Date.parse("\"~null\""),
872+
filed_after: nil,
873+
filed_before: nil,
874874
reported_only: false,
875-
fiscal_year: "~null",
876-
statement_code: "\"~null\"",
877-
type: "\"~null\"",
878-
start_date: Date.parse("\"~null\""),
879-
end_date: Date.parse("\"~null\""),
880-
updated_after: Date.parse("\"2022-12-01\""),
881-
updated_before: Date.parse("\"2022-12-01\""),
875+
fiscal_year: nil,
876+
statement_code: nil,
877+
type: nil,
878+
start_date: nil,
879+
end_date: nil,
880+
updated_after: Date.parse("2022-12-01"),
881+
updated_before: Date.parse("2022-12-01"),
882882
page_size: 100,
883-
next_page: "~null"
883+
next_page: nil
884884
}
885885

886886
result = company_api.get_company_fundamentals(identifier, opts)
@@ -975,12 +975,12 @@ tag = "marketcap"
975975

976976
opts = {
977977
frequency: "daily",
978-
type: "\"~null\"",
979-
start_date: Date.parse("\"2018-01-01\""),
980-
end_date: Date.parse("\"~null\""),
978+
type: nil,
979+
start_date: Date.parse("2018-01-01"),
980+
end_date: nil,
981981
sort_order: "desc",
982982
page_size: 100,
983-
next_page: "~null"
983+
next_page: nil
984984
}
985985

986986
result = company_api.get_company_historical_data(identifier, tag, opts)
@@ -1069,13 +1069,13 @@ company_api = Intrinio::CompanyApi.new
10691069

10701070
opts = {
10711071
ticker: "UBER",
1072-
status: "\"~null\"",
1073-
start_date: Date.parse("\"~null\""),
1074-
end_date: Date.parse("\"~null\""),
1075-
offer_amount_greater_than: "~null",
1076-
offer_amount_less_than: "~null",
1072+
status: nil,
1073+
start_date: nil,
1074+
end_date: nil,
1075+
offer_amount_greater_than: nil,
1076+
offer_amount_less_than: nil,
10771077
page_size: 100,
1078-
next_page: "~null"
1078+
next_page: nil
10791079
}
10801080

10811081
result = company_api.get_company_ipos(opts)
@@ -1163,20 +1163,20 @@ company_api = Intrinio::CompanyApi.new
11631163
identifier = "AAPL"
11641164

11651165
opts = {
1166-
specific_source: "\"~null\"",
1166+
specific_source: nil,
11671167
page_size: 100,
1168-
sentiment: "\"~null\"",
1169-
topic: "~null",
1168+
sentiment: nil,
1169+
topic: nil,
11701170
security: "AAPL",
1171-
start_date: Date.parse("\"~null\""),
1172-
end_date: Date.parse("\"~null\""),
1173-
language: "~null",
1174-
word_count_greater_than: "~null",
1175-
word_count_less_than: "~null",
1176-
is_spam: "~null",
1177-
business_relevance_greater_than: "~null",
1178-
business_relevance_less_than: "~null",
1179-
next_page: "~null"
1171+
start_date: nil,
1172+
end_date: nil,
1173+
language: nil,
1174+
word_count_greater_than: nil,
1175+
word_count_less_than: nil,
1176+
is_spam: nil,
1177+
business_relevance_greater_than: nil,
1178+
business_relevance_less_than: nil,
1179+
next_page: nil
11801180
}
11811181

11821182
result = company_api.get_company_news(identifier, opts)
@@ -1269,11 +1269,11 @@ end
12691269

12701270
company_api = Intrinio::CompanyApi.new
12711271
news_story_id = "new_aBcDef"
1272-
publication_date = DateTime.parse("\"~null\"")
1272+
publication_date = DateTime.parse(nil)
12731273

12741274
opts = {
1275-
specific_source: "\"~null\"",
1276-
next_page: "~null"
1275+
specific_source: nil,
1276+
next_page: nil
12771277
}
12781278

12791279
result = company_api.get_company_news_body(news_story_id, publication_date, opts)
@@ -1357,10 +1357,10 @@ company_api = Intrinio::CompanyApi.new
13571357
identifier = "AAPL"
13581358

13591359
opts = {
1360-
float_date_greater_than: Date.parse("\"~null\""),
1361-
float_date_less_than: Date.parse("\"~null\""),
1362-
next_page: "~null",
1363-
next_page2: "~null"
1360+
float_date_greater_than: nil,
1361+
float_date_less_than: nil,
1362+
next_page: nil,
1363+
next_page2: nil
13641364
}
13651365

13661366
result = company_api.get_company_public_float(identifier, opts)
@@ -1445,7 +1445,7 @@ company_api = Intrinio::CompanyApi.new
14451445
identifier = "AAPL"
14461446

14471447
opts = {
1448-
next_page: "~null"
1448+
next_page: nil
14491449
}
14501450

14511451
result = company_api.get_company_securities(identifier, opts)
@@ -1527,13 +1527,13 @@ company_api = Intrinio::CompanyApi.new
15271527
identifier = "AAPL"
15281528

15291529
opts = {
1530-
start_date: Date.parse("\"2018-01-01\""),
1531-
end_date: Date.parse("\"2019-01-01\""),
1530+
start_date: Date.parse("2018-01-01"),
1531+
end_date: Date.parse("2019-01-01"),
15321532
ownership_type: "D",
1533-
next_page: "~null",
1533+
next_page: nil,
15341534
page_size: 1000,
1535-
sort_by: "\"updated_on\"",
1536-
next_page2: "~null"
1535+
sort_by: "updated_on",
1536+
next_page2: nil
15371537
}
15381538

15391539
result = company_api.insider_transaction_filings_by_company(identifier, opts)
@@ -1621,7 +1621,7 @@ company_api = Intrinio::CompanyApi.new
16211621
identifier = "AAPL"
16221622

16231623
opts = {
1624-
next_page: "~null"
1624+
next_page: nil
16251625
}
16261626

16271627
result = company_api.latest_insider_transaction_filing_by_company(identifier, opts)
@@ -1701,8 +1701,8 @@ end
17011701

17021702
company_api = Intrinio::CompanyApi.new
17031703
identifier = "AAPL"
1704-
statement_code = "\"income_statement\""
1705-
fiscal_period = "\"FY\""
1704+
statement_code = "income_statement"
1705+
fiscal_period = "FY"
17061706
fiscal_year = 2017
17071707

17081708
result = company_api.lookup_company_fundamental(identifier, statement_code, fiscal_period, fiscal_year)
@@ -1864,7 +1864,7 @@ query = "Apple"
18641864

18651865
opts = {
18661866
active: true,
1867-
mode: "\"~null\"",
1867+
mode: nil,
18681868
page_size: 100
18691869
}
18701870

@@ -1949,8 +1949,8 @@ company_api = Intrinio::CompanyApi.new
19491949
identifier = "AAPL"
19501950

19511951
opts = {
1952-
end_date_greater_than: Date.parse("\"~null\""),
1953-
end_date_less_than: Date.parse("\"~null\"")
1952+
end_date_greater_than: nil,
1953+
end_date_less_than: nil
19541954
}
19551955

19561956
result = company_api.shares_outstanding_by_company(identifier, opts)

‎docs/DataTagApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ end
6161
dataTag_api = Intrinio::DataTagApi.new
6262

6363
opts = {
64-
tag: "~null",
65-
type: "~null",
66-
parent: "~null",
67-
statement_code: "\"income_statement\"",
64+
tag: nil,
65+
type: nil,
66+
parent: nil,
67+
statement_code: "income_statement",
6868
fs_template: "industrial",
6969
page_size: 100,
70-
next_page: "~null"
70+
next_page: nil
7171
}
7272

7373
result = dataTag_api.get_all_data_tags(opts)

‎docs/ESGApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ opts = {
6666
industry: "Retail",
6767
ticker: "SHOP",
6868
page_size: 100,
69-
next_page: "~null"
69+
next_page: nil
7070
}
7171

7272
result = eSG_api.get_esg_companies(opts)
@@ -151,7 +151,7 @@ identifier = "AAPL"
151151

152152
opts = {
153153
page_size: 100,
154-
next_page: "~null"
154+
next_page: nil
155155
}
156156

157157
result = eSG_api.get_esg_company_comprehensive_ratings(identifier, opts)
@@ -234,7 +234,7 @@ identifier = "AAPL"
234234

235235
opts = {
236236
page_size: 100,
237-
next_page: "~null"
237+
next_page: nil
238238
}
239239

240240
result = eSG_api.get_esg_company_ratings(identifier, opts)
@@ -317,7 +317,7 @@ eSG_api = Intrinio::ESGApi.new
317317
opts = {
318318
country: "USA",
319319
page_size: 100,
320-
next_page: "~null"
320+
next_page: nil
321321
}
322322

323323
result = eSG_api.get_esg_latest(opts)
@@ -400,7 +400,7 @@ eSG_api = Intrinio::ESGApi.new
400400
opts = {
401401
country: "USA",
402402
page_size: 100,
403-
next_page: "~null"
403+
next_page: nil
404404
}
405405

406406
result = eSG_api.get_esg_latest_comprehensive(opts)

‎docs/ETFsApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ eTFs_api = Intrinio::ETFsApi.new
6666
opts = {
6767
exchange: "XNAS",
6868
page_size: 100,
69-
next_page: "~null"
69+
next_page: nil
7070
}
7171

7272
result = eTFs_api.get_all_etfs(opts)
@@ -304,7 +304,7 @@ identifier = "SPY"
304304

305305
opts = {
306306
page_size: 100,
307-
next_page: "~null"
307+
next_page: nil
308308
}
309309

310310
result = eTFs_api.get_etf_holdings(identifier, opts)
@@ -464,7 +464,7 @@ eTFs_api = Intrinio::ETFsApi.new
464464
query = "iShares"
465465

466466
opts = {
467-
mode: "\"~null\""
467+
mode: nil
468468
}
469469

470470
result = eTFs_api.search_etfs(query, opts)

0 commit comments

Comments
 (0)
Please sign in to comment.