@@ -49,9 +49,12 @@ Method | HTTP request | Description
49
49
[ ** get_security_price_technicals_vwap** ] ( SecurityApi.md#get_security_price_technicals_vwap ) | ** GET** /securities/{identifier}/prices/technicals/vwap | Volume Weighted Average Price
50
50
[ ** get_security_price_technicals_wr** ] ( SecurityApi.md#get_security_price_technicals_wr ) | ** GET** /securities/{identifier}/prices/technicals/wr | Williams %R
51
51
[ ** get_security_realtime_price** ] ( SecurityApi.md#get_security_realtime_price ) | ** GET** /securities/{identifier}/prices/realtime | Realtime Stock Price for Security
52
+ [ ** get_security_replay_file** ] ( SecurityApi.md#get_security_replay_file ) | ** GET** /securities/replay | Security Replay File
52
53
[ ** get_security_snapshots** ] ( SecurityApi.md#get_security_snapshots ) | ** GET** /securities/snapshots | Realtime Stock Prices Snapshot
53
54
[ ** get_security_stock_price_adjustments** ] ( SecurityApi.md#get_security_stock_price_adjustments ) | ** GET** /securities/{identifier}/prices/adjustments | Stock Price Adjustments by Security
54
55
[ ** get_security_stock_prices** ] ( SecurityApi.md#get_security_stock_prices ) | ** GET** /securities/{identifier}/prices | Stock Prices by Security
56
+ [ ** get_security_trades** ] ( SecurityApi.md#get_security_trades ) | ** GET** /securities/trades | Security Trades
57
+ [ ** get_security_trades_by_symbol** ] ( SecurityApi.md#get_security_trades_by_symbol ) | ** GET** /securities/{identifier}/trades | Security Trades By Symbol
55
58
[ ** get_security_zacks_analyst_ratings** ] ( SecurityApi.md#get_security_zacks_analyst_ratings ) | ** GET** /securities/{identifier}/zacks/analyst_ratings | Zacks Analyst Ratings for Security
56
59
[ ** get_security_zacks_analyst_ratings_snapshot** ] ( SecurityApi.md#get_security_zacks_analyst_ratings_snapshot ) | ** GET** /securities/{identifier}/zacks/analyst_ratings/snapshot | Zacks Analyst Ratings Snapshot
57
60
[ ** get_security_zacks_eps_surprises** ] ( SecurityApi.md#get_security_zacks_eps_surprises ) | ** GET** /securities/{identifier}/zacks/eps_surprises | Zacks EPS Surprises for Security
@@ -4097,6 +4100,85 @@ Name | Type | Description | Notes
4097
4100
[ // ] : # ( END_OPERATION )
4098
4101
4099
4102
4103
+ [ // ] : # ( START_OPERATION )
4104
+
4105
+ [ // ] : # ( CLASS:Intrinio::SecurityApi )
4106
+
4107
+ [ // ] : # ( METHOD:get_security_replay_file )
4108
+
4109
+ [ // ] : # ( RETURN_TYPE:Intrinio::SecurityReplayFileResult )
4110
+
4111
+ [ // ] : # ( RETURN_TYPE_KIND:object )
4112
+
4113
+ [ // ] : # ( RETURN_TYPE_DOC:SecurityReplayFileResult.md )
4114
+
4115
+ [ // ] : # ( OPERATION:get_security_replay_file_v2 )
4116
+
4117
+ [ // ] : # ( ENDPOINT:/securities/replay )
4118
+
4119
+ [ // ] : # ( DOCUMENT_LINK:SecurityApi.md#get_security_replay_file )
4120
+
4121
+ ## ** get_security_replay_file**
4122
+
4123
+ [ ** View Intrinio API Documentation** ] ( https://docs.intrinio.com/documentation/ruby/get_security_replay_file_v2 )
4124
+
4125
+ [ // ] : # ( START_OVERVIEW )
4126
+
4127
+ > SecurityReplayFileResult get_security_replay_file(subsource, date)
4128
+
4129
+ #### Security Replay File
4130
+
4131
+
4132
+ Returns a url where the requested replay file may be downloaded from.
4133
+
4134
+ [ // ] : # ( END_OVERVIEW )
4135
+
4136
+ ### Example
4137
+
4138
+ [ // ] : # ( START_CODE_EXAMPLE )
4139
+
4140
+ ``` ruby
4141
+ # Load the gem
4142
+ require ' intrinio-sdk'
4143
+ require ' pp'
4144
+
4145
+ # Setup authorization
4146
+ Intrinio .configure do |config |
4147
+ config.api_key[' api_key' ] = ' YOUR_API_KEY'
4148
+ config.allow_retries = true
4149
+ end
4150
+
4151
+ security_api = Intrinio ::SecurityApi .new
4152
+ subsource = nil
4153
+ date = nil
4154
+
4155
+ result = security_api.get_security_replay_file(subsource, date)
4156
+ pp result
4157
+ ```
4158
+
4159
+ [ // ] : # ( END_CODE_EXAMPLE )
4160
+
4161
+ [ // ] : # ( START_DEFINITION )
4162
+
4163
+ ### Parameters
4164
+
4165
+ [ // ] : # ( START_PARAMETERS )
4166
+
4167
+
4168
+ Name | Type | Description | Notes
4169
+ ------------- | ------------- | ------------- | -------------
4170
+ ** subsource** | String| The specific source of the data being requested. |   ;
4171
+ ** date** | Date| The date for the data being requested. |   ;
4172
+
4173
+ [ // ] : # ( END_PARAMETERS )
4174
+
4175
+ ### Return type
4176
+
4177
+ [ ** SecurityReplayFileResult** ] ( SecurityReplayFileResult.md )
4178
+
4179
+ [ // ] : # ( END_OPERATION )
4180
+
4181
+
4100
4182
[ // ] : # ( START_OPERATION )
4101
4183
4102
4184
[ // ] : # ( CLASS:Intrinio::SecurityApi )
@@ -4355,6 +4437,194 @@ Name | Type | Description | Notes
4355
4437
[ // ] : # ( END_OPERATION )
4356
4438
4357
4439
4440
+ [ // ] : # ( START_OPERATION )
4441
+
4442
+ [ // ] : # ( CLASS:Intrinio::SecurityApi )
4443
+
4444
+ [ // ] : # ( METHOD:get_security_trades )
4445
+
4446
+ [ // ] : # ( RETURN_TYPE:Intrinio::SecurityTradesResult )
4447
+
4448
+ [ // ] : # ( RETURN_TYPE_KIND:object )
4449
+
4450
+ [ // ] : # ( RETURN_TYPE_DOC:SecurityTradesResult.md )
4451
+
4452
+ [ // ] : # ( OPERATION:get_security_trades_v2 )
4453
+
4454
+ [ // ] : # ( ENDPOINT:/securities/trades )
4455
+
4456
+ [ // ] : # ( DOCUMENT_LINK:SecurityApi.md#get_security_trades )
4457
+
4458
+ ## ** get_security_trades**
4459
+
4460
+ [ ** View Intrinio API Documentation** ] ( https://docs.intrinio.com/documentation/ruby/get_security_trades_v2 )
4461
+
4462
+ [ // ] : # ( START_OVERVIEW )
4463
+
4464
+ > SecurityTradesResult get_security_trades(source, opts)
4465
+
4466
+ #### Security Trades
4467
+
4468
+
4469
+ Returns all trades between start time and end time, up to seven days ago for the specified source.
4470
+
4471
+ [ // ] : # ( END_OVERVIEW )
4472
+
4473
+ ### Example
4474
+
4475
+ [ // ] : # ( START_CODE_EXAMPLE )
4476
+
4477
+ ``` ruby
4478
+ # Load the gem
4479
+ require ' intrinio-sdk'
4480
+ require ' pp'
4481
+
4482
+ # Setup authorization
4483
+ Intrinio .configure do |config |
4484
+ config.api_key[' api_key' ] = ' YOUR_API_KEY'
4485
+ config.allow_retries = true
4486
+ end
4487
+
4488
+ security_api = Intrinio ::SecurityApi .new
4489
+ source = nil
4490
+
4491
+ opts = {
4492
+ start_date: nil ,
4493
+ start_time: nil ,
4494
+ end_date: nil ,
4495
+ end_time: nil ,
4496
+ timezone: " UTC" ,
4497
+ page_size: 100 ,
4498
+ next_page: nil
4499
+ }
4500
+
4501
+ result = security_api.get_security_trades(source, opts)
4502
+ pp result
4503
+ ```
4504
+
4505
+ [ // ] : # ( END_CODE_EXAMPLE )
4506
+
4507
+ [ // ] : # ( START_DEFINITION )
4508
+
4509
+ ### Parameters
4510
+
4511
+ [ // ] : # ( START_PARAMETERS )
4512
+
4513
+
4514
+ Name | Type | Description | Notes
4515
+ ------------- | ------------- | ------------- | -------------
4516
+ ** source** | String| The specific source of the data being requested. |   ;
4517
+ ** start_date** | Date| The start date for the data being requested. | [ optional]   ;
4518
+ ** start_time** | String| The start time for the data being requested. | [ optional]   ;
4519
+ ** end_date** | Date| The end date for the data being requested. | [ optional]   ;
4520
+ ** end_time** | String| The end time for the data being requested. | [ optional]   ;
4521
+ ** timezone** | String| The timezone the start and end date/times use. | [ optional] [ default to UTC]   ;
4522
+ ** page_size** | Integer| The maximum number of results to return per page. | [ optional] [ default to 100]   ;
4523
+ ** next_page** | String| Gets the next page of data from a previous API call | [ optional]   ;
4524
+
4525
+ [ // ] : # ( END_PARAMETERS )
4526
+
4527
+ ### Return type
4528
+
4529
+ [ ** SecurityTradesResult** ] ( SecurityTradesResult.md )
4530
+
4531
+ [ // ] : # ( END_OPERATION )
4532
+
4533
+
4534
+ [ // ] : # ( START_OPERATION )
4535
+
4536
+ [ // ] : # ( CLASS:Intrinio::SecurityApi )
4537
+
4538
+ [ // ] : # ( METHOD:get_security_trades_by_symbol )
4539
+
4540
+ [ // ] : # ( RETURN_TYPE:Intrinio::SecurityTradesResult )
4541
+
4542
+ [ // ] : # ( RETURN_TYPE_KIND:object )
4543
+
4544
+ [ // ] : # ( RETURN_TYPE_DOC:SecurityTradesResult.md )
4545
+
4546
+ [ // ] : # ( OPERATION:get_security_trades_by_symbol_v2 )
4547
+
4548
+ [ // ] : # ( ENDPOINT:/securities/{identifier}/trades )
4549
+
4550
+ [ // ] : # ( DOCUMENT_LINK:SecurityApi.md#get_security_trades_by_symbol )
4551
+
4552
+ ## ** get_security_trades_by_symbol**
4553
+
4554
+ [ ** View Intrinio API Documentation** ] ( https://docs.intrinio.com/documentation/ruby/get_security_trades_by_symbol_v2 )
4555
+
4556
+ [ // ] : # ( START_OVERVIEW )
4557
+
4558
+ > SecurityTradesResult get_security_trades_by_symbol(source, opts)
4559
+
4560
+ #### Security Trades By Symbol
4561
+
4562
+
4563
+ Returns all trades for a symbol between start time and end time, up to seven days ago for the specified source.
4564
+
4565
+ [ // ] : # ( END_OVERVIEW )
4566
+
4567
+ ### Example
4568
+
4569
+ [ // ] : # ( START_CODE_EXAMPLE )
4570
+
4571
+ ``` ruby
4572
+ # Load the gem
4573
+ require ' intrinio-sdk'
4574
+ require ' pp'
4575
+
4576
+ # Setup authorization
4577
+ Intrinio .configure do |config |
4578
+ config.api_key[' api_key' ] = ' YOUR_API_KEY'
4579
+ config.allow_retries = true
4580
+ end
4581
+
4582
+ security_api = Intrinio ::SecurityApi .new
4583
+ source = nil
4584
+
4585
+ opts = {
4586
+ start_date: nil ,
4587
+ start_time: nil ,
4588
+ end_date: nil ,
4589
+ end_time: nil ,
4590
+ timezone: " UTC" ,
4591
+ page_size: 100 ,
4592
+ next_page: nil
4593
+ }
4594
+
4595
+ result = security_api.get_security_trades_by_symbol(source, opts)
4596
+ pp result
4597
+ ```
4598
+
4599
+ [ // ] : # ( END_CODE_EXAMPLE )
4600
+
4601
+ [ // ] : # ( START_DEFINITION )
4602
+
4603
+ ### Parameters
4604
+
4605
+ [ // ] : # ( START_PARAMETERS )
4606
+
4607
+
4608
+ Name | Type | Description | Notes
4609
+ ------------- | ------------- | ------------- | -------------
4610
+ ** source** | String| The specific source of the data being requested. |   ;
4611
+ ** start_date** | Date| The start date for the data being requested. | [ optional]   ;
4612
+ ** start_time** | String| The start time for the data being requested. | [ optional]   ;
4613
+ ** end_date** | Date| The end date for the data being requested. | [ optional]   ;
4614
+ ** end_time** | String| The end time for the data being requested. | [ optional]   ;
4615
+ ** timezone** | String| The timezone the start and end date/times use. | [ optional] [ default to UTC]   ;
4616
+ ** page_size** | Integer| The maximum number of results to return per page. | [ optional] [ default to 100]   ;
4617
+ ** next_page** | String| Gets the next page of data from a previous API call | [ optional]   ;
4618
+
4619
+ [ // ] : # ( END_PARAMETERS )
4620
+
4621
+ ### Return type
4622
+
4623
+ [ ** SecurityTradesResult** ] ( SecurityTradesResult.md )
4624
+
4625
+ [ // ] : # ( END_OPERATION )
4626
+
4627
+
4358
4628
[ // ] : # ( START_OPERATION )
4359
4629
4360
4630
[ // ] : # ( CLASS:Intrinio::SecurityApi )
0 commit comments