CandlestickFieldMap🔗
Definition🔗
type CandlestickFieldMap struct {
    // Corresponds to the starting value of the given period
    Open *string `json:"open,omitempty"`
    // Corresponds to the highest value of the given period
    High *string `json:"high,omitempty"`
    // Corresponds to the lowest value of the given period
    Low *string `json:"low,omitempty"`
    // Corresponds to the final (end) value of the given period
    Close *string `json:"close,omitempty"`
    // Corresponds to the sample count in the given period. (e.g. number of trades)
    Volume *string `json:"volume,omitempty"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode CandlestickFieldMap from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
Equals🔗
Equals tests the equality of two CandlestickFieldMap objects.
Validate🔗
Validate checks all the validation constraints that may be defined on CandlestickFieldMap fields for violations and returns them.