forked from Benzinga/doc-site-mintlify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delayed-quote-v2.yml
141 lines (141 loc) · 4.58 KB
/
delayed-quote-v2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
openapi: 3.0.1
info:
title: Delayed Quote
description: Benzinga Delayed Quote REST API
version: "2.0"
servers:
- url: https://api.benzinga.com/api/v1
- url: http://api.benzinga.com/api/v1
security:
- token: []
paths:
/quoteDelayed:
get:
summary: Get the delayed quotes.
parameters:
- name: accept
in: header
description: Specify return format.
schema:
type: string
enum:
- application/json
- application/xml (deprecated)
- name: symbols
in: query
description: One or more comma separated symbols to specify companies to get
data for.
schema:
type: string
format: csv
- name: isin
in: query
description: One or more comma separated isin symbols to specify companies
to get data for.
schema:
type: string
format: csv
- name: cik
in: query
description: One or more comma separated cik identifiers to specify companies
to get data for.
schema:
type: string
format: csv
responses:
200:
description: success
content:
'*/*':
schema:
$ref: '#/components/schemas/DelayedQuotesResponse'
components:
schemas:
DelayedQuotesResponse:
type: object
properties:
quotes:
type: array
items:
type: object
properties:
security:
type: object
properties:
symbol:
type: string
description: Registered symbol of security
cik:
type: string
description: Unique identifier of security
valoren:
type: string
description: Unique identifier of security
name:
type: string
description: Registered name of security
quote:
type: object
properties:
date:
type: string
description: Date and time of current trading day. UTC.
open:
type: number
description: Price at same day market open
format: float
high:
type: number
description: Indicator of highest price of security for same day
format: float
low:
type: number
description: Indicator of lowest price of security for same day
format: float
close:
type: number
description: Price at same day close. Only available after market
close.
format: float
previousClose:
type: number
description: Price at the close of previous trading day
format: float
change:
type: number
description: Change in price of security
format: float
changePercent:
type: number
description: Percentage of change in price of security
format: float
fiftyTwoWeekHigh:
type: number
description: Highest price of security in previous fifty two weeks
format: float
fiftyTwoWeekLow:
type: number
description: Lowest price of security in previous fifty two weeks
format: float
currency:
type: string
description: Type of currency the security is priced
last:
type: number
description: Price of last open
format: float
tradingHalted:
type: boolean
description: Indicator if trade was halted on security
volume:
type: integer
description: Measurement of trading activity
format: int64
previousCloseDate:
type: string
description: Date of previous close for exchange. UTC.
securitySchemes:
token:
type: apiKey
name: token
in: query