openapi: 3.0.3 info: title: Factset Analytics Datastore About Firsttrade API description: Allow clients to fetch precalculated Analytics through predeterministic URLs. contact: name: FactSet Research Systems url: https://developer.factset.com/contact email: api@factset.com license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 version: 1.0.0 servers: - url: https://api.factset.com description: Production - url: https://api-sandbox.factset.com description: Sandbox security: - basicAuth: [] tags: - name: Firsttrade paths: /TickHistory/firsttrade: get: tags: - Firsttrade summary: Factset Request Returns Data for the First Trade (official and Unofficial) After the Specified Time description: '' parameters: - name: id in: query description: 'Requested symbol or security. The symbol can be a FactSet exchange symbol, CUSIP, or SEDOL. **NOTE**: Only one identifier can be requested per request.
**TRY IT OUT** - Choose One from - BABA-USA,WALMEX-MX,7203-TKS,VOD-LON,NPN-JSE,MABAX,NZF,SPY-USA,AGG-USA,GLD-USA,AOR-USA,MNA-USA,UUP-USA,SP50-SPX,ESX-STX,XAO-ASX,WD-MSX,NG00-USA,GC00-USA,CC00-USA,C00-USA,FC00-USA,ER00-USA,EURUSD-FX1,USDMXN-FX1,AUDJPY-FX1,EURCZK-FX1,USDILS-FX1,USDZAR-FX1,US10YY-TU1,FDS#190621C00145000-USA,FDS#190621P00145000-USA'
required: true
schema:
type: string
- name: req_id
in: query
description: Request Identification String. Can be used by the application to keep track of requests. The id is not used by this service, however, it is included in the XML response.
required: false
schema:
type: string
- name: start_date
in: query
description: This is the start date for the Snapshot History. Requests should be made in the format YYYYMMDD Default is current business day. Field can be sd or date. TRY IT OUT Cannot use current day.
schema:
type: string
- name: start_time
in: query
description: This is the start time for the snapshot history requested. Requests should be made in a **HHMMSSS** format.Range from 000000 - 235959. **TRY IT OUT** Cannot use current day
schema:
type: string
default: '040000'
- name: format
in: query
description: The format of the output file. TRY IT OUT Choose from JSON, CSV, CSV_NO_HEADER
schema:
type: string
default: XML
enum:
- XML
- JSON
- CSV
- CSV_NO_HEADER
- name: include_request
in: query
description: Flag to include request id and key in the CSV output.
schema:
type: string
default: 'false'
enum:
- 'true'
- T
- 'false'
- F
- name: dataset
in: query
description: Decides what type of trades to return, default is all trades and quotes, alternatively charting can be selected which will filter out unofficial trades.
schema:
type: string
enum:
- ''
- charting
responses:
'200':
description: OK x
content:
application/json:
schema:
$ref: '#/components/schemas/tickhistory_response'
example:
Request ID: ''
Requested Symbol: IBM-USA
Requested Fields: LAST_1,LAST_TIME_1,LAST_VOL_1
Request Key: 5C8926159C36F315
Error Code: 0
Error Description: ''
Field Names:
- LAST_1
- LAST_TIME_1
- LAST_VOL_1
Field IDs:
- 300
- 302
- 304
Key: IBM-USA:D
Values:
- - 139.59
- 105955785
- 326658
- - 138.1872
- 115957067
- 444631
- - 137.4711
- 125957913
- 477766
- - 137.7599
- 135956519
- 252993
- - 137.81
- 140059812
- 4595
application/xml:
schema:
$ref: '#/components/schemas/tickhistory_response'
example: