Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginResponse ¶
type RefinitivDate ¶
This is a special type to parse Refinitiv date formats eg. Date(1514764800000+0000) (should be 2018-01-01)
func (*RefinitivDate) UnmarshalJSON ¶
func (sd *RefinitivDate) UnmarshalJSON(input []byte) error
type StreamRequest ¶
type StreamRequest struct { StartDate string EndDate string Type IdentifierType Identifier string }
type StreamResponse ¶
type StreamResponse struct { DataResponse struct { AdditionalResponses []struct { Key string Value string } DataTypeNames string DataTypeValues []struct { DataType string SymbolValues []struct { Currency string Symbol string Type int Value []decimal.Decimal } } Dates []RefinitivDate SymbolNames string Tag string } Properties string }
func Stream ¶
func Stream(sr StreamRequest) StreamResponse
Stream fetches the data from refinitiv. Result is saved in the Stream Request
TODO: save the result in the original Request instead of creating a new one
Click to show internal directories.
Click to hide internal directories.