Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AddTickerOK
- type AddTickerParams
- type BarGroupCreate
- func (s *BarGroupCreate) Decode(d *jx.Decoder) error
- func (bg *BarGroupCreate) Elem() BarGroupCreate
- func (s *BarGroupCreate) Encode(e *jx.Encoder)
- func (s *BarGroupCreate) GetCount() int
- func (s *BarGroupCreate) GetFirst() time.Time
- func (s *BarGroupCreate) GetID() int
- func (s *BarGroupCreate) GetLast() time.Time
- func (s *BarGroupCreate) GetTimeRangeID() int
- func (s *BarGroupCreate) MarshalJSON() ([]byte, error)
- func (s *BarGroupCreate) SetCount(val int)
- func (s *BarGroupCreate) SetFirst(val time.Time)
- func (s *BarGroupCreate) SetID(val int)
- func (s *BarGroupCreate) SetLast(val time.Time)
- func (s *BarGroupCreate) SetTimeRangeID(val int)
- func (s *BarGroupCreate) UnmarshalJSON(data []byte) error
- type BarGroupList
- func (s *BarGroupList) Decode(d *jx.Decoder) error
- func (bg *BarGroupList) Elem() BarGroupList
- func (s *BarGroupList) Encode(e *jx.Encoder)
- func (s *BarGroupList) GetCount() int
- func (s *BarGroupList) GetFirst() time.Time
- func (s *BarGroupList) GetID() int
- func (s *BarGroupList) GetLast() time.Time
- func (s *BarGroupList) GetTimeRangeID() int
- func (s *BarGroupList) MarshalJSON() ([]byte, error)
- func (s *BarGroupList) SetCount(val int)
- func (s *BarGroupList) SetFirst(val time.Time)
- func (s *BarGroupList) SetID(val int)
- func (s *BarGroupList) SetLast(val time.Time)
- func (s *BarGroupList) SetTimeRangeID(val int)
- func (s *BarGroupList) UnmarshalJSON(data []byte) error
- type BarGroupRead
- func (s *BarGroupRead) Decode(d *jx.Decoder) error
- func (bg *BarGroupRead) Elem() BarGroupRead
- func (s *BarGroupRead) Encode(e *jx.Encoder)
- func (s *BarGroupRead) GetCount() int
- func (s *BarGroupRead) GetFirst() time.Time
- func (s *BarGroupRead) GetID() int
- func (s *BarGroupRead) GetLast() time.Time
- func (s *BarGroupRead) GetTimeRangeID() int
- func (s *BarGroupRead) MarshalJSON() ([]byte, error)
- func (s *BarGroupRead) SetCount(val int)
- func (s *BarGroupRead) SetFirst(val time.Time)
- func (s *BarGroupRead) SetID(val int)
- func (s *BarGroupRead) SetLast(val time.Time)
- func (s *BarGroupRead) SetTimeRangeID(val int)
- func (s *BarGroupRead) UnmarshalJSON(data []byte) error
- type BarGroupRecordsList
- func (s *BarGroupRecordsList) Decode(d *jx.Decoder) error
- func (br *BarGroupRecordsList) Elem() BarGroupRecordsList
- func (s *BarGroupRecordsList) Encode(e *jx.Encoder)
- func (s *BarGroupRecordsList) GetClose() float64
- func (s *BarGroupRecordsList) GetHigh() float64
- func (s *BarGroupRecordsList) GetID() int
- func (s *BarGroupRecordsList) GetLow() float64
- func (s *BarGroupRecordsList) GetOpen() float64
- func (s *BarGroupRecordsList) GetTimestamp() time.Time
- func (s *BarGroupRecordsList) GetTransactions() int32
- func (s *BarGroupRecordsList) GetVolume() float64
- func (s *BarGroupRecordsList) MarshalJSON() ([]byte, error)
- func (s *BarGroupRecordsList) SetClose(val float64)
- func (s *BarGroupRecordsList) SetHigh(val float64)
- func (s *BarGroupRecordsList) SetID(val int)
- func (s *BarGroupRecordsList) SetLow(val float64)
- func (s *BarGroupRecordsList) SetOpen(val float64)
- func (s *BarGroupRecordsList) SetTimestamp(val time.Time)
- func (s *BarGroupRecordsList) SetTransactions(val int32)
- func (s *BarGroupRecordsList) SetVolume(val float64)
- func (s *BarGroupRecordsList) UnmarshalJSON(data []byte) error
- func (s *BarGroupRecordsList) Validate() error
- type BarGroupTimeRangeRead
- func (s *BarGroupTimeRangeRead) Decode(d *jx.Decoder) error
- func (btr *BarGroupTimeRangeRead) Elem() BarGroupTimeRangeRead
- func (s *BarGroupTimeRangeRead) Encode(e *jx.Encoder)
- func (s *BarGroupTimeRangeRead) GetCount() int
- func (s *BarGroupTimeRangeRead) GetEnd() time.Time
- func (s *BarGroupTimeRangeRead) GetID() int
- func (s *BarGroupTimeRangeRead) GetIntervalID() int
- func (s *BarGroupTimeRangeRead) GetStart() time.Time
- func (s *BarGroupTimeRangeRead) GetStatus() BarGroupTimeRangeReadStatus
- func (s *BarGroupTimeRangeRead) GetUpdateTime() time.Time
- func (s *BarGroupTimeRangeRead) MarshalJSON() ([]byte, error)
- func (s *BarGroupTimeRangeRead) SetCount(val int)
- func (s *BarGroupTimeRangeRead) SetEnd(val time.Time)
- func (s *BarGroupTimeRangeRead) SetID(val int)
- func (s *BarGroupTimeRangeRead) SetIntervalID(val int)
- func (s *BarGroupTimeRangeRead) SetStart(val time.Time)
- func (s *BarGroupTimeRangeRead) SetStatus(val BarGroupTimeRangeReadStatus)
- func (s *BarGroupTimeRangeRead) SetUpdateTime(val time.Time)
- func (s *BarGroupTimeRangeRead) UnmarshalJSON(data []byte) error
- func (s *BarGroupTimeRangeRead) Validate() error
- type BarGroupTimeRangeReadStatus
- func (s *BarGroupTimeRangeReadStatus) Decode(d *jx.Decoder) error
- func (s BarGroupTimeRangeReadStatus) Encode(e *jx.Encoder)
- func (s BarGroupTimeRangeReadStatus) MarshalJSON() ([]byte, error)
- func (s BarGroupTimeRangeReadStatus) MarshalText() ([]byte, error)
- func (s *BarGroupTimeRangeReadStatus) UnmarshalJSON(data []byte) error
- func (s *BarGroupTimeRangeReadStatus) UnmarshalText(data []byte) error
- func (s BarGroupTimeRangeReadStatus) Validate() error
- type BarGroupUpdate
- func (s *BarGroupUpdate) Decode(d *jx.Decoder) error
- func (bg *BarGroupUpdate) Elem() BarGroupUpdate
- func (s *BarGroupUpdate) Encode(e *jx.Encoder)
- func (s *BarGroupUpdate) GetCount() int
- func (s *BarGroupUpdate) GetFirst() time.Time
- func (s *BarGroupUpdate) GetID() int
- func (s *BarGroupUpdate) GetLast() time.Time
- func (s *BarGroupUpdate) GetTimeRangeID() int
- func (s *BarGroupUpdate) MarshalJSON() ([]byte, error)
- func (s *BarGroupUpdate) SetCount(val int)
- func (s *BarGroupUpdate) SetFirst(val time.Time)
- func (s *BarGroupUpdate) SetID(val int)
- func (s *BarGroupUpdate) SetLast(val time.Time)
- func (s *BarGroupUpdate) SetTimeRangeID(val int)
- func (s *BarGroupUpdate) UnmarshalJSON(data []byte) error
- type BarRecordCreate
- func (s *BarRecordCreate) Decode(d *jx.Decoder) error
- func (br *BarRecordCreate) Elem() BarRecordCreate
- func (s *BarRecordCreate) Encode(e *jx.Encoder)
- func (s *BarRecordCreate) GetClose() float64
- func (s *BarRecordCreate) GetHigh() float64
- func (s *BarRecordCreate) GetID() int
- func (s *BarRecordCreate) GetLow() float64
- func (s *BarRecordCreate) GetOpen() float64
- func (s *BarRecordCreate) GetTimestamp() time.Time
- func (s *BarRecordCreate) GetTransactions() int32
- func (s *BarRecordCreate) GetVolume() float64
- func (s *BarRecordCreate) MarshalJSON() ([]byte, error)
- func (s *BarRecordCreate) SetClose(val float64)
- func (s *BarRecordCreate) SetHigh(val float64)
- func (s *BarRecordCreate) SetID(val int)
- func (s *BarRecordCreate) SetLow(val float64)
- func (s *BarRecordCreate) SetOpen(val float64)
- func (s *BarRecordCreate) SetTimestamp(val time.Time)
- func (s *BarRecordCreate) SetTransactions(val int32)
- func (s *BarRecordCreate) SetVolume(val float64)
- func (s *BarRecordCreate) UnmarshalJSON(data []byte) error
- func (s *BarRecordCreate) Validate() error
- type BarRecordGroupRead
- func (s *BarRecordGroupRead) Decode(d *jx.Decoder) error
- func (bg *BarRecordGroupRead) Elem() BarRecordGroupRead
- func (s *BarRecordGroupRead) Encode(e *jx.Encoder)
- func (s *BarRecordGroupRead) GetCount() int
- func (s *BarRecordGroupRead) GetFirst() time.Time
- func (s *BarRecordGroupRead) GetID() int
- func (s *BarRecordGroupRead) GetLast() time.Time
- func (s *BarRecordGroupRead) GetTimeRangeID() int
- func (s *BarRecordGroupRead) MarshalJSON() ([]byte, error)
- func (s *BarRecordGroupRead) SetCount(val int)
- func (s *BarRecordGroupRead) SetFirst(val time.Time)
- func (s *BarRecordGroupRead) SetID(val int)
- func (s *BarRecordGroupRead) SetLast(val time.Time)
- func (s *BarRecordGroupRead) SetTimeRangeID(val int)
- func (s *BarRecordGroupRead) UnmarshalJSON(data []byte) error
- type BarRecordList
- func (s *BarRecordList) Decode(d *jx.Decoder) error
- func (br *BarRecordList) Elem() BarRecordList
- func (s *BarRecordList) Encode(e *jx.Encoder)
- func (s *BarRecordList) GetClose() float64
- func (s *BarRecordList) GetHigh() float64
- func (s *BarRecordList) GetID() int
- func (s *BarRecordList) GetLow() float64
- func (s *BarRecordList) GetOpen() float64
- func (s *BarRecordList) GetTimestamp() time.Time
- func (s *BarRecordList) GetTransactions() int32
- func (s *BarRecordList) GetVolume() float64
- func (s *BarRecordList) MarshalJSON() ([]byte, error)
- func (s *BarRecordList) SetClose(val float64)
- func (s *BarRecordList) SetHigh(val float64)
- func (s *BarRecordList) SetID(val int)
- func (s *BarRecordList) SetLow(val float64)
- func (s *BarRecordList) SetOpen(val float64)
- func (s *BarRecordList) SetTimestamp(val time.Time)
- func (s *BarRecordList) SetTransactions(val int32)
- func (s *BarRecordList) SetVolume(val float64)
- func (s *BarRecordList) UnmarshalJSON(data []byte) error
- func (s *BarRecordList) Validate() error
- type BarRecordRead
- func (s *BarRecordRead) Decode(d *jx.Decoder) error
- func (br *BarRecordRead) Elem() BarRecordRead
- func (s *BarRecordRead) Encode(e *jx.Encoder)
- func (s *BarRecordRead) GetClose() float64
- func (s *BarRecordRead) GetHigh() float64
- func (s *BarRecordRead) GetID() int
- func (s *BarRecordRead) GetLow() float64
- func (s *BarRecordRead) GetOpen() float64
- func (s *BarRecordRead) GetTimestamp() time.Time
- func (s *BarRecordRead) GetTransactions() int32
- func (s *BarRecordRead) GetVolume() float64
- func (s *BarRecordRead) MarshalJSON() ([]byte, error)
- func (s *BarRecordRead) SetClose(val float64)
- func (s *BarRecordRead) SetHigh(val float64)
- func (s *BarRecordRead) SetID(val int)
- func (s *BarRecordRead) SetLow(val float64)
- func (s *BarRecordRead) SetOpen(val float64)
- func (s *BarRecordRead) SetTimestamp(val time.Time)
- func (s *BarRecordRead) SetTransactions(val int32)
- func (s *BarRecordRead) SetVolume(val float64)
- func (s *BarRecordRead) UnmarshalJSON(data []byte) error
- func (s *BarRecordRead) Validate() error
- type BarRecordUpdate
- func (s *BarRecordUpdate) Decode(d *jx.Decoder) error
- func (br *BarRecordUpdate) Elem() BarRecordUpdate
- func (s *BarRecordUpdate) Encode(e *jx.Encoder)
- func (s *BarRecordUpdate) GetClose() float64
- func (s *BarRecordUpdate) GetHigh() float64
- func (s *BarRecordUpdate) GetID() int
- func (s *BarRecordUpdate) GetLow() float64
- func (s *BarRecordUpdate) GetOpen() float64
- func (s *BarRecordUpdate) GetTimestamp() time.Time
- func (s *BarRecordUpdate) GetTransactions() int32
- func (s *BarRecordUpdate) GetVolume() float64
- func (s *BarRecordUpdate) MarshalJSON() ([]byte, error)
- func (s *BarRecordUpdate) SetClose(val float64)
- func (s *BarRecordUpdate) SetHigh(val float64)
- func (s *BarRecordUpdate) SetID(val int)
- func (s *BarRecordUpdate) SetLow(val float64)
- func (s *BarRecordUpdate) SetOpen(val float64)
- func (s *BarRecordUpdate) SetTimestamp(val time.Time)
- func (s *BarRecordUpdate) SetTransactions(val int32)
- func (s *BarRecordUpdate) SetVolume(val float64)
- func (s *BarRecordUpdate) UnmarshalJSON(data []byte) error
- func (s *BarRecordUpdate) Validate() error
- type BarTimeRangeCreate
- func (s *BarTimeRangeCreate) Decode(d *jx.Decoder) error
- func (btr *BarTimeRangeCreate) Elem() BarTimeRangeCreate
- func (s *BarTimeRangeCreate) Encode(e *jx.Encoder)
- func (s *BarTimeRangeCreate) GetCount() int
- func (s *BarTimeRangeCreate) GetEnd() time.Time
- func (s *BarTimeRangeCreate) GetID() int
- func (s *BarTimeRangeCreate) GetIntervalID() int
- func (s *BarTimeRangeCreate) GetStart() time.Time
- func (s *BarTimeRangeCreate) GetStatus() BarTimeRangeCreateStatus
- func (s *BarTimeRangeCreate) GetUpdateTime() time.Time
- func (s *BarTimeRangeCreate) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeCreate) SetCount(val int)
- func (s *BarTimeRangeCreate) SetEnd(val time.Time)
- func (s *BarTimeRangeCreate) SetID(val int)
- func (s *BarTimeRangeCreate) SetIntervalID(val int)
- func (s *BarTimeRangeCreate) SetStart(val time.Time)
- func (s *BarTimeRangeCreate) SetStatus(val BarTimeRangeCreateStatus)
- func (s *BarTimeRangeCreate) SetUpdateTime(val time.Time)
- func (s *BarTimeRangeCreate) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeCreate) Validate() error
- type BarTimeRangeCreateStatus
- func (s *BarTimeRangeCreateStatus) Decode(d *jx.Decoder) error
- func (s BarTimeRangeCreateStatus) Encode(e *jx.Encoder)
- func (s BarTimeRangeCreateStatus) MarshalJSON() ([]byte, error)
- func (s BarTimeRangeCreateStatus) MarshalText() ([]byte, error)
- func (s *BarTimeRangeCreateStatus) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeCreateStatus) UnmarshalText(data []byte) error
- func (s BarTimeRangeCreateStatus) Validate() error
- type BarTimeRangeGroupsList
- func (s *BarTimeRangeGroupsList) Decode(d *jx.Decoder) error
- func (bg *BarTimeRangeGroupsList) Elem() BarTimeRangeGroupsList
- func (s *BarTimeRangeGroupsList) Encode(e *jx.Encoder)
- func (s *BarTimeRangeGroupsList) GetCount() int
- func (s *BarTimeRangeGroupsList) GetFirst() time.Time
- func (s *BarTimeRangeGroupsList) GetID() int
- func (s *BarTimeRangeGroupsList) GetLast() time.Time
- func (s *BarTimeRangeGroupsList) GetTimeRangeID() int
- func (s *BarTimeRangeGroupsList) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeGroupsList) SetCount(val int)
- func (s *BarTimeRangeGroupsList) SetFirst(val time.Time)
- func (s *BarTimeRangeGroupsList) SetID(val int)
- func (s *BarTimeRangeGroupsList) SetLast(val time.Time)
- func (s *BarTimeRangeGroupsList) SetTimeRangeID(val int)
- func (s *BarTimeRangeGroupsList) UnmarshalJSON(data []byte) error
- type BarTimeRangeIntervalRead
- func (s *BarTimeRangeIntervalRead) Decode(d *jx.Decoder) error
- func (i *BarTimeRangeIntervalRead) Elem() BarTimeRangeIntervalRead
- func (s *BarTimeRangeIntervalRead) Encode(e *jx.Encoder)
- func (s *BarTimeRangeIntervalRead) GetActive() bool
- func (s *BarTimeRangeIntervalRead) GetDataSourceID() int
- func (s *BarTimeRangeIntervalRead) GetID() int
- func (s *BarTimeRangeIntervalRead) GetInterval() BarTimeRangeIntervalReadInterval
- func (s *BarTimeRangeIntervalRead) GetStockID() int
- func (s *BarTimeRangeIntervalRead) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeIntervalRead) SetActive(val bool)
- func (s *BarTimeRangeIntervalRead) SetDataSourceID(val int)
- func (s *BarTimeRangeIntervalRead) SetID(val int)
- func (s *BarTimeRangeIntervalRead) SetInterval(val BarTimeRangeIntervalReadInterval)
- func (s *BarTimeRangeIntervalRead) SetStockID(val int)
- func (s *BarTimeRangeIntervalRead) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeIntervalRead) Validate() error
- type BarTimeRangeIntervalReadInterval
- func (s *BarTimeRangeIntervalReadInterval) Decode(d *jx.Decoder) error
- func (s BarTimeRangeIntervalReadInterval) Encode(e *jx.Encoder)
- func (s BarTimeRangeIntervalReadInterval) MarshalJSON() ([]byte, error)
- func (s BarTimeRangeIntervalReadInterval) MarshalText() ([]byte, error)
- func (s *BarTimeRangeIntervalReadInterval) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeIntervalReadInterval) UnmarshalText(data []byte) error
- func (s BarTimeRangeIntervalReadInterval) Validate() error
- type BarTimeRangeList
- func (s *BarTimeRangeList) Decode(d *jx.Decoder) error
- func (btr *BarTimeRangeList) Elem() BarTimeRangeList
- func (s *BarTimeRangeList) Encode(e *jx.Encoder)
- func (s *BarTimeRangeList) GetCount() int
- func (s *BarTimeRangeList) GetEnd() time.Time
- func (s *BarTimeRangeList) GetID() int
- func (s *BarTimeRangeList) GetIntervalID() int
- func (s *BarTimeRangeList) GetStart() time.Time
- func (s *BarTimeRangeList) GetStatus() BarTimeRangeListStatus
- func (s *BarTimeRangeList) GetUpdateTime() time.Time
- func (s *BarTimeRangeList) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeList) SetCount(val int)
- func (s *BarTimeRangeList) SetEnd(val time.Time)
- func (s *BarTimeRangeList) SetID(val int)
- func (s *BarTimeRangeList) SetIntervalID(val int)
- func (s *BarTimeRangeList) SetStart(val time.Time)
- func (s *BarTimeRangeList) SetStatus(val BarTimeRangeListStatus)
- func (s *BarTimeRangeList) SetUpdateTime(val time.Time)
- func (s *BarTimeRangeList) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeList) Validate() error
- type BarTimeRangeListStatus
- func (s *BarTimeRangeListStatus) Decode(d *jx.Decoder) error
- func (s BarTimeRangeListStatus) Encode(e *jx.Encoder)
- func (s BarTimeRangeListStatus) MarshalJSON() ([]byte, error)
- func (s BarTimeRangeListStatus) MarshalText() ([]byte, error)
- func (s *BarTimeRangeListStatus) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeListStatus) UnmarshalText(data []byte) error
- func (s BarTimeRangeListStatus) Validate() error
- type BarTimeRangeRead
- func (s *BarTimeRangeRead) Decode(d *jx.Decoder) error
- func (btr *BarTimeRangeRead) Elem() BarTimeRangeRead
- func (s *BarTimeRangeRead) Encode(e *jx.Encoder)
- func (s *BarTimeRangeRead) GetCount() int
- func (s *BarTimeRangeRead) GetEnd() time.Time
- func (s *BarTimeRangeRead) GetID() int
- func (s *BarTimeRangeRead) GetIntervalID() int
- func (s *BarTimeRangeRead) GetStart() time.Time
- func (s *BarTimeRangeRead) GetStatus() BarTimeRangeReadStatus
- func (s *BarTimeRangeRead) GetUpdateTime() time.Time
- func (s *BarTimeRangeRead) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeRead) SetCount(val int)
- func (s *BarTimeRangeRead) SetEnd(val time.Time)
- func (s *BarTimeRangeRead) SetID(val int)
- func (s *BarTimeRangeRead) SetIntervalID(val int)
- func (s *BarTimeRangeRead) SetStart(val time.Time)
- func (s *BarTimeRangeRead) SetStatus(val BarTimeRangeReadStatus)
- func (s *BarTimeRangeRead) SetUpdateTime(val time.Time)
- func (s *BarTimeRangeRead) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeRead) Validate() error
- type BarTimeRangeReadStatus
- func (s *BarTimeRangeReadStatus) Decode(d *jx.Decoder) error
- func (s BarTimeRangeReadStatus) Encode(e *jx.Encoder)
- func (s BarTimeRangeReadStatus) MarshalJSON() ([]byte, error)
- func (s BarTimeRangeReadStatus) MarshalText() ([]byte, error)
- func (s *BarTimeRangeReadStatus) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeReadStatus) UnmarshalText(data []byte) error
- func (s BarTimeRangeReadStatus) Validate() error
- type BarTimeRangeUpdate
- func (s *BarTimeRangeUpdate) Decode(d *jx.Decoder) error
- func (btr *BarTimeRangeUpdate) Elem() BarTimeRangeUpdate
- func (s *BarTimeRangeUpdate) Encode(e *jx.Encoder)
- func (s *BarTimeRangeUpdate) GetCount() int
- func (s *BarTimeRangeUpdate) GetEnd() time.Time
- func (s *BarTimeRangeUpdate) GetID() int
- func (s *BarTimeRangeUpdate) GetIntervalID() int
- func (s *BarTimeRangeUpdate) GetStart() time.Time
- func (s *BarTimeRangeUpdate) GetStatus() BarTimeRangeUpdateStatus
- func (s *BarTimeRangeUpdate) GetUpdateTime() time.Time
- func (s *BarTimeRangeUpdate) MarshalJSON() ([]byte, error)
- func (s *BarTimeRangeUpdate) SetCount(val int)
- func (s *BarTimeRangeUpdate) SetEnd(val time.Time)
- func (s *BarTimeRangeUpdate) SetID(val int)
- func (s *BarTimeRangeUpdate) SetIntervalID(val int)
- func (s *BarTimeRangeUpdate) SetStart(val time.Time)
- func (s *BarTimeRangeUpdate) SetStatus(val BarTimeRangeUpdateStatus)
- func (s *BarTimeRangeUpdate) SetUpdateTime(val time.Time)
- func (s *BarTimeRangeUpdate) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeUpdate) Validate() error
- type BarTimeRangeUpdateStatus
- func (s *BarTimeRangeUpdateStatus) Decode(d *jx.Decoder) error
- func (s BarTimeRangeUpdateStatus) Encode(e *jx.Encoder)
- func (s BarTimeRangeUpdateStatus) MarshalJSON() ([]byte, error)
- func (s BarTimeRangeUpdateStatus) MarshalText() ([]byte, error)
- func (s *BarTimeRangeUpdateStatus) UnmarshalJSON(data []byte) error
- func (s *BarTimeRangeUpdateStatus) UnmarshalText(data []byte) error
- func (s BarTimeRangeUpdateStatus) Validate() error
- type Client
- func (c *Client) AddTicker(ctx context.Context, params AddTickerParams) error
- func (c *Client) CreateBarGroup(ctx context.Context, request *CreateBarGroupReq) (CreateBarGroupRes, error)
- func (c *Client) CreateBarRecord(ctx context.Context, request *CreateBarRecordReq) (CreateBarRecordRes, error)
- func (c *Client) CreateBarTimeRange(ctx context.Context, request *CreateBarTimeRangeReq) (CreateBarTimeRangeRes, error)
- func (c *Client) CreateDataSource(ctx context.Context, request *CreateDataSourceReq) (CreateDataSourceRes, error)
- func (c *Client) CreateDividend(ctx context.Context, request *CreateDividendReq) (CreateDividendRes, error)
- func (c *Client) CreateEntity(ctx context.Context, request *CreateEntityReq) (CreateEntityRes, error)
- func (c *Client) CreateExchange(ctx context.Context, request *CreateExchangeReq) (CreateExchangeRes, error)
- func (c *Client) CreateFinancial(ctx context.Context, request *CreateFinancialReq) (CreateFinancialRes, error)
- func (c *Client) CreateInterval(ctx context.Context, request *CreateIntervalReq) (CreateIntervalRes, error)
- func (c *Client) CreateMarketHours(ctx context.Context, request *CreateMarketHoursReq) (CreateMarketHoursRes, error)
- func (c *Client) CreateMarketInfo(ctx context.Context, request *CreateMarketInfoReq) (CreateMarketInfoRes, error)
- func (c *Client) CreateSplit(ctx context.Context, request *CreateSplitReq) (CreateSplitRes, error)
- func (c *Client) CreateTradeCondition(ctx context.Context, request *CreateTradeConditionReq) (CreateTradeConditionRes, error)
- func (c *Client) CreateTradeCorrection(ctx context.Context, request *CreateTradeCorrectionReq) (CreateTradeCorrectionRes, error)
- func (c *Client) CreateTradeRecord(ctx context.Context, request *CreateTradeRecordReq) (CreateTradeRecordRes, error)
- func (c *Client) CreateTradeTimeRange(ctx context.Context, request *CreateTradeTimeRangeReq) (CreateTradeTimeRangeRes, error)
- func (c *Client) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (DeleteBarGroupRes, error)
- func (c *Client) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (DeleteBarRecordRes, error)
- func (c *Client) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (DeleteBarTimeRangeRes, error)
- func (c *Client) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (DeleteDataSourceRes, error)
- func (c *Client) DeleteDividend(ctx context.Context, params DeleteDividendParams) (DeleteDividendRes, error)
- func (c *Client) DeleteEntity(ctx context.Context, params DeleteEntityParams) (DeleteEntityRes, error)
- func (c *Client) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (DeleteExchangeRes, error)
- func (c *Client) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (DeleteFinancialRes, error)
- func (c *Client) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (DeleteIntervalRes, error)
- func (c *Client) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (DeleteMarketHoursRes, error)
- func (c *Client) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (DeleteMarketInfoRes, error)
- func (c *Client) DeleteSplit(ctx context.Context, params DeleteSplitParams) (DeleteSplitRes, error)
- func (c *Client) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (DeleteTradeConditionRes, error)
- func (c *Client) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (DeleteTradeCorrectionRes, error)
- func (c *Client) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (DeleteTradeRecordRes, error)
- func (c *Client) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (DeleteTradeTimeRangeRes, error)
- func (c *Client) ListBarGroup(ctx context.Context, params ListBarGroupParams) (ListBarGroupRes, error)
- func (c *Client) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (ListBarGroupRecordsRes, error)
- func (c *Client) ListBarRecord(ctx context.Context, params ListBarRecordParams) (ListBarRecordRes, error)
- func (c *Client) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (ListBarTimeRangeRes, error)
- func (c *Client) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (ListBarTimeRangeGroupsRes, error)
- func (c *Client) ListDataSource(ctx context.Context, params ListDataSourceParams) (ListDataSourceRes, error)
- func (c *Client) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (ListDataSourceIntervalsRes, error)
- func (c *Client) ListDividend(ctx context.Context, params ListDividendParams) (ListDividendRes, error)
- func (c *Client) ListDividendStock(ctx context.Context, params ListDividendStockParams) (ListDividendStockRes, error)
- func (c *Client) ListEntity(ctx context.Context, params ListEntityParams) (ListEntityRes, error)
- func (c *Client) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (ListEntityDividendsRes, error)
- func (c *Client) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (ListEntityExchangesRes, error)
- func (c *Client) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (ListEntityFinancialsRes, error)
- func (c *Client) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (ListEntityIntervalsRes, error)
- func (c *Client) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (ListEntitySplitsRes, error)
- func (c *Client) ListExchange(ctx context.Context, params ListExchangeParams) (ListExchangeRes, error)
- func (c *Client) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (ListExchangeStocksRes, error)
- func (c *Client) ListFinancial(ctx context.Context, params ListFinancialParams) (ListFinancialRes, error)
- func (c *Client) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (ListFinancialStockRes, error)
- func (c *Client) ListInterval(ctx context.Context, params ListIntervalParams) (ListIntervalRes, error)
- func (c *Client) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (ListIntervalBarsRes, error)
- func (c *Client) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (ListIntervalTradesRes, error)
- func (c *Client) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (ListMarketHoursRes, error)
- func (c *Client) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (ListMarketInfoRes, error)
- func (c *Client) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (ListMarketInfoHoursRes, error)
- func (c *Client) ListSplit(ctx context.Context, params ListSplitParams) (ListSplitRes, error)
- func (c *Client) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (ListTradeConditionRes, error)
- func (c *Client) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (ListTradeConditionRecordRes, error)
- func (c *Client) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (ListTradeCorrectionRes, error)
- func (c *Client) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (ListTradeCorrectionRecordRes, error)
- func (c *Client) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (ListTradeRecordRes, error)
- func (c *Client) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (ListTradeRecordConditionsRes, error)
- func (c *Client) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (ListTradeRecordCorrectionRes, error)
- func (c *Client) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (ListTradeRecordExchangeRes, error)
- func (c *Client) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (ListTradeTimeRangeRes, error)
- func (c *Client) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (ListTradeTimeRangeRecordsRes, error)
- func (c *Client) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (ReadBarGroupRes, error)
- func (c *Client) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (ReadBarGroupTimeRangeRes, error)
- func (c *Client) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (ReadBarRecordRes, error)
- func (c *Client) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (ReadBarRecordGroupRes, error)
- func (c *Client) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (ReadBarTimeRangeRes, error)
- func (c *Client) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (ReadBarTimeRangeIntervalRes, error)
- func (c *Client) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (ReadDataSourceRes, error)
- func (c *Client) ReadDividend(ctx context.Context, params ReadDividendParams) (ReadDividendRes, error)
- func (c *Client) ReadEntity(ctx context.Context, params ReadEntityParams) (ReadEntityRes, error)
- func (c *Client) ReadExchange(ctx context.Context, params ReadExchangeParams) (ReadExchangeRes, error)
- func (c *Client) ReadFinancial(ctx context.Context, params ReadFinancialParams) (ReadFinancialRes, error)
- func (c *Client) ReadInterval(ctx context.Context, params ReadIntervalParams) (ReadIntervalRes, error)
- func (c *Client) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (ReadIntervalDataSourceRes, error)
- func (c *Client) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (ReadIntervalStockRes, error)
- func (c *Client) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (ReadMarketHoursRes, error)
- func (c *Client) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (ReadMarketHoursMarketInfoRes, error)
- func (c *Client) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (ReadMarketInfoRes, error)
- func (c *Client) ReadSplit(ctx context.Context, params ReadSplitParams) (ReadSplitRes, error)
- func (c *Client) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (ReadSplitStockRes, error)
- func (c *Client) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (ReadTradeConditionRes, error)
- func (c *Client) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (ReadTradeCorrectionRes, error)
- func (c *Client) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (ReadTradeRecordRes, error)
- func (c *Client) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (ReadTradeRecordTimeRangeRes, error)
- func (c *Client) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (ReadTradeTimeRangeRes, error)
- func (c *Client) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (ReadTradeTimeRangeIntervalRes, error)
- func (c *Client) SearchTicker(ctx context.Context, params SearchTickerParams) (*SearchTickerOK, error)
- func (c *Client) UpdateBarGroup(ctx context.Context, request *UpdateBarGroupReq, params UpdateBarGroupParams) (UpdateBarGroupRes, error)
- func (c *Client) UpdateBarRecord(ctx context.Context, request *UpdateBarRecordReq, params UpdateBarRecordParams) (UpdateBarRecordRes, error)
- func (c *Client) UpdateBarTimeRange(ctx context.Context, request *UpdateBarTimeRangeReq, ...) (UpdateBarTimeRangeRes, error)
- func (c *Client) UpdateDataSource(ctx context.Context, request *UpdateDataSourceReq, ...) (UpdateDataSourceRes, error)
- func (c *Client) UpdateDividend(ctx context.Context, request *UpdateDividendReq, params UpdateDividendParams) (UpdateDividendRes, error)
- func (c *Client) UpdateEntity(ctx context.Context, request *UpdateEntityReq, params UpdateEntityParams) (UpdateEntityRes, error)
- func (c *Client) UpdateExchange(ctx context.Context, request *UpdateExchangeReq, params UpdateExchangeParams) (UpdateExchangeRes, error)
- func (c *Client) UpdateFinancial(ctx context.Context, request *UpdateFinancialReq, params UpdateFinancialParams) (UpdateFinancialRes, error)
- func (c *Client) UpdateInterval(ctx context.Context, request *UpdateIntervalReq, params UpdateIntervalParams) (UpdateIntervalRes, error)
- func (c *Client) UpdateMarketHours(ctx context.Context, request *UpdateMarketHoursReq, ...) (UpdateMarketHoursRes, error)
- func (c *Client) UpdateMarketInfo(ctx context.Context, request *UpdateMarketInfoReq, ...) (UpdateMarketInfoRes, error)
- func (c *Client) UpdateSplit(ctx context.Context, request *UpdateSplitReq, params UpdateSplitParams) (UpdateSplitRes, error)
- func (c *Client) UpdateTradeCondition(ctx context.Context, request *UpdateTradeConditionReq, ...) (UpdateTradeConditionRes, error)
- func (c *Client) UpdateTradeCorrection(ctx context.Context, request *UpdateTradeCorrectionReq, ...) (UpdateTradeCorrectionRes, error)
- func (c *Client) UpdateTradeRecord(ctx context.Context, request *UpdateTradeRecordReq, ...) (UpdateTradeRecordRes, error)
- func (c *Client) UpdateTradeTimeRange(ctx context.Context, request *UpdateTradeTimeRangeReq, ...) (UpdateTradeTimeRangeRes, error)
- type ClientOption
- type CreateBarGroupReq
- func (s *CreateBarGroupReq) Decode(d *jx.Decoder) error
- func (s *CreateBarGroupReq) Encode(e *jx.Encoder)
- func (s *CreateBarGroupReq) GetCount() int
- func (s *CreateBarGroupReq) GetFirst() time.Time
- func (s *CreateBarGroupReq) GetLast() time.Time
- func (s *CreateBarGroupReq) GetRecords() []int
- func (s *CreateBarGroupReq) GetTimeRange() int
- func (s *CreateBarGroupReq) GetTimeRangeID() int
- func (s *CreateBarGroupReq) MarshalJSON() ([]byte, error)
- func (s *CreateBarGroupReq) SetCount(val int)
- func (s *CreateBarGroupReq) SetFirst(val time.Time)
- func (s *CreateBarGroupReq) SetLast(val time.Time)
- func (s *CreateBarGroupReq) SetRecords(val []int)
- func (s *CreateBarGroupReq) SetTimeRange(val int)
- func (s *CreateBarGroupReq) SetTimeRangeID(val int)
- func (s *CreateBarGroupReq) UnmarshalJSON(data []byte) error
- type CreateBarGroupRes
- type CreateBarRecordReq
- func (s *CreateBarRecordReq) Decode(d *jx.Decoder) error
- func (s *CreateBarRecordReq) Encode(e *jx.Encoder)
- func (s *CreateBarRecordReq) GetClose() float64
- func (s *CreateBarRecordReq) GetGroup() OptInt
- func (s *CreateBarRecordReq) GetHigh() float64
- func (s *CreateBarRecordReq) GetLow() float64
- func (s *CreateBarRecordReq) GetOpen() float64
- func (s *CreateBarRecordReq) GetTimestamp() time.Time
- func (s *CreateBarRecordReq) GetTransactions() int32
- func (s *CreateBarRecordReq) GetVolume() float64
- func (s *CreateBarRecordReq) MarshalJSON() ([]byte, error)
- func (s *CreateBarRecordReq) SetClose(val float64)
- func (s *CreateBarRecordReq) SetGroup(val OptInt)
- func (s *CreateBarRecordReq) SetHigh(val float64)
- func (s *CreateBarRecordReq) SetLow(val float64)
- func (s *CreateBarRecordReq) SetOpen(val float64)
- func (s *CreateBarRecordReq) SetTimestamp(val time.Time)
- func (s *CreateBarRecordReq) SetTransactions(val int32)
- func (s *CreateBarRecordReq) SetVolume(val float64)
- func (s *CreateBarRecordReq) UnmarshalJSON(data []byte) error
- func (s *CreateBarRecordReq) Validate() error
- type CreateBarRecordRes
- type CreateBarTimeRangeReq
- func (s *CreateBarTimeRangeReq) Decode(d *jx.Decoder) error
- func (s *CreateBarTimeRangeReq) Encode(e *jx.Encoder)
- func (s *CreateBarTimeRangeReq) GetCount() int
- func (s *CreateBarTimeRangeReq) GetEnd() time.Time
- func (s *CreateBarTimeRangeReq) GetGroups() []int
- func (s *CreateBarTimeRangeReq) GetInterval() int
- func (s *CreateBarTimeRangeReq) GetIntervalID() int
- func (s *CreateBarTimeRangeReq) GetStart() time.Time
- func (s *CreateBarTimeRangeReq) GetStatus() CreateBarTimeRangeReqStatus
- func (s *CreateBarTimeRangeReq) GetUpdateTime() time.Time
- func (s *CreateBarTimeRangeReq) MarshalJSON() ([]byte, error)
- func (s *CreateBarTimeRangeReq) SetCount(val int)
- func (s *CreateBarTimeRangeReq) SetEnd(val time.Time)
- func (s *CreateBarTimeRangeReq) SetGroups(val []int)
- func (s *CreateBarTimeRangeReq) SetInterval(val int)
- func (s *CreateBarTimeRangeReq) SetIntervalID(val int)
- func (s *CreateBarTimeRangeReq) SetStart(val time.Time)
- func (s *CreateBarTimeRangeReq) SetStatus(val CreateBarTimeRangeReqStatus)
- func (s *CreateBarTimeRangeReq) SetUpdateTime(val time.Time)
- func (s *CreateBarTimeRangeReq) UnmarshalJSON(data []byte) error
- func (s *CreateBarTimeRangeReq) Validate() error
- type CreateBarTimeRangeReqStatus
- func (s *CreateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
- func (s CreateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
- func (s CreateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
- func (s CreateBarTimeRangeReqStatus) MarshalText() ([]byte, error)
- func (s *CreateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
- func (s *CreateBarTimeRangeReqStatus) UnmarshalText(data []byte) error
- func (s CreateBarTimeRangeReqStatus) Validate() error
- type CreateBarTimeRangeRes
- type CreateDataSourceReq
- func (s *CreateDataSourceReq) Decode(d *jx.Decoder) error
- func (s *CreateDataSourceReq) Encode(e *jx.Encoder)
- func (s *CreateDataSourceReq) GetAddress() string
- func (s *CreateDataSourceReq) GetIntervals() []int
- func (s *CreateDataSourceReq) GetName() string
- func (s *CreateDataSourceReq) MarshalJSON() ([]byte, error)
- func (s *CreateDataSourceReq) SetAddress(val string)
- func (s *CreateDataSourceReq) SetIntervals(val []int)
- func (s *CreateDataSourceReq) SetName(val string)
- func (s *CreateDataSourceReq) UnmarshalJSON(data []byte) error
- type CreateDataSourceRes
- type CreateDividendReq
- func (s *CreateDividendReq) Decode(d *jx.Decoder) error
- func (s *CreateDividendReq) Encode(e *jx.Encoder)
- func (s *CreateDividendReq) GetCashAmount() float64
- func (s *CreateDividendReq) GetDeclarationDate() time.Time
- func (s *CreateDividendReq) GetDividendType() CreateDividendReqDividendType
- func (s *CreateDividendReq) GetExDividendDate() time.Time
- func (s *CreateDividendReq) GetFrequency() int
- func (s *CreateDividendReq) GetPayDate() time.Time
- func (s *CreateDividendReq) GetRecordDate() time.Time
- func (s *CreateDividendReq) GetStock() []int
- func (s *CreateDividendReq) MarshalJSON() ([]byte, error)
- func (s *CreateDividendReq) SetCashAmount(val float64)
- func (s *CreateDividendReq) SetDeclarationDate(val time.Time)
- func (s *CreateDividendReq) SetDividendType(val CreateDividendReqDividendType)
- func (s *CreateDividendReq) SetExDividendDate(val time.Time)
- func (s *CreateDividendReq) SetFrequency(val int)
- func (s *CreateDividendReq) SetPayDate(val time.Time)
- func (s *CreateDividendReq) SetRecordDate(val time.Time)
- func (s *CreateDividendReq) SetStock(val []int)
- func (s *CreateDividendReq) UnmarshalJSON(data []byte) error
- func (s *CreateDividendReq) Validate() error
- type CreateDividendReqDividendType
- func (s *CreateDividendReqDividendType) Decode(d *jx.Decoder) error
- func (s CreateDividendReqDividendType) Encode(e *jx.Encoder)
- func (s CreateDividendReqDividendType) MarshalJSON() ([]byte, error)
- func (s CreateDividendReqDividendType) MarshalText() ([]byte, error)
- func (s *CreateDividendReqDividendType) UnmarshalJSON(data []byte) error
- func (s *CreateDividendReqDividendType) UnmarshalText(data []byte) error
- func (s CreateDividendReqDividendType) Validate() error
- type CreateDividendRes
- type CreateEntityReq
- func (s *CreateEntityReq) Decode(d *jx.Decoder) error
- func (s *CreateEntityReq) Encode(e *jx.Encoder)
- func (s *CreateEntityReq) GetActive() bool
- func (s *CreateEntityReq) GetDelisted() OptDateTime
- func (s *CreateEntityReq) GetDescription() string
- func (s *CreateEntityReq) GetDividends() []int
- func (s *CreateEntityReq) GetExchanges() []int
- func (s *CreateEntityReq) GetFinancials() []int
- func (s *CreateEntityReq) GetIntervals() []int
- func (s *CreateEntityReq) GetListDate() time.Time
- func (s *CreateEntityReq) GetName() string
- func (s *CreateEntityReq) GetSplits() []int
- func (s *CreateEntityReq) GetTicker() string
- func (s *CreateEntityReq) MarshalJSON() ([]byte, error)
- func (s *CreateEntityReq) SetActive(val bool)
- func (s *CreateEntityReq) SetDelisted(val OptDateTime)
- func (s *CreateEntityReq) SetDescription(val string)
- func (s *CreateEntityReq) SetDividends(val []int)
- func (s *CreateEntityReq) SetExchanges(val []int)
- func (s *CreateEntityReq) SetFinancials(val []int)
- func (s *CreateEntityReq) SetIntervals(val []int)
- func (s *CreateEntityReq) SetListDate(val time.Time)
- func (s *CreateEntityReq) SetName(val string)
- func (s *CreateEntityReq) SetSplits(val []int)
- func (s *CreateEntityReq) SetTicker(val string)
- func (s *CreateEntityReq) UnmarshalJSON(data []byte) error
- type CreateEntityRes
- type CreateExchangeReq
- func (s *CreateExchangeReq) Decode(d *jx.Decoder) error
- func (s *CreateExchangeReq) Encode(e *jx.Encoder)
- func (s *CreateExchangeReq) GetCode() string
- func (s *CreateExchangeReq) GetName() string
- func (s *CreateExchangeReq) GetStocks() []int
- func (s *CreateExchangeReq) MarshalJSON() ([]byte, error)
- func (s *CreateExchangeReq) SetCode(val string)
- func (s *CreateExchangeReq) SetName(val string)
- func (s *CreateExchangeReq) SetStocks(val []int)
- func (s *CreateExchangeReq) UnmarshalJSON(data []byte) error
- type CreateExchangeRes
- type CreateFinancialReq
- func (s *CreateFinancialReq) Decode(d *jx.Decoder) error
- func (s *CreateFinancialReq) Encode(e *jx.Encoder)
- func (s *CreateFinancialReq) GetStock() []int
- func (s *CreateFinancialReq) MarshalJSON() ([]byte, error)
- func (s *CreateFinancialReq) SetStock(val []int)
- func (s *CreateFinancialReq) UnmarshalJSON(data []byte) error
- type CreateFinancialRes
- type CreateIntervalReq
- func (s *CreateIntervalReq) Decode(d *jx.Decoder) error
- func (s *CreateIntervalReq) Encode(e *jx.Encoder)
- func (s *CreateIntervalReq) GetActive() bool
- func (s *CreateIntervalReq) GetBars() []int
- func (s *CreateIntervalReq) GetDataSource() int
- func (s *CreateIntervalReq) GetDataSourceID() int
- func (s *CreateIntervalReq) GetInterval() CreateIntervalReqInterval
- func (s *CreateIntervalReq) GetStock() int
- func (s *CreateIntervalReq) GetStockID() int
- func (s *CreateIntervalReq) GetTrades() []int
- func (s *CreateIntervalReq) MarshalJSON() ([]byte, error)
- func (s *CreateIntervalReq) SetActive(val bool)
- func (s *CreateIntervalReq) SetBars(val []int)
- func (s *CreateIntervalReq) SetDataSource(val int)
- func (s *CreateIntervalReq) SetDataSourceID(val int)
- func (s *CreateIntervalReq) SetInterval(val CreateIntervalReqInterval)
- func (s *CreateIntervalReq) SetStock(val int)
- func (s *CreateIntervalReq) SetStockID(val int)
- func (s *CreateIntervalReq) SetTrades(val []int)
- func (s *CreateIntervalReq) UnmarshalJSON(data []byte) error
- func (s *CreateIntervalReq) Validate() error
- type CreateIntervalReqInterval
- func (s *CreateIntervalReqInterval) Decode(d *jx.Decoder) error
- func (s CreateIntervalReqInterval) Encode(e *jx.Encoder)
- func (s CreateIntervalReqInterval) MarshalJSON() ([]byte, error)
- func (s CreateIntervalReqInterval) MarshalText() ([]byte, error)
- func (s *CreateIntervalReqInterval) UnmarshalJSON(data []byte) error
- func (s *CreateIntervalReqInterval) UnmarshalText(data []byte) error
- func (s CreateIntervalReqInterval) Validate() error
- type CreateIntervalRes
- type CreateMarketHoursReq
- func (s *CreateMarketHoursReq) Decode(d *jx.Decoder) error
- func (s *CreateMarketHoursReq) Encode(e *jx.Encoder)
- func (s *CreateMarketHoursReq) GetDate() time.Time
- func (s *CreateMarketHoursReq) GetEndTime() time.Time
- func (s *CreateMarketHoursReq) GetMarketInfo() OptInt
- func (s *CreateMarketHoursReq) GetStartTime() time.Time
- func (s *CreateMarketHoursReq) MarshalJSON() ([]byte, error)
- func (s *CreateMarketHoursReq) SetDate(val time.Time)
- func (s *CreateMarketHoursReq) SetEndTime(val time.Time)
- func (s *CreateMarketHoursReq) SetMarketInfo(val OptInt)
- func (s *CreateMarketHoursReq) SetStartTime(val time.Time)
- func (s *CreateMarketHoursReq) UnmarshalJSON(data []byte) error
- type CreateMarketHoursRes
- type CreateMarketInfoReq
- func (s *CreateMarketInfoReq) Decode(d *jx.Decoder) error
- func (s *CreateMarketInfoReq) Encode(e *jx.Encoder)
- func (s *CreateMarketInfoReq) GetHours() []int
- func (s *CreateMarketInfoReq) GetHoursEnd() time.Time
- func (s *CreateMarketInfoReq) GetHoursStart() time.Time
- func (s *CreateMarketInfoReq) MarshalJSON() ([]byte, error)
- func (s *CreateMarketInfoReq) SetHours(val []int)
- func (s *CreateMarketInfoReq) SetHoursEnd(val time.Time)
- func (s *CreateMarketInfoReq) SetHoursStart(val time.Time)
- func (s *CreateMarketInfoReq) UnmarshalJSON(data []byte) error
- type CreateMarketInfoRes
- type CreateSplitReq
- func (s *CreateSplitReq) Decode(d *jx.Decoder) error
- func (s *CreateSplitReq) Encode(e *jx.Encoder)
- func (s *CreateSplitReq) GetExecutionDate() time.Time
- func (s *CreateSplitReq) GetFrom() float64
- func (s *CreateSplitReq) GetStock() OptInt
- func (s *CreateSplitReq) GetTo() float64
- func (s *CreateSplitReq) MarshalJSON() ([]byte, error)
- func (s *CreateSplitReq) SetExecutionDate(val time.Time)
- func (s *CreateSplitReq) SetFrom(val float64)
- func (s *CreateSplitReq) SetStock(val OptInt)
- func (s *CreateSplitReq) SetTo(val float64)
- func (s *CreateSplitReq) UnmarshalJSON(data []byte) error
- func (s *CreateSplitReq) Validate() error
- type CreateSplitRes
- type CreateTradeConditionReq
- func (s *CreateTradeConditionReq) Decode(d *jx.Decoder) error
- func (s *CreateTradeConditionReq) Encode(e *jx.Encoder)
- func (s *CreateTradeConditionReq) GetCondition() string
- func (s *CreateTradeConditionReq) GetRecord() []int
- func (s *CreateTradeConditionReq) MarshalJSON() ([]byte, error)
- func (s *CreateTradeConditionReq) SetCondition(val string)
- func (s *CreateTradeConditionReq) SetRecord(val []int)
- func (s *CreateTradeConditionReq) UnmarshalJSON(data []byte) error
- type CreateTradeConditionRes
- type CreateTradeCorrectionReq
- func (s *CreateTradeCorrectionReq) Decode(d *jx.Decoder) error
- func (s *CreateTradeCorrectionReq) Encode(e *jx.Encoder)
- func (s *CreateTradeCorrectionReq) GetCorrection() string
- func (s *CreateTradeCorrectionReq) GetRecord() []int
- func (s *CreateTradeCorrectionReq) MarshalJSON() ([]byte, error)
- func (s *CreateTradeCorrectionReq) SetCorrection(val string)
- func (s *CreateTradeCorrectionReq) SetRecord(val []int)
- func (s *CreateTradeCorrectionReq) UnmarshalJSON(data []byte) error
- type CreateTradeCorrectionRes
- type CreateTradeRecordReq
- func (s *CreateTradeRecordReq) Decode(d *jx.Decoder) error
- func (s *CreateTradeRecordReq) Encode(e *jx.Encoder)
- func (s *CreateTradeRecordReq) GetConditions() []int
- func (s *CreateTradeRecordReq) GetCorrection() []int
- func (s *CreateTradeRecordReq) GetExchange() []int
- func (s *CreateTradeRecordReq) GetPrice() float64
- func (s *CreateTradeRecordReq) GetTimeRange() int
- func (s *CreateTradeRecordReq) GetTimeRangeID() int
- func (s *CreateTradeRecordReq) GetTimestamp() time.Time
- func (s *CreateTradeRecordReq) GetVolume() int32
- func (s *CreateTradeRecordReq) MarshalJSON() ([]byte, error)
- func (s *CreateTradeRecordReq) SetConditions(val []int)
- func (s *CreateTradeRecordReq) SetCorrection(val []int)
- func (s *CreateTradeRecordReq) SetExchange(val []int)
- func (s *CreateTradeRecordReq) SetPrice(val float64)
- func (s *CreateTradeRecordReq) SetTimeRange(val int)
- func (s *CreateTradeRecordReq) SetTimeRangeID(val int)
- func (s *CreateTradeRecordReq) SetTimestamp(val time.Time)
- func (s *CreateTradeRecordReq) SetVolume(val int32)
- func (s *CreateTradeRecordReq) UnmarshalJSON(data []byte) error
- func (s *CreateTradeRecordReq) Validate() error
- type CreateTradeRecordRes
- type CreateTradeTimeRangeReq
- func (s *CreateTradeTimeRangeReq) Decode(d *jx.Decoder) error
- func (s *CreateTradeTimeRangeReq) Encode(e *jx.Encoder)
- func (s *CreateTradeTimeRangeReq) GetEnd() time.Time
- func (s *CreateTradeTimeRangeReq) GetInterval() int
- func (s *CreateTradeTimeRangeReq) GetIntervalID() int
- func (s *CreateTradeTimeRangeReq) GetRecords() []int
- func (s *CreateTradeTimeRangeReq) GetStart() time.Time
- func (s *CreateTradeTimeRangeReq) MarshalJSON() ([]byte, error)
- func (s *CreateTradeTimeRangeReq) SetEnd(val time.Time)
- func (s *CreateTradeTimeRangeReq) SetInterval(val int)
- func (s *CreateTradeTimeRangeReq) SetIntervalID(val int)
- func (s *CreateTradeTimeRangeReq) SetRecords(val []int)
- func (s *CreateTradeTimeRangeReq) SetStart(val time.Time)
- func (s *CreateTradeTimeRangeReq) UnmarshalJSON(data []byte) error
- type CreateTradeTimeRangeRes
- type DataSourceCreate
- func (s *DataSourceCreate) Decode(d *jx.Decoder) error
- func (ds *DataSourceCreate) Elem() DataSourceCreate
- func (s *DataSourceCreate) Encode(e *jx.Encoder)
- func (s *DataSourceCreate) GetAddress() string
- func (s *DataSourceCreate) GetID() int
- func (s *DataSourceCreate) GetName() string
- func (s *DataSourceCreate) MarshalJSON() ([]byte, error)
- func (s *DataSourceCreate) SetAddress(val string)
- func (s *DataSourceCreate) SetID(val int)
- func (s *DataSourceCreate) SetName(val string)
- func (s *DataSourceCreate) UnmarshalJSON(data []byte) error
- type DataSourceIntervalsList
- func (s *DataSourceIntervalsList) Decode(d *jx.Decoder) error
- func (i *DataSourceIntervalsList) Elem() DataSourceIntervalsList
- func (s *DataSourceIntervalsList) Encode(e *jx.Encoder)
- func (s *DataSourceIntervalsList) GetActive() bool
- func (s *DataSourceIntervalsList) GetDataSourceID() int
- func (s *DataSourceIntervalsList) GetID() int
- func (s *DataSourceIntervalsList) GetInterval() DataSourceIntervalsListInterval
- func (s *DataSourceIntervalsList) GetStockID() int
- func (s *DataSourceIntervalsList) MarshalJSON() ([]byte, error)
- func (s *DataSourceIntervalsList) SetActive(val bool)
- func (s *DataSourceIntervalsList) SetDataSourceID(val int)
- func (s *DataSourceIntervalsList) SetID(val int)
- func (s *DataSourceIntervalsList) SetInterval(val DataSourceIntervalsListInterval)
- func (s *DataSourceIntervalsList) SetStockID(val int)
- func (s *DataSourceIntervalsList) UnmarshalJSON(data []byte) error
- func (s *DataSourceIntervalsList) Validate() error
- type DataSourceIntervalsListInterval
- func (s *DataSourceIntervalsListInterval) Decode(d *jx.Decoder) error
- func (s DataSourceIntervalsListInterval) Encode(e *jx.Encoder)
- func (s DataSourceIntervalsListInterval) MarshalJSON() ([]byte, error)
- func (s DataSourceIntervalsListInterval) MarshalText() ([]byte, error)
- func (s *DataSourceIntervalsListInterval) UnmarshalJSON(data []byte) error
- func (s *DataSourceIntervalsListInterval) UnmarshalText(data []byte) error
- func (s DataSourceIntervalsListInterval) Validate() error
- type DataSourceList
- func (s *DataSourceList) Decode(d *jx.Decoder) error
- func (ds *DataSourceList) Elem() DataSourceList
- func (s *DataSourceList) Encode(e *jx.Encoder)
- func (s *DataSourceList) GetAddress() string
- func (s *DataSourceList) GetID() int
- func (s *DataSourceList) GetName() string
- func (s *DataSourceList) MarshalJSON() ([]byte, error)
- func (s *DataSourceList) SetAddress(val string)
- func (s *DataSourceList) SetID(val int)
- func (s *DataSourceList) SetName(val string)
- func (s *DataSourceList) UnmarshalJSON(data []byte) error
- type DataSourceRead
- func (s *DataSourceRead) Decode(d *jx.Decoder) error
- func (ds *DataSourceRead) Elem() DataSourceRead
- func (s *DataSourceRead) Encode(e *jx.Encoder)
- func (s *DataSourceRead) GetAddress() string
- func (s *DataSourceRead) GetID() int
- func (s *DataSourceRead) GetName() string
- func (s *DataSourceRead) MarshalJSON() ([]byte, error)
- func (s *DataSourceRead) SetAddress(val string)
- func (s *DataSourceRead) SetID(val int)
- func (s *DataSourceRead) SetName(val string)
- func (s *DataSourceRead) UnmarshalJSON(data []byte) error
- type DataSourceUpdate
- func (s *DataSourceUpdate) Decode(d *jx.Decoder) error
- func (ds *DataSourceUpdate) Elem() DataSourceUpdate
- func (s *DataSourceUpdate) Encode(e *jx.Encoder)
- func (s *DataSourceUpdate) GetAddress() string
- func (s *DataSourceUpdate) GetID() int
- func (s *DataSourceUpdate) GetName() string
- func (s *DataSourceUpdate) MarshalJSON() ([]byte, error)
- func (s *DataSourceUpdate) SetAddress(val string)
- func (s *DataSourceUpdate) SetID(val int)
- func (s *DataSourceUpdate) SetName(val string)
- func (s *DataSourceUpdate) UnmarshalJSON(data []byte) error
- type DeleteBarGroupNoContent
- type DeleteBarGroupParams
- type DeleteBarGroupRes
- type DeleteBarRecordNoContent
- type DeleteBarRecordParams
- type DeleteBarRecordRes
- type DeleteBarTimeRangeNoContent
- type DeleteBarTimeRangeParams
- type DeleteBarTimeRangeRes
- type DeleteDataSourceNoContent
- type DeleteDataSourceParams
- type DeleteDataSourceRes
- type DeleteDividendNoContent
- type DeleteDividendParams
- type DeleteDividendRes
- type DeleteEntityNoContent
- type DeleteEntityParams
- type DeleteEntityRes
- type DeleteExchangeNoContent
- type DeleteExchangeParams
- type DeleteExchangeRes
- type DeleteFinancialNoContent
- type DeleteFinancialParams
- type DeleteFinancialRes
- type DeleteIntervalNoContent
- type DeleteIntervalParams
- type DeleteIntervalRes
- type DeleteMarketHoursNoContent
- type DeleteMarketHoursParams
- type DeleteMarketHoursRes
- type DeleteMarketInfoNoContent
- type DeleteMarketInfoParams
- type DeleteMarketInfoRes
- type DeleteSplitNoContent
- type DeleteSplitParams
- type DeleteSplitRes
- type DeleteTradeConditionNoContent
- type DeleteTradeConditionParams
- type DeleteTradeConditionRes
- type DeleteTradeCorrectionNoContent
- type DeleteTradeCorrectionParams
- type DeleteTradeCorrectionRes
- type DeleteTradeRecordNoContent
- type DeleteTradeRecordParams
- type DeleteTradeRecordRes
- type DeleteTradeTimeRangeNoContent
- type DeleteTradeTimeRangeParams
- type DeleteTradeTimeRangeRes
- type DividendCreate
- func (s *DividendCreate) Decode(d *jx.Decoder) error
- func (d *DividendCreate) Elem() DividendCreate
- func (s *DividendCreate) Encode(e *jx.Encoder)
- func (s *DividendCreate) GetCashAmount() float64
- func (s *DividendCreate) GetDeclarationDate() time.Time
- func (s *DividendCreate) GetDividendType() DividendCreateDividendType
- func (s *DividendCreate) GetExDividendDate() time.Time
- func (s *DividendCreate) GetFrequency() int
- func (s *DividendCreate) GetID() int
- func (s *DividendCreate) GetPayDate() time.Time
- func (s *DividendCreate) GetRecordDate() time.Time
- func (s *DividendCreate) MarshalJSON() ([]byte, error)
- func (s *DividendCreate) SetCashAmount(val float64)
- func (s *DividendCreate) SetDeclarationDate(val time.Time)
- func (s *DividendCreate) SetDividendType(val DividendCreateDividendType)
- func (s *DividendCreate) SetExDividendDate(val time.Time)
- func (s *DividendCreate) SetFrequency(val int)
- func (s *DividendCreate) SetID(val int)
- func (s *DividendCreate) SetPayDate(val time.Time)
- func (s *DividendCreate) SetRecordDate(val time.Time)
- func (s *DividendCreate) UnmarshalJSON(data []byte) error
- func (s *DividendCreate) Validate() error
- type DividendCreateDividendType
- func (s *DividendCreateDividendType) Decode(d *jx.Decoder) error
- func (s DividendCreateDividendType) Encode(e *jx.Encoder)
- func (s DividendCreateDividendType) MarshalJSON() ([]byte, error)
- func (s DividendCreateDividendType) MarshalText() ([]byte, error)
- func (s *DividendCreateDividendType) UnmarshalJSON(data []byte) error
- func (s *DividendCreateDividendType) UnmarshalText(data []byte) error
- func (s DividendCreateDividendType) Validate() error
- type DividendList
- func (s *DividendList) Decode(d *jx.Decoder) error
- func (d *DividendList) Elem() DividendList
- func (s *DividendList) Encode(e *jx.Encoder)
- func (s *DividendList) GetCashAmount() float64
- func (s *DividendList) GetDeclarationDate() time.Time
- func (s *DividendList) GetDividendType() DividendListDividendType
- func (s *DividendList) GetExDividendDate() time.Time
- func (s *DividendList) GetFrequency() int
- func (s *DividendList) GetID() int
- func (s *DividendList) GetPayDate() time.Time
- func (s *DividendList) GetRecordDate() time.Time
- func (s *DividendList) MarshalJSON() ([]byte, error)
- func (s *DividendList) SetCashAmount(val float64)
- func (s *DividendList) SetDeclarationDate(val time.Time)
- func (s *DividendList) SetDividendType(val DividendListDividendType)
- func (s *DividendList) SetExDividendDate(val time.Time)
- func (s *DividendList) SetFrequency(val int)
- func (s *DividendList) SetID(val int)
- func (s *DividendList) SetPayDate(val time.Time)
- func (s *DividendList) SetRecordDate(val time.Time)
- func (s *DividendList) UnmarshalJSON(data []byte) error
- func (s *DividendList) Validate() error
- type DividendListDividendType
- func (s *DividendListDividendType) Decode(d *jx.Decoder) error
- func (s DividendListDividendType) Encode(e *jx.Encoder)
- func (s DividendListDividendType) MarshalJSON() ([]byte, error)
- func (s DividendListDividendType) MarshalText() ([]byte, error)
- func (s *DividendListDividendType) UnmarshalJSON(data []byte) error
- func (s *DividendListDividendType) UnmarshalText(data []byte) error
- func (s DividendListDividendType) Validate() error
- type DividendRead
- func (s *DividendRead) Decode(d *jx.Decoder) error
- func (d *DividendRead) Elem() DividendRead
- func (s *DividendRead) Encode(e *jx.Encoder)
- func (s *DividendRead) GetCashAmount() float64
- func (s *DividendRead) GetDeclarationDate() time.Time
- func (s *DividendRead) GetDividendType() DividendReadDividendType
- func (s *DividendRead) GetExDividendDate() time.Time
- func (s *DividendRead) GetFrequency() int
- func (s *DividendRead) GetID() int
- func (s *DividendRead) GetPayDate() time.Time
- func (s *DividendRead) GetRecordDate() time.Time
- func (s *DividendRead) MarshalJSON() ([]byte, error)
- func (s *DividendRead) SetCashAmount(val float64)
- func (s *DividendRead) SetDeclarationDate(val time.Time)
- func (s *DividendRead) SetDividendType(val DividendReadDividendType)
- func (s *DividendRead) SetExDividendDate(val time.Time)
- func (s *DividendRead) SetFrequency(val int)
- func (s *DividendRead) SetID(val int)
- func (s *DividendRead) SetPayDate(val time.Time)
- func (s *DividendRead) SetRecordDate(val time.Time)
- func (s *DividendRead) UnmarshalJSON(data []byte) error
- func (s *DividendRead) Validate() error
- type DividendReadDividendType
- func (s *DividendReadDividendType) Decode(d *jx.Decoder) error
- func (s DividendReadDividendType) Encode(e *jx.Encoder)
- func (s DividendReadDividendType) MarshalJSON() ([]byte, error)
- func (s DividendReadDividendType) MarshalText() ([]byte, error)
- func (s *DividendReadDividendType) UnmarshalJSON(data []byte) error
- func (s *DividendReadDividendType) UnmarshalText(data []byte) error
- func (s DividendReadDividendType) Validate() error
- type DividendStockList
- func (s *DividendStockList) Decode(d *jx.Decoder) error
- func (e *DividendStockList) Elem() DividendStockList
- func (s *DividendStockList) Encode(e *jx.Encoder)
- func (s *DividendStockList) GetActive() bool
- func (s *DividendStockList) GetDelisted() OptDateTime
- func (s *DividendStockList) GetDescription() string
- func (s *DividendStockList) GetID() int
- func (s *DividendStockList) GetListDate() time.Time
- func (s *DividendStockList) GetName() string
- func (s *DividendStockList) GetTicker() string
- func (s *DividendStockList) MarshalJSON() ([]byte, error)
- func (s *DividendStockList) SetActive(val bool)
- func (s *DividendStockList) SetDelisted(val OptDateTime)
- func (s *DividendStockList) SetDescription(val string)
- func (s *DividendStockList) SetID(val int)
- func (s *DividendStockList) SetListDate(val time.Time)
- func (s *DividendStockList) SetName(val string)
- func (s *DividendStockList) SetTicker(val string)
- func (s *DividendStockList) UnmarshalJSON(data []byte) error
- type DividendUpdate
- func (s *DividendUpdate) Decode(d *jx.Decoder) error
- func (d *DividendUpdate) Elem() DividendUpdate
- func (s *DividendUpdate) Encode(e *jx.Encoder)
- func (s *DividendUpdate) GetCashAmount() float64
- func (s *DividendUpdate) GetDeclarationDate() time.Time
- func (s *DividendUpdate) GetDividendType() DividendUpdateDividendType
- func (s *DividendUpdate) GetExDividendDate() time.Time
- func (s *DividendUpdate) GetFrequency() int
- func (s *DividendUpdate) GetID() int
- func (s *DividendUpdate) GetPayDate() time.Time
- func (s *DividendUpdate) GetRecordDate() time.Time
- func (s *DividendUpdate) MarshalJSON() ([]byte, error)
- func (s *DividendUpdate) SetCashAmount(val float64)
- func (s *DividendUpdate) SetDeclarationDate(val time.Time)
- func (s *DividendUpdate) SetDividendType(val DividendUpdateDividendType)
- func (s *DividendUpdate) SetExDividendDate(val time.Time)
- func (s *DividendUpdate) SetFrequency(val int)
- func (s *DividendUpdate) SetID(val int)
- func (s *DividendUpdate) SetPayDate(val time.Time)
- func (s *DividendUpdate) SetRecordDate(val time.Time)
- func (s *DividendUpdate) UnmarshalJSON(data []byte) error
- func (s *DividendUpdate) Validate() error
- type DividendUpdateDividendType
- func (s *DividendUpdateDividendType) Decode(d *jx.Decoder) error
- func (s DividendUpdateDividendType) Encode(e *jx.Encoder)
- func (s DividendUpdateDividendType) MarshalJSON() ([]byte, error)
- func (s DividendUpdateDividendType) MarshalText() ([]byte, error)
- func (s *DividendUpdateDividendType) UnmarshalJSON(data []byte) error
- func (s *DividendUpdateDividendType) UnmarshalText(data []byte) error
- func (s DividendUpdateDividendType) Validate() error
- type EntityCreate
- func (s *EntityCreate) Decode(d *jx.Decoder) error
- func (e *EntityCreate) Elem() EntityCreate
- func (s *EntityCreate) Encode(e *jx.Encoder)
- func (s *EntityCreate) GetActive() bool
- func (s *EntityCreate) GetDelisted() OptDateTime
- func (s *EntityCreate) GetDescription() string
- func (s *EntityCreate) GetID() int
- func (s *EntityCreate) GetListDate() time.Time
- func (s *EntityCreate) GetName() string
- func (s *EntityCreate) GetTicker() string
- func (s *EntityCreate) MarshalJSON() ([]byte, error)
- func (s *EntityCreate) SetActive(val bool)
- func (s *EntityCreate) SetDelisted(val OptDateTime)
- func (s *EntityCreate) SetDescription(val string)
- func (s *EntityCreate) SetID(val int)
- func (s *EntityCreate) SetListDate(val time.Time)
- func (s *EntityCreate) SetName(val string)
- func (s *EntityCreate) SetTicker(val string)
- func (s *EntityCreate) UnmarshalJSON(data []byte) error
- type EntityDividendsList
- func (s *EntityDividendsList) Decode(d *jx.Decoder) error
- func (d *EntityDividendsList) Elem() EntityDividendsList
- func (s *EntityDividendsList) Encode(e *jx.Encoder)
- func (s *EntityDividendsList) GetCashAmount() float64
- func (s *EntityDividendsList) GetDeclarationDate() time.Time
- func (s *EntityDividendsList) GetDividendType() EntityDividendsListDividendType
- func (s *EntityDividendsList) GetExDividendDate() time.Time
- func (s *EntityDividendsList) GetFrequency() int
- func (s *EntityDividendsList) GetID() int
- func (s *EntityDividendsList) GetPayDate() time.Time
- func (s *EntityDividendsList) GetRecordDate() time.Time
- func (s *EntityDividendsList) MarshalJSON() ([]byte, error)
- func (s *EntityDividendsList) SetCashAmount(val float64)
- func (s *EntityDividendsList) SetDeclarationDate(val time.Time)
- func (s *EntityDividendsList) SetDividendType(val EntityDividendsListDividendType)
- func (s *EntityDividendsList) SetExDividendDate(val time.Time)
- func (s *EntityDividendsList) SetFrequency(val int)
- func (s *EntityDividendsList) SetID(val int)
- func (s *EntityDividendsList) SetPayDate(val time.Time)
- func (s *EntityDividendsList) SetRecordDate(val time.Time)
- func (s *EntityDividendsList) UnmarshalJSON(data []byte) error
- func (s *EntityDividendsList) Validate() error
- type EntityDividendsListDividendType
- func (s *EntityDividendsListDividendType) Decode(d *jx.Decoder) error
- func (s EntityDividendsListDividendType) Encode(e *jx.Encoder)
- func (s EntityDividendsListDividendType) MarshalJSON() ([]byte, error)
- func (s EntityDividendsListDividendType) MarshalText() ([]byte, error)
- func (s *EntityDividendsListDividendType) UnmarshalJSON(data []byte) error
- func (s *EntityDividendsListDividendType) UnmarshalText(data []byte) error
- func (s EntityDividendsListDividendType) Validate() error
- type EntityExchangesList
- func (s *EntityExchangesList) Decode(d *jx.Decoder) error
- func (e *EntityExchangesList) Elem() EntityExchangesList
- func (s *EntityExchangesList) Encode(e *jx.Encoder)
- func (s *EntityExchangesList) GetCode() string
- func (s *EntityExchangesList) GetID() int
- func (s *EntityExchangesList) GetName() string
- func (s *EntityExchangesList) MarshalJSON() ([]byte, error)
- func (s *EntityExchangesList) SetCode(val string)
- func (s *EntityExchangesList) SetID(val int)
- func (s *EntityExchangesList) SetName(val string)
- func (s *EntityExchangesList) UnmarshalJSON(data []byte) error
- type EntityFinancialsList
- func (s *EntityFinancialsList) Decode(d *jx.Decoder) error
- func (f *EntityFinancialsList) Elem() EntityFinancialsList
- func (s *EntityFinancialsList) Encode(e *jx.Encoder)
- func (s *EntityFinancialsList) GetID() int
- func (s *EntityFinancialsList) MarshalJSON() ([]byte, error)
- func (s *EntityFinancialsList) SetID(val int)
- func (s *EntityFinancialsList) UnmarshalJSON(data []byte) error
- type EntityIntervalsList
- func (s *EntityIntervalsList) Decode(d *jx.Decoder) error
- func (i *EntityIntervalsList) Elem() EntityIntervalsList
- func (s *EntityIntervalsList) Encode(e *jx.Encoder)
- func (s *EntityIntervalsList) GetActive() bool
- func (s *EntityIntervalsList) GetDataSourceID() int
- func (s *EntityIntervalsList) GetID() int
- func (s *EntityIntervalsList) GetInterval() EntityIntervalsListInterval
- func (s *EntityIntervalsList) GetStockID() int
- func (s *EntityIntervalsList) MarshalJSON() ([]byte, error)
- func (s *EntityIntervalsList) SetActive(val bool)
- func (s *EntityIntervalsList) SetDataSourceID(val int)
- func (s *EntityIntervalsList) SetID(val int)
- func (s *EntityIntervalsList) SetInterval(val EntityIntervalsListInterval)
- func (s *EntityIntervalsList) SetStockID(val int)
- func (s *EntityIntervalsList) UnmarshalJSON(data []byte) error
- func (s *EntityIntervalsList) Validate() error
- type EntityIntervalsListInterval
- func (s *EntityIntervalsListInterval) Decode(d *jx.Decoder) error
- func (s EntityIntervalsListInterval) Encode(e *jx.Encoder)
- func (s EntityIntervalsListInterval) MarshalJSON() ([]byte, error)
- func (s EntityIntervalsListInterval) MarshalText() ([]byte, error)
- func (s *EntityIntervalsListInterval) UnmarshalJSON(data []byte) error
- func (s *EntityIntervalsListInterval) UnmarshalText(data []byte) error
- func (s EntityIntervalsListInterval) Validate() error
- type EntityList
- func (s *EntityList) Decode(d *jx.Decoder) error
- func (e *EntityList) Elem() EntityList
- func (s *EntityList) Encode(e *jx.Encoder)
- func (s *EntityList) GetActive() bool
- func (s *EntityList) GetDelisted() OptDateTime
- func (s *EntityList) GetDescription() string
- func (s *EntityList) GetID() int
- func (s *EntityList) GetListDate() time.Time
- func (s *EntityList) GetName() string
- func (s *EntityList) GetTicker() string
- func (s *EntityList) MarshalJSON() ([]byte, error)
- func (s *EntityList) SetActive(val bool)
- func (s *EntityList) SetDelisted(val OptDateTime)
- func (s *EntityList) SetDescription(val string)
- func (s *EntityList) SetID(val int)
- func (s *EntityList) SetListDate(val time.Time)
- func (s *EntityList) SetName(val string)
- func (s *EntityList) SetTicker(val string)
- func (s *EntityList) UnmarshalJSON(data []byte) error
- type EntityRead
- func (s *EntityRead) Decode(d *jx.Decoder) error
- func (e *EntityRead) Elem() EntityRead
- func (s *EntityRead) Encode(e *jx.Encoder)
- func (s *EntityRead) GetActive() bool
- func (s *EntityRead) GetDelisted() OptDateTime
- func (s *EntityRead) GetDescription() string
- func (s *EntityRead) GetID() int
- func (s *EntityRead) GetListDate() time.Time
- func (s *EntityRead) GetName() string
- func (s *EntityRead) GetTicker() string
- func (s *EntityRead) MarshalJSON() ([]byte, error)
- func (s *EntityRead) SetActive(val bool)
- func (s *EntityRead) SetDelisted(val OptDateTime)
- func (s *EntityRead) SetDescription(val string)
- func (s *EntityRead) SetID(val int)
- func (s *EntityRead) SetListDate(val time.Time)
- func (s *EntityRead) SetName(val string)
- func (s *EntityRead) SetTicker(val string)
- func (s *EntityRead) UnmarshalJSON(data []byte) error
- type EntitySplitsList
- func (s *EntitySplitsList) Decode(d *jx.Decoder) error
- func (s *EntitySplitsList) Elem() EntitySplitsList
- func (s *EntitySplitsList) Encode(e *jx.Encoder)
- func (s *EntitySplitsList) GetExecutionDate() time.Time
- func (s *EntitySplitsList) GetFrom() float64
- func (s *EntitySplitsList) GetID() int
- func (s *EntitySplitsList) GetTo() float64
- func (s *EntitySplitsList) MarshalJSON() ([]byte, error)
- func (s *EntitySplitsList) SetExecutionDate(val time.Time)
- func (s *EntitySplitsList) SetFrom(val float64)
- func (s *EntitySplitsList) SetID(val int)
- func (s *EntitySplitsList) SetTo(val float64)
- func (s *EntitySplitsList) UnmarshalJSON(data []byte) error
- func (s *EntitySplitsList) Validate() error
- type EntityUpdate
- func (s *EntityUpdate) Decode(d *jx.Decoder) error
- func (e *EntityUpdate) Elem() EntityUpdate
- func (s *EntityUpdate) Encode(e *jx.Encoder)
- func (s *EntityUpdate) GetActive() bool
- func (s *EntityUpdate) GetDelisted() OptDateTime
- func (s *EntityUpdate) GetDescription() string
- func (s *EntityUpdate) GetID() int
- func (s *EntityUpdate) GetListDate() time.Time
- func (s *EntityUpdate) GetName() string
- func (s *EntityUpdate) GetTicker() string
- func (s *EntityUpdate) MarshalJSON() ([]byte, error)
- func (s *EntityUpdate) SetActive(val bool)
- func (s *EntityUpdate) SetDelisted(val OptDateTime)
- func (s *EntityUpdate) SetDescription(val string)
- func (s *EntityUpdate) SetID(val int)
- func (s *EntityUpdate) SetListDate(val time.Time)
- func (s *EntityUpdate) SetName(val string)
- func (s *EntityUpdate) SetTicker(val string)
- func (s *EntityUpdate) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type ExchangeCreate
- func (s *ExchangeCreate) Decode(d *jx.Decoder) error
- func (e *ExchangeCreate) Elem() ExchangeCreate
- func (s *ExchangeCreate) Encode(e *jx.Encoder)
- func (s *ExchangeCreate) GetCode() string
- func (s *ExchangeCreate) GetID() int
- func (s *ExchangeCreate) GetName() string
- func (s *ExchangeCreate) MarshalJSON() ([]byte, error)
- func (s *ExchangeCreate) SetCode(val string)
- func (s *ExchangeCreate) SetID(val int)
- func (s *ExchangeCreate) SetName(val string)
- func (s *ExchangeCreate) UnmarshalJSON(data []byte) error
- type ExchangeList
- func (s *ExchangeList) Decode(d *jx.Decoder) error
- func (e *ExchangeList) Elem() ExchangeList
- func (s *ExchangeList) Encode(e *jx.Encoder)
- func (s *ExchangeList) GetCode() string
- func (s *ExchangeList) GetID() int
- func (s *ExchangeList) GetName() string
- func (s *ExchangeList) MarshalJSON() ([]byte, error)
- func (s *ExchangeList) SetCode(val string)
- func (s *ExchangeList) SetID(val int)
- func (s *ExchangeList) SetName(val string)
- func (s *ExchangeList) UnmarshalJSON(data []byte) error
- type ExchangeRead
- func (s *ExchangeRead) Decode(d *jx.Decoder) error
- func (e *ExchangeRead) Elem() ExchangeRead
- func (s *ExchangeRead) Encode(e *jx.Encoder)
- func (s *ExchangeRead) GetCode() string
- func (s *ExchangeRead) GetID() int
- func (s *ExchangeRead) GetName() string
- func (s *ExchangeRead) MarshalJSON() ([]byte, error)
- func (s *ExchangeRead) SetCode(val string)
- func (s *ExchangeRead) SetID(val int)
- func (s *ExchangeRead) SetName(val string)
- func (s *ExchangeRead) UnmarshalJSON(data []byte) error
- type ExchangeStocksList
- func (s *ExchangeStocksList) Decode(d *jx.Decoder) error
- func (e *ExchangeStocksList) Elem() ExchangeStocksList
- func (s *ExchangeStocksList) Encode(e *jx.Encoder)
- func (s *ExchangeStocksList) GetActive() bool
- func (s *ExchangeStocksList) GetDelisted() OptDateTime
- func (s *ExchangeStocksList) GetDescription() string
- func (s *ExchangeStocksList) GetID() int
- func (s *ExchangeStocksList) GetListDate() time.Time
- func (s *ExchangeStocksList) GetName() string
- func (s *ExchangeStocksList) GetTicker() string
- func (s *ExchangeStocksList) MarshalJSON() ([]byte, error)
- func (s *ExchangeStocksList) SetActive(val bool)
- func (s *ExchangeStocksList) SetDelisted(val OptDateTime)
- func (s *ExchangeStocksList) SetDescription(val string)
- func (s *ExchangeStocksList) SetID(val int)
- func (s *ExchangeStocksList) SetListDate(val time.Time)
- func (s *ExchangeStocksList) SetName(val string)
- func (s *ExchangeStocksList) SetTicker(val string)
- func (s *ExchangeStocksList) UnmarshalJSON(data []byte) error
- type ExchangeUpdate
- func (s *ExchangeUpdate) Decode(d *jx.Decoder) error
- func (e *ExchangeUpdate) Elem() ExchangeUpdate
- func (s *ExchangeUpdate) Encode(e *jx.Encoder)
- func (s *ExchangeUpdate) GetCode() string
- func (s *ExchangeUpdate) GetID() int
- func (s *ExchangeUpdate) GetName() string
- func (s *ExchangeUpdate) MarshalJSON() ([]byte, error)
- func (s *ExchangeUpdate) SetCode(val string)
- func (s *ExchangeUpdate) SetID(val int)
- func (s *ExchangeUpdate) SetName(val string)
- func (s *ExchangeUpdate) UnmarshalJSON(data []byte) error
- type FinancialCreate
- func (s *FinancialCreate) Decode(d *jx.Decoder) error
- func (f *FinancialCreate) Elem() FinancialCreate
- func (s *FinancialCreate) Encode(e *jx.Encoder)
- func (s *FinancialCreate) GetID() int
- func (s *FinancialCreate) MarshalJSON() ([]byte, error)
- func (s *FinancialCreate) SetID(val int)
- func (s *FinancialCreate) UnmarshalJSON(data []byte) error
- type FinancialList
- func (s *FinancialList) Decode(d *jx.Decoder) error
- func (f *FinancialList) Elem() FinancialList
- func (s *FinancialList) Encode(e *jx.Encoder)
- func (s *FinancialList) GetID() int
- func (s *FinancialList) MarshalJSON() ([]byte, error)
- func (s *FinancialList) SetID(val int)
- func (s *FinancialList) UnmarshalJSON(data []byte) error
- type FinancialRead
- func (s *FinancialRead) Decode(d *jx.Decoder) error
- func (f *FinancialRead) Elem() FinancialRead
- func (s *FinancialRead) Encode(e *jx.Encoder)
- func (s *FinancialRead) GetID() int
- func (s *FinancialRead) MarshalJSON() ([]byte, error)
- func (s *FinancialRead) SetID(val int)
- func (s *FinancialRead) UnmarshalJSON(data []byte) error
- type FinancialStockList
- func (s *FinancialStockList) Decode(d *jx.Decoder) error
- func (e *FinancialStockList) Elem() FinancialStockList
- func (s *FinancialStockList) Encode(e *jx.Encoder)
- func (s *FinancialStockList) GetActive() bool
- func (s *FinancialStockList) GetDelisted() OptDateTime
- func (s *FinancialStockList) GetDescription() string
- func (s *FinancialStockList) GetID() int
- func (s *FinancialStockList) GetListDate() time.Time
- func (s *FinancialStockList) GetName() string
- func (s *FinancialStockList) GetTicker() string
- func (s *FinancialStockList) MarshalJSON() ([]byte, error)
- func (s *FinancialStockList) SetActive(val bool)
- func (s *FinancialStockList) SetDelisted(val OptDateTime)
- func (s *FinancialStockList) SetDescription(val string)
- func (s *FinancialStockList) SetID(val int)
- func (s *FinancialStockList) SetListDate(val time.Time)
- func (s *FinancialStockList) SetName(val string)
- func (s *FinancialStockList) SetTicker(val string)
- func (s *FinancialStockList) UnmarshalJSON(data []byte) error
- type FinancialUpdate
- func (s *FinancialUpdate) Decode(d *jx.Decoder) error
- func (f *FinancialUpdate) Elem() FinancialUpdate
- func (s *FinancialUpdate) Encode(e *jx.Encoder)
- func (s *FinancialUpdate) GetID() int
- func (s *FinancialUpdate) MarshalJSON() ([]byte, error)
- func (s *FinancialUpdate) SetID(val int)
- func (s *FinancialUpdate) UnmarshalJSON(data []byte) error
- type Handler
- type IntervalBarsList
- func (s *IntervalBarsList) Decode(d *jx.Decoder) error
- func (btr *IntervalBarsList) Elem() IntervalBarsList
- func (s *IntervalBarsList) Encode(e *jx.Encoder)
- func (s *IntervalBarsList) GetCount() int
- func (s *IntervalBarsList) GetEnd() time.Time
- func (s *IntervalBarsList) GetID() int
- func (s *IntervalBarsList) GetIntervalID() int
- func (s *IntervalBarsList) GetStart() time.Time
- func (s *IntervalBarsList) GetStatus() IntervalBarsListStatus
- func (s *IntervalBarsList) GetUpdateTime() time.Time
- func (s *IntervalBarsList) MarshalJSON() ([]byte, error)
- func (s *IntervalBarsList) SetCount(val int)
- func (s *IntervalBarsList) SetEnd(val time.Time)
- func (s *IntervalBarsList) SetID(val int)
- func (s *IntervalBarsList) SetIntervalID(val int)
- func (s *IntervalBarsList) SetStart(val time.Time)
- func (s *IntervalBarsList) SetStatus(val IntervalBarsListStatus)
- func (s *IntervalBarsList) SetUpdateTime(val time.Time)
- func (s *IntervalBarsList) UnmarshalJSON(data []byte) error
- func (s *IntervalBarsList) Validate() error
- type IntervalBarsListStatus
- func (s *IntervalBarsListStatus) Decode(d *jx.Decoder) error
- func (s IntervalBarsListStatus) Encode(e *jx.Encoder)
- func (s IntervalBarsListStatus) MarshalJSON() ([]byte, error)
- func (s IntervalBarsListStatus) MarshalText() ([]byte, error)
- func (s *IntervalBarsListStatus) UnmarshalJSON(data []byte) error
- func (s *IntervalBarsListStatus) UnmarshalText(data []byte) error
- func (s IntervalBarsListStatus) Validate() error
- type IntervalCreate
- func (s *IntervalCreate) Decode(d *jx.Decoder) error
- func (i *IntervalCreate) Elem() IntervalCreate
- func (s *IntervalCreate) Encode(e *jx.Encoder)
- func (s *IntervalCreate) GetActive() bool
- func (s *IntervalCreate) GetDataSourceID() int
- func (s *IntervalCreate) GetID() int
- func (s *IntervalCreate) GetInterval() IntervalCreateInterval
- func (s *IntervalCreate) GetStockID() int
- func (s *IntervalCreate) MarshalJSON() ([]byte, error)
- func (s *IntervalCreate) SetActive(val bool)
- func (s *IntervalCreate) SetDataSourceID(val int)
- func (s *IntervalCreate) SetID(val int)
- func (s *IntervalCreate) SetInterval(val IntervalCreateInterval)
- func (s *IntervalCreate) SetStockID(val int)
- func (s *IntervalCreate) UnmarshalJSON(data []byte) error
- func (s *IntervalCreate) Validate() error
- type IntervalCreateInterval
- func (s *IntervalCreateInterval) Decode(d *jx.Decoder) error
- func (s IntervalCreateInterval) Encode(e *jx.Encoder)
- func (s IntervalCreateInterval) MarshalJSON() ([]byte, error)
- func (s IntervalCreateInterval) MarshalText() ([]byte, error)
- func (s *IntervalCreateInterval) UnmarshalJSON(data []byte) error
- func (s *IntervalCreateInterval) UnmarshalText(data []byte) error
- func (s IntervalCreateInterval) Validate() error
- type IntervalDataSourceRead
- func (s *IntervalDataSourceRead) Decode(d *jx.Decoder) error
- func (ds *IntervalDataSourceRead) Elem() IntervalDataSourceRead
- func (s *IntervalDataSourceRead) Encode(e *jx.Encoder)
- func (s *IntervalDataSourceRead) GetAddress() string
- func (s *IntervalDataSourceRead) GetID() int
- func (s *IntervalDataSourceRead) GetName() string
- func (s *IntervalDataSourceRead) MarshalJSON() ([]byte, error)
- func (s *IntervalDataSourceRead) SetAddress(val string)
- func (s *IntervalDataSourceRead) SetID(val int)
- func (s *IntervalDataSourceRead) SetName(val string)
- func (s *IntervalDataSourceRead) UnmarshalJSON(data []byte) error
- type IntervalList
- func (s *IntervalList) Decode(d *jx.Decoder) error
- func (i *IntervalList) Elem() IntervalList
- func (s *IntervalList) Encode(e *jx.Encoder)
- func (s *IntervalList) GetActive() bool
- func (s *IntervalList) GetDataSourceID() int
- func (s *IntervalList) GetID() int
- func (s *IntervalList) GetInterval() IntervalListInterval
- func (s *IntervalList) GetStockID() int
- func (s *IntervalList) MarshalJSON() ([]byte, error)
- func (s *IntervalList) SetActive(val bool)
- func (s *IntervalList) SetDataSourceID(val int)
- func (s *IntervalList) SetID(val int)
- func (s *IntervalList) SetInterval(val IntervalListInterval)
- func (s *IntervalList) SetStockID(val int)
- func (s *IntervalList) UnmarshalJSON(data []byte) error
- func (s *IntervalList) Validate() error
- type IntervalListInterval
- func (s *IntervalListInterval) Decode(d *jx.Decoder) error
- func (s IntervalListInterval) Encode(e *jx.Encoder)
- func (s IntervalListInterval) MarshalJSON() ([]byte, error)
- func (s IntervalListInterval) MarshalText() ([]byte, error)
- func (s *IntervalListInterval) UnmarshalJSON(data []byte) error
- func (s *IntervalListInterval) UnmarshalText(data []byte) error
- func (s IntervalListInterval) Validate() error
- type IntervalRead
- func (s *IntervalRead) Decode(d *jx.Decoder) error
- func (i *IntervalRead) Elem() IntervalRead
- func (s *IntervalRead) Encode(e *jx.Encoder)
- func (s *IntervalRead) GetActive() bool
- func (s *IntervalRead) GetDataSourceID() int
- func (s *IntervalRead) GetID() int
- func (s *IntervalRead) GetInterval() IntervalReadInterval
- func (s *IntervalRead) GetStockID() int
- func (s *IntervalRead) MarshalJSON() ([]byte, error)
- func (s *IntervalRead) SetActive(val bool)
- func (s *IntervalRead) SetDataSourceID(val int)
- func (s *IntervalRead) SetID(val int)
- func (s *IntervalRead) SetInterval(val IntervalReadInterval)
- func (s *IntervalRead) SetStockID(val int)
- func (s *IntervalRead) UnmarshalJSON(data []byte) error
- func (s *IntervalRead) Validate() error
- type IntervalReadInterval
- func (s *IntervalReadInterval) Decode(d *jx.Decoder) error
- func (s IntervalReadInterval) Encode(e *jx.Encoder)
- func (s IntervalReadInterval) MarshalJSON() ([]byte, error)
- func (s IntervalReadInterval) MarshalText() ([]byte, error)
- func (s *IntervalReadInterval) UnmarshalJSON(data []byte) error
- func (s *IntervalReadInterval) UnmarshalText(data []byte) error
- func (s IntervalReadInterval) Validate() error
- type IntervalStockRead
- func (s *IntervalStockRead) Decode(d *jx.Decoder) error
- func (e *IntervalStockRead) Elem() IntervalStockRead
- func (s *IntervalStockRead) Encode(e *jx.Encoder)
- func (s *IntervalStockRead) GetActive() bool
- func (s *IntervalStockRead) GetDelisted() OptDateTime
- func (s *IntervalStockRead) GetDescription() string
- func (s *IntervalStockRead) GetID() int
- func (s *IntervalStockRead) GetListDate() time.Time
- func (s *IntervalStockRead) GetName() string
- func (s *IntervalStockRead) GetTicker() string
- func (s *IntervalStockRead) MarshalJSON() ([]byte, error)
- func (s *IntervalStockRead) SetActive(val bool)
- func (s *IntervalStockRead) SetDelisted(val OptDateTime)
- func (s *IntervalStockRead) SetDescription(val string)
- func (s *IntervalStockRead) SetID(val int)
- func (s *IntervalStockRead) SetListDate(val time.Time)
- func (s *IntervalStockRead) SetName(val string)
- func (s *IntervalStockRead) SetTicker(val string)
- func (s *IntervalStockRead) UnmarshalJSON(data []byte) error
- type IntervalTradesList
- func (s *IntervalTradesList) Decode(d *jx.Decoder) error
- func (ttr *IntervalTradesList) Elem() IntervalTradesList
- func (s *IntervalTradesList) Encode(e *jx.Encoder)
- func (s *IntervalTradesList) GetEnd() time.Time
- func (s *IntervalTradesList) GetID() int
- func (s *IntervalTradesList) GetIntervalID() int
- func (s *IntervalTradesList) GetStart() time.Time
- func (s *IntervalTradesList) MarshalJSON() ([]byte, error)
- func (s *IntervalTradesList) SetEnd(val time.Time)
- func (s *IntervalTradesList) SetID(val int)
- func (s *IntervalTradesList) SetIntervalID(val int)
- func (s *IntervalTradesList) SetStart(val time.Time)
- func (s *IntervalTradesList) UnmarshalJSON(data []byte) error
- type IntervalUpdate
- func (s *IntervalUpdate) Decode(d *jx.Decoder) error
- func (i *IntervalUpdate) Elem() IntervalUpdate
- func (s *IntervalUpdate) Encode(e *jx.Encoder)
- func (s *IntervalUpdate) GetActive() bool
- func (s *IntervalUpdate) GetDataSourceID() int
- func (s *IntervalUpdate) GetID() int
- func (s *IntervalUpdate) GetInterval() IntervalUpdateInterval
- func (s *IntervalUpdate) GetStockID() int
- func (s *IntervalUpdate) MarshalJSON() ([]byte, error)
- func (s *IntervalUpdate) SetActive(val bool)
- func (s *IntervalUpdate) SetDataSourceID(val int)
- func (s *IntervalUpdate) SetID(val int)
- func (s *IntervalUpdate) SetInterval(val IntervalUpdateInterval)
- func (s *IntervalUpdate) SetStockID(val int)
- func (s *IntervalUpdate) UnmarshalJSON(data []byte) error
- func (s *IntervalUpdate) Validate() error
- type IntervalUpdateInterval
- func (s *IntervalUpdateInterval) Decode(d *jx.Decoder) error
- func (s IntervalUpdateInterval) Encode(e *jx.Encoder)
- func (s IntervalUpdateInterval) MarshalJSON() ([]byte, error)
- func (s IntervalUpdateInterval) MarshalText() ([]byte, error)
- func (s *IntervalUpdateInterval) UnmarshalJSON(data []byte) error
- func (s *IntervalUpdateInterval) UnmarshalText(data []byte) error
- func (s IntervalUpdateInterval) Validate() error
- type ListBarGroupOKApplicationJSON
- func (s *ListBarGroupOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListBarGroupOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListBarGroupOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListBarGroupOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListBarGroupOKApplicationJSON) Validate() error
- type ListBarGroupParams
- type ListBarGroupRecordsOKApplicationJSON
- func (s *ListBarGroupRecordsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListBarGroupRecordsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListBarGroupRecordsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListBarGroupRecordsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListBarGroupRecordsOKApplicationJSON) Validate() error
- type ListBarGroupRecordsParams
- type ListBarGroupRecordsRes
- type ListBarGroupRes
- type ListBarRecordOKApplicationJSON
- func (s *ListBarRecordOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListBarRecordOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListBarRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListBarRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListBarRecordOKApplicationJSON) Validate() error
- type ListBarRecordParams
- type ListBarRecordRes
- type ListBarTimeRangeGroupsOKApplicationJSON
- func (s *ListBarTimeRangeGroupsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListBarTimeRangeGroupsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListBarTimeRangeGroupsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListBarTimeRangeGroupsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListBarTimeRangeGroupsOKApplicationJSON) Validate() error
- type ListBarTimeRangeGroupsParams
- type ListBarTimeRangeGroupsRes
- type ListBarTimeRangeOKApplicationJSON
- func (s *ListBarTimeRangeOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListBarTimeRangeOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListBarTimeRangeOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListBarTimeRangeOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListBarTimeRangeOKApplicationJSON) Validate() error
- type ListBarTimeRangeParams
- type ListBarTimeRangeRes
- type ListDataSourceIntervalsOKApplicationJSON
- func (s *ListDataSourceIntervalsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListDataSourceIntervalsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListDataSourceIntervalsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListDataSourceIntervalsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListDataSourceIntervalsOKApplicationJSON) Validate() error
- type ListDataSourceIntervalsParams
- type ListDataSourceIntervalsRes
- type ListDataSourceOKApplicationJSON
- func (s *ListDataSourceOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListDataSourceOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListDataSourceOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListDataSourceOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListDataSourceOKApplicationJSON) Validate() error
- type ListDataSourceParams
- type ListDataSourceRes
- type ListDividendOKApplicationJSON
- func (s *ListDividendOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListDividendOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListDividendOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListDividendOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListDividendOKApplicationJSON) Validate() error
- type ListDividendParams
- type ListDividendRes
- type ListDividendStockOKApplicationJSON
- func (s *ListDividendStockOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListDividendStockOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListDividendStockOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListDividendStockOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListDividendStockOKApplicationJSON) Validate() error
- type ListDividendStockParams
- type ListDividendStockRes
- type ListEntityDividendsOKApplicationJSON
- func (s *ListEntityDividendsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntityDividendsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntityDividendsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntityDividendsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntityDividendsOKApplicationJSON) Validate() error
- type ListEntityDividendsParams
- type ListEntityDividendsRes
- type ListEntityExchangesOKApplicationJSON
- func (s *ListEntityExchangesOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntityExchangesOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntityExchangesOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntityExchangesOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntityExchangesOKApplicationJSON) Validate() error
- type ListEntityExchangesParams
- type ListEntityExchangesRes
- type ListEntityFinancialsOKApplicationJSON
- func (s *ListEntityFinancialsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntityFinancialsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntityFinancialsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntityFinancialsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntityFinancialsOKApplicationJSON) Validate() error
- type ListEntityFinancialsParams
- type ListEntityFinancialsRes
- type ListEntityIntervalsOKApplicationJSON
- func (s *ListEntityIntervalsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntityIntervalsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntityIntervalsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntityIntervalsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntityIntervalsOKApplicationJSON) Validate() error
- type ListEntityIntervalsParams
- type ListEntityIntervalsRes
- type ListEntityOKApplicationJSON
- func (s *ListEntityOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntityOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntityOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntityOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntityOKApplicationJSON) Validate() error
- type ListEntityParams
- type ListEntityRes
- type ListEntitySplitsOKApplicationJSON
- func (s *ListEntitySplitsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListEntitySplitsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListEntitySplitsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListEntitySplitsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListEntitySplitsOKApplicationJSON) Validate() error
- type ListEntitySplitsParams
- type ListEntitySplitsRes
- type ListExchangeOKApplicationJSON
- func (s *ListExchangeOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListExchangeOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListExchangeOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListExchangeOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListExchangeOKApplicationJSON) Validate() error
- type ListExchangeParams
- type ListExchangeRes
- type ListExchangeStocksOKApplicationJSON
- func (s *ListExchangeStocksOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListExchangeStocksOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListExchangeStocksOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListExchangeStocksOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListExchangeStocksOKApplicationJSON) Validate() error
- type ListExchangeStocksParams
- type ListExchangeStocksRes
- type ListFinancialOKApplicationJSON
- func (s *ListFinancialOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListFinancialOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListFinancialOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListFinancialOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListFinancialOKApplicationJSON) Validate() error
- type ListFinancialParams
- type ListFinancialRes
- type ListFinancialStockOKApplicationJSON
- func (s *ListFinancialStockOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListFinancialStockOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListFinancialStockOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListFinancialStockOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListFinancialStockOKApplicationJSON) Validate() error
- type ListFinancialStockParams
- type ListFinancialStockRes
- type ListIntervalBarsOKApplicationJSON
- func (s *ListIntervalBarsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListIntervalBarsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListIntervalBarsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListIntervalBarsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListIntervalBarsOKApplicationJSON) Validate() error
- type ListIntervalBarsParams
- type ListIntervalBarsRes
- type ListIntervalOKApplicationJSON
- func (s *ListIntervalOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListIntervalOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListIntervalOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListIntervalOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListIntervalOKApplicationJSON) Validate() error
- type ListIntervalParams
- type ListIntervalRes
- type ListIntervalTradesOKApplicationJSON
- func (s *ListIntervalTradesOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListIntervalTradesOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListIntervalTradesOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListIntervalTradesOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListIntervalTradesOKApplicationJSON) Validate() error
- type ListIntervalTradesParams
- type ListIntervalTradesRes
- type ListMarketHoursOKApplicationJSON
- func (s *ListMarketHoursOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListMarketHoursOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListMarketHoursOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListMarketHoursOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListMarketHoursOKApplicationJSON) Validate() error
- type ListMarketHoursParams
- type ListMarketHoursRes
- type ListMarketInfoHoursOKApplicationJSON
- func (s *ListMarketInfoHoursOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListMarketInfoHoursOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListMarketInfoHoursOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListMarketInfoHoursOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListMarketInfoHoursOKApplicationJSON) Validate() error
- type ListMarketInfoHoursParams
- type ListMarketInfoHoursRes
- type ListMarketInfoOKApplicationJSON
- func (s *ListMarketInfoOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListMarketInfoOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListMarketInfoOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListMarketInfoOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListMarketInfoOKApplicationJSON) Validate() error
- type ListMarketInfoParams
- type ListMarketInfoRes
- type ListSplitOKApplicationJSON
- func (s *ListSplitOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListSplitOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListSplitOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListSplitOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListSplitOKApplicationJSON) Validate() error
- type ListSplitParams
- type ListSplitRes
- type ListTradeConditionOKApplicationJSON
- func (s *ListTradeConditionOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeConditionOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeConditionOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeConditionOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeConditionOKApplicationJSON) Validate() error
- type ListTradeConditionParams
- type ListTradeConditionRecordOKApplicationJSON
- func (s *ListTradeConditionRecordOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeConditionRecordOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeConditionRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeConditionRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeConditionRecordOKApplicationJSON) Validate() error
- type ListTradeConditionRecordParams
- type ListTradeConditionRecordRes
- type ListTradeConditionRes
- type ListTradeCorrectionOKApplicationJSON
- func (s *ListTradeCorrectionOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeCorrectionOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeCorrectionOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeCorrectionOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeCorrectionOKApplicationJSON) Validate() error
- type ListTradeCorrectionParams
- type ListTradeCorrectionRecordOKApplicationJSON
- func (s *ListTradeCorrectionRecordOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeCorrectionRecordOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeCorrectionRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeCorrectionRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeCorrectionRecordOKApplicationJSON) Validate() error
- type ListTradeCorrectionRecordParams
- type ListTradeCorrectionRecordRes
- type ListTradeCorrectionRes
- type ListTradeRecordConditionsOKApplicationJSON
- func (s *ListTradeRecordConditionsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeRecordConditionsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeRecordConditionsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeRecordConditionsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeRecordConditionsOKApplicationJSON) Validate() error
- type ListTradeRecordConditionsParams
- type ListTradeRecordConditionsRes
- type ListTradeRecordCorrectionOKApplicationJSON
- func (s *ListTradeRecordCorrectionOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeRecordCorrectionOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeRecordCorrectionOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeRecordCorrectionOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeRecordCorrectionOKApplicationJSON) Validate() error
- type ListTradeRecordCorrectionParams
- type ListTradeRecordCorrectionRes
- type ListTradeRecordExchangeOKApplicationJSON
- func (s *ListTradeRecordExchangeOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeRecordExchangeOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeRecordExchangeOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeRecordExchangeOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeRecordExchangeOKApplicationJSON) Validate() error
- type ListTradeRecordExchangeParams
- type ListTradeRecordExchangeRes
- type ListTradeRecordOKApplicationJSON
- func (s *ListTradeRecordOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeRecordOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeRecordOKApplicationJSON) Validate() error
- type ListTradeRecordParams
- type ListTradeRecordRes
- type ListTradeTimeRangeOKApplicationJSON
- func (s *ListTradeTimeRangeOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeTimeRangeOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeTimeRangeOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeTimeRangeOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeTimeRangeOKApplicationJSON) Validate() error
- type ListTradeTimeRangeParams
- type ListTradeTimeRangeRecordsOKApplicationJSON
- func (s *ListTradeTimeRangeRecordsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListTradeTimeRangeRecordsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListTradeTimeRangeRecordsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListTradeTimeRangeRecordsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListTradeTimeRangeRecordsOKApplicationJSON) Validate() error
- type ListTradeTimeRangeRecordsParams
- type ListTradeTimeRangeRecordsRes
- type ListTradeTimeRangeRes
- type MarketHoursCreate
- func (s *MarketHoursCreate) Decode(d *jx.Decoder) error
- func (mh *MarketHoursCreate) Elem() MarketHoursCreate
- func (s *MarketHoursCreate) Encode(e *jx.Encoder)
- func (s *MarketHoursCreate) GetDate() time.Time
- func (s *MarketHoursCreate) GetEndTime() time.Time
- func (s *MarketHoursCreate) GetID() int
- func (s *MarketHoursCreate) GetStartTime() time.Time
- func (s *MarketHoursCreate) MarshalJSON() ([]byte, error)
- func (s *MarketHoursCreate) SetDate(val time.Time)
- func (s *MarketHoursCreate) SetEndTime(val time.Time)
- func (s *MarketHoursCreate) SetID(val int)
- func (s *MarketHoursCreate) SetStartTime(val time.Time)
- func (s *MarketHoursCreate) UnmarshalJSON(data []byte) error
- type MarketHoursList
- func (s *MarketHoursList) Decode(d *jx.Decoder) error
- func (mh *MarketHoursList) Elem() MarketHoursList
- func (s *MarketHoursList) Encode(e *jx.Encoder)
- func (s *MarketHoursList) GetDate() time.Time
- func (s *MarketHoursList) GetEndTime() time.Time
- func (s *MarketHoursList) GetID() int
- func (s *MarketHoursList) GetStartTime() time.Time
- func (s *MarketHoursList) MarshalJSON() ([]byte, error)
- func (s *MarketHoursList) SetDate(val time.Time)
- func (s *MarketHoursList) SetEndTime(val time.Time)
- func (s *MarketHoursList) SetID(val int)
- func (s *MarketHoursList) SetStartTime(val time.Time)
- func (s *MarketHoursList) UnmarshalJSON(data []byte) error
- type MarketHoursMarketInfoRead
- func (s *MarketHoursMarketInfoRead) Decode(d *jx.Decoder) error
- func (mi *MarketHoursMarketInfoRead) Elem() MarketHoursMarketInfoRead
- func (s *MarketHoursMarketInfoRead) Encode(e *jx.Encoder)
- func (s *MarketHoursMarketInfoRead) GetHoursEnd() time.Time
- func (s *MarketHoursMarketInfoRead) GetHoursStart() time.Time
- func (s *MarketHoursMarketInfoRead) GetID() int
- func (s *MarketHoursMarketInfoRead) MarshalJSON() ([]byte, error)
- func (s *MarketHoursMarketInfoRead) SetHoursEnd(val time.Time)
- func (s *MarketHoursMarketInfoRead) SetHoursStart(val time.Time)
- func (s *MarketHoursMarketInfoRead) SetID(val int)
- func (s *MarketHoursMarketInfoRead) UnmarshalJSON(data []byte) error
- type MarketHoursRead
- func (s *MarketHoursRead) Decode(d *jx.Decoder) error
- func (mh *MarketHoursRead) Elem() MarketHoursRead
- func (s *MarketHoursRead) Encode(e *jx.Encoder)
- func (s *MarketHoursRead) GetDate() time.Time
- func (s *MarketHoursRead) GetEndTime() time.Time
- func (s *MarketHoursRead) GetID() int
- func (s *MarketHoursRead) GetStartTime() time.Time
- func (s *MarketHoursRead) MarshalJSON() ([]byte, error)
- func (s *MarketHoursRead) SetDate(val time.Time)
- func (s *MarketHoursRead) SetEndTime(val time.Time)
- func (s *MarketHoursRead) SetID(val int)
- func (s *MarketHoursRead) SetStartTime(val time.Time)
- func (s *MarketHoursRead) UnmarshalJSON(data []byte) error
- type MarketHoursUpdate
- func (s *MarketHoursUpdate) Decode(d *jx.Decoder) error
- func (mh *MarketHoursUpdate) Elem() MarketHoursUpdate
- func (s *MarketHoursUpdate) Encode(e *jx.Encoder)
- func (s *MarketHoursUpdate) GetDate() time.Time
- func (s *MarketHoursUpdate) GetEndTime() time.Time
- func (s *MarketHoursUpdate) GetID() int
- func (s *MarketHoursUpdate) GetStartTime() time.Time
- func (s *MarketHoursUpdate) MarshalJSON() ([]byte, error)
- func (s *MarketHoursUpdate) SetDate(val time.Time)
- func (s *MarketHoursUpdate) SetEndTime(val time.Time)
- func (s *MarketHoursUpdate) SetID(val int)
- func (s *MarketHoursUpdate) SetStartTime(val time.Time)
- func (s *MarketHoursUpdate) UnmarshalJSON(data []byte) error
- type MarketInfoCreate
- func (s *MarketInfoCreate) Decode(d *jx.Decoder) error
- func (mi *MarketInfoCreate) Elem() MarketInfoCreate
- func (s *MarketInfoCreate) Encode(e *jx.Encoder)
- func (s *MarketInfoCreate) GetHoursEnd() time.Time
- func (s *MarketInfoCreate) GetHoursStart() time.Time
- func (s *MarketInfoCreate) GetID() int
- func (s *MarketInfoCreate) MarshalJSON() ([]byte, error)
- func (s *MarketInfoCreate) SetHoursEnd(val time.Time)
- func (s *MarketInfoCreate) SetHoursStart(val time.Time)
- func (s *MarketInfoCreate) SetID(val int)
- func (s *MarketInfoCreate) UnmarshalJSON(data []byte) error
- type MarketInfoHoursList
- func (s *MarketInfoHoursList) Decode(d *jx.Decoder) error
- func (mh *MarketInfoHoursList) Elem() MarketInfoHoursList
- func (s *MarketInfoHoursList) Encode(e *jx.Encoder)
- func (s *MarketInfoHoursList) GetDate() time.Time
- func (s *MarketInfoHoursList) GetEndTime() time.Time
- func (s *MarketInfoHoursList) GetID() int
- func (s *MarketInfoHoursList) GetStartTime() time.Time
- func (s *MarketInfoHoursList) MarshalJSON() ([]byte, error)
- func (s *MarketInfoHoursList) SetDate(val time.Time)
- func (s *MarketInfoHoursList) SetEndTime(val time.Time)
- func (s *MarketInfoHoursList) SetID(val int)
- func (s *MarketInfoHoursList) SetStartTime(val time.Time)
- func (s *MarketInfoHoursList) UnmarshalJSON(data []byte) error
- type MarketInfoList
- func (s *MarketInfoList) Decode(d *jx.Decoder) error
- func (mi *MarketInfoList) Elem() MarketInfoList
- func (s *MarketInfoList) Encode(e *jx.Encoder)
- func (s *MarketInfoList) GetHoursEnd() time.Time
- func (s *MarketInfoList) GetHoursStart() time.Time
- func (s *MarketInfoList) GetID() int
- func (s *MarketInfoList) MarshalJSON() ([]byte, error)
- func (s *MarketInfoList) SetHoursEnd(val time.Time)
- func (s *MarketInfoList) SetHoursStart(val time.Time)
- func (s *MarketInfoList) SetID(val int)
- func (s *MarketInfoList) UnmarshalJSON(data []byte) error
- type MarketInfoRead
- func (s *MarketInfoRead) Decode(d *jx.Decoder) error
- func (mi *MarketInfoRead) Elem() MarketInfoRead
- func (s *MarketInfoRead) Encode(e *jx.Encoder)
- func (s *MarketInfoRead) GetHoursEnd() time.Time
- func (s *MarketInfoRead) GetHoursStart() time.Time
- func (s *MarketInfoRead) GetID() int
- func (s *MarketInfoRead) MarshalJSON() ([]byte, error)
- func (s *MarketInfoRead) SetHoursEnd(val time.Time)
- func (s *MarketInfoRead) SetHoursStart(val time.Time)
- func (s *MarketInfoRead) SetID(val int)
- func (s *MarketInfoRead) UnmarshalJSON(data []byte) error
- type MarketInfoUpdate
- func (s *MarketInfoUpdate) Decode(d *jx.Decoder) error
- func (mi *MarketInfoUpdate) Elem() MarketInfoUpdate
- func (s *MarketInfoUpdate) Encode(e *jx.Encoder)
- func (s *MarketInfoUpdate) GetHoursEnd() time.Time
- func (s *MarketInfoUpdate) GetHoursStart() time.Time
- func (s *MarketInfoUpdate) GetID() int
- func (s *MarketInfoUpdate) MarshalJSON() ([]byte, error)
- func (s *MarketInfoUpdate) SetHoursEnd(val time.Time)
- func (s *MarketInfoUpdate) SetHoursStart(val time.Time)
- func (s *MarketInfoUpdate) SetID(val int)
- func (s *MarketInfoUpdate) UnmarshalJSON(data []byte) error
- type Middleware
- type OgentHandler
- func (h *OgentHandler) CreateBarGroup(ctx context.Context, req *CreateBarGroupReq) (CreateBarGroupRes, error)
- func (h *OgentHandler) CreateBarRecord(ctx context.Context, req *CreateBarRecordReq) (CreateBarRecordRes, error)
- func (h *OgentHandler) CreateBarTimeRange(ctx context.Context, req *CreateBarTimeRangeReq) (CreateBarTimeRangeRes, error)
- func (h *OgentHandler) CreateDataSource(ctx context.Context, req *CreateDataSourceReq) (CreateDataSourceRes, error)
- func (h *OgentHandler) CreateDividend(ctx context.Context, req *CreateDividendReq) (CreateDividendRes, error)
- func (h *OgentHandler) CreateEntity(ctx context.Context, req *CreateEntityReq) (CreateEntityRes, error)
- func (h *OgentHandler) CreateExchange(ctx context.Context, req *CreateExchangeReq) (CreateExchangeRes, error)
- func (h *OgentHandler) CreateFinancial(ctx context.Context, req *CreateFinancialReq) (CreateFinancialRes, error)
- func (h *OgentHandler) CreateInterval(ctx context.Context, req *CreateIntervalReq) (CreateIntervalRes, error)
- func (h *OgentHandler) CreateMarketHours(ctx context.Context, req *CreateMarketHoursReq) (CreateMarketHoursRes, error)
- func (h *OgentHandler) CreateMarketInfo(ctx context.Context, req *CreateMarketInfoReq) (CreateMarketInfoRes, error)
- func (h *OgentHandler) CreateSplit(ctx context.Context, req *CreateSplitReq) (CreateSplitRes, error)
- func (h *OgentHandler) CreateTradeCondition(ctx context.Context, req *CreateTradeConditionReq) (CreateTradeConditionRes, error)
- func (h *OgentHandler) CreateTradeCorrection(ctx context.Context, req *CreateTradeCorrectionReq) (CreateTradeCorrectionRes, error)
- func (h *OgentHandler) CreateTradeRecord(ctx context.Context, req *CreateTradeRecordReq) (CreateTradeRecordRes, error)
- func (h *OgentHandler) CreateTradeTimeRange(ctx context.Context, req *CreateTradeTimeRangeReq) (CreateTradeTimeRangeRes, error)
- func (h *OgentHandler) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (DeleteBarGroupRes, error)
- func (h *OgentHandler) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (DeleteBarRecordRes, error)
- func (h *OgentHandler) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (DeleteBarTimeRangeRes, error)
- func (h *OgentHandler) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (DeleteDataSourceRes, error)
- func (h *OgentHandler) DeleteDividend(ctx context.Context, params DeleteDividendParams) (DeleteDividendRes, error)
- func (h *OgentHandler) DeleteEntity(ctx context.Context, params DeleteEntityParams) (DeleteEntityRes, error)
- func (h *OgentHandler) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (DeleteExchangeRes, error)
- func (h *OgentHandler) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (DeleteFinancialRes, error)
- func (h *OgentHandler) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (DeleteIntervalRes, error)
- func (h *OgentHandler) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (DeleteMarketHoursRes, error)
- func (h *OgentHandler) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (DeleteMarketInfoRes, error)
- func (h *OgentHandler) DeleteSplit(ctx context.Context, params DeleteSplitParams) (DeleteSplitRes, error)
- func (h *OgentHandler) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (DeleteTradeConditionRes, error)
- func (h *OgentHandler) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (DeleteTradeCorrectionRes, error)
- func (h *OgentHandler) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (DeleteTradeRecordRes, error)
- func (h *OgentHandler) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (DeleteTradeTimeRangeRes, error)
- func (h *OgentHandler) ListBarGroup(ctx context.Context, params ListBarGroupParams) (ListBarGroupRes, error)
- func (h *OgentHandler) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (ListBarGroupRecordsRes, error)
- func (h *OgentHandler) ListBarRecord(ctx context.Context, params ListBarRecordParams) (ListBarRecordRes, error)
- func (h *OgentHandler) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (ListBarTimeRangeRes, error)
- func (h *OgentHandler) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (ListBarTimeRangeGroupsRes, error)
- func (h *OgentHandler) ListDataSource(ctx context.Context, params ListDataSourceParams) (ListDataSourceRes, error)
- func (h *OgentHandler) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (ListDataSourceIntervalsRes, error)
- func (h *OgentHandler) ListDividend(ctx context.Context, params ListDividendParams) (ListDividendRes, error)
- func (h *OgentHandler) ListDividendStock(ctx context.Context, params ListDividendStockParams) (ListDividendStockRes, error)
- func (h *OgentHandler) ListEntity(ctx context.Context, params ListEntityParams) (ListEntityRes, error)
- func (h *OgentHandler) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (ListEntityDividendsRes, error)
- func (h *OgentHandler) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (ListEntityExchangesRes, error)
- func (h *OgentHandler) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (ListEntityFinancialsRes, error)
- func (h *OgentHandler) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (ListEntityIntervalsRes, error)
- func (h *OgentHandler) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (ListEntitySplitsRes, error)
- func (h *OgentHandler) ListExchange(ctx context.Context, params ListExchangeParams) (ListExchangeRes, error)
- func (h *OgentHandler) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (ListExchangeStocksRes, error)
- func (h *OgentHandler) ListFinancial(ctx context.Context, params ListFinancialParams) (ListFinancialRes, error)
- func (h *OgentHandler) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (ListFinancialStockRes, error)
- func (h *OgentHandler) ListInterval(ctx context.Context, params ListIntervalParams) (ListIntervalRes, error)
- func (h *OgentHandler) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (ListIntervalBarsRes, error)
- func (h *OgentHandler) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (ListIntervalTradesRes, error)
- func (h *OgentHandler) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (ListMarketHoursRes, error)
- func (h *OgentHandler) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (ListMarketInfoRes, error)
- func (h *OgentHandler) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (ListMarketInfoHoursRes, error)
- func (h *OgentHandler) ListSplit(ctx context.Context, params ListSplitParams) (ListSplitRes, error)
- func (h *OgentHandler) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (ListTradeConditionRes, error)
- func (h *OgentHandler) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (ListTradeConditionRecordRes, error)
- func (h *OgentHandler) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (ListTradeCorrectionRes, error)
- func (h *OgentHandler) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (ListTradeCorrectionRecordRes, error)
- func (h *OgentHandler) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (ListTradeRecordRes, error)
- func (h *OgentHandler) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (ListTradeRecordConditionsRes, error)
- func (h *OgentHandler) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (ListTradeRecordCorrectionRes, error)
- func (h *OgentHandler) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (ListTradeRecordExchangeRes, error)
- func (h *OgentHandler) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (ListTradeTimeRangeRes, error)
- func (h *OgentHandler) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (ListTradeTimeRangeRecordsRes, error)
- func (h *OgentHandler) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (ReadBarGroupRes, error)
- func (h *OgentHandler) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (ReadBarGroupTimeRangeRes, error)
- func (h *OgentHandler) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (ReadBarRecordRes, error)
- func (h *OgentHandler) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (ReadBarRecordGroupRes, error)
- func (h *OgentHandler) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (ReadBarTimeRangeRes, error)
- func (h *OgentHandler) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (ReadBarTimeRangeIntervalRes, error)
- func (h *OgentHandler) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (ReadDataSourceRes, error)
- func (h *OgentHandler) ReadDividend(ctx context.Context, params ReadDividendParams) (ReadDividendRes, error)
- func (h *OgentHandler) ReadEntity(ctx context.Context, params ReadEntityParams) (ReadEntityRes, error)
- func (h *OgentHandler) ReadExchange(ctx context.Context, params ReadExchangeParams) (ReadExchangeRes, error)
- func (h *OgentHandler) ReadFinancial(ctx context.Context, params ReadFinancialParams) (ReadFinancialRes, error)
- func (h *OgentHandler) ReadInterval(ctx context.Context, params ReadIntervalParams) (ReadIntervalRes, error)
- func (h *OgentHandler) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (ReadIntervalDataSourceRes, error)
- func (h *OgentHandler) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (ReadIntervalStockRes, error)
- func (h *OgentHandler) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (ReadMarketHoursRes, error)
- func (h *OgentHandler) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (ReadMarketHoursMarketInfoRes, error)
- func (h *OgentHandler) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (ReadMarketInfoRes, error)
- func (h *OgentHandler) ReadSplit(ctx context.Context, params ReadSplitParams) (ReadSplitRes, error)
- func (h *OgentHandler) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (ReadSplitStockRes, error)
- func (h *OgentHandler) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (ReadTradeConditionRes, error)
- func (h *OgentHandler) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (ReadTradeCorrectionRes, error)
- func (h *OgentHandler) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (ReadTradeRecordRes, error)
- func (h *OgentHandler) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (ReadTradeRecordTimeRangeRes, error)
- func (h *OgentHandler) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (ReadTradeTimeRangeRes, error)
- func (h *OgentHandler) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (ReadTradeTimeRangeIntervalRes, error)
- func (h *OgentHandler) UpdateBarGroup(ctx context.Context, req *UpdateBarGroupReq, params UpdateBarGroupParams) (UpdateBarGroupRes, error)
- func (h *OgentHandler) UpdateBarRecord(ctx context.Context, req *UpdateBarRecordReq, params UpdateBarRecordParams) (UpdateBarRecordRes, error)
- func (h *OgentHandler) UpdateBarTimeRange(ctx context.Context, req *UpdateBarTimeRangeReq, ...) (UpdateBarTimeRangeRes, error)
- func (h *OgentHandler) UpdateDataSource(ctx context.Context, req *UpdateDataSourceReq, params UpdateDataSourceParams) (UpdateDataSourceRes, error)
- func (h *OgentHandler) UpdateDividend(ctx context.Context, req *UpdateDividendReq, params UpdateDividendParams) (UpdateDividendRes, error)
- func (h *OgentHandler) UpdateEntity(ctx context.Context, req *UpdateEntityReq, params UpdateEntityParams) (UpdateEntityRes, error)
- func (h *OgentHandler) UpdateExchange(ctx context.Context, req *UpdateExchangeReq, params UpdateExchangeParams) (UpdateExchangeRes, error)
- func (h *OgentHandler) UpdateFinancial(ctx context.Context, req *UpdateFinancialReq, params UpdateFinancialParams) (UpdateFinancialRes, error)
- func (h *OgentHandler) UpdateInterval(ctx context.Context, req *UpdateIntervalReq, params UpdateIntervalParams) (UpdateIntervalRes, error)
- func (h *OgentHandler) UpdateMarketHours(ctx context.Context, req *UpdateMarketHoursReq, params UpdateMarketHoursParams) (UpdateMarketHoursRes, error)
- func (h *OgentHandler) UpdateMarketInfo(ctx context.Context, req *UpdateMarketInfoReq, params UpdateMarketInfoParams) (UpdateMarketInfoRes, error)
- func (h *OgentHandler) UpdateSplit(ctx context.Context, req *UpdateSplitReq, params UpdateSplitParams) (UpdateSplitRes, error)
- func (h *OgentHandler) UpdateTradeCondition(ctx context.Context, req *UpdateTradeConditionReq, ...) (UpdateTradeConditionRes, error)
- func (h *OgentHandler) UpdateTradeCorrection(ctx context.Context, req *UpdateTradeCorrectionReq, ...) (UpdateTradeCorrectionRes, error)
- func (h *OgentHandler) UpdateTradeRecord(ctx context.Context, req *UpdateTradeRecordReq, params UpdateTradeRecordParams) (UpdateTradeRecordRes, error)
- func (h *OgentHandler) UpdateTradeTimeRange(ctx context.Context, req *UpdateTradeTimeRangeReq, ...) (UpdateTradeTimeRangeRes, error)
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptUpdateBarTimeRangeReqStatus
- func (o *OptUpdateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
- func (o OptUpdateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
- func (o OptUpdateBarTimeRangeReqStatus) Get() (v UpdateBarTimeRangeReqStatus, ok bool)
- func (o OptUpdateBarTimeRangeReqStatus) IsSet() bool
- func (s OptUpdateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
- func (o OptUpdateBarTimeRangeReqStatus) Or(d UpdateBarTimeRangeReqStatus) UpdateBarTimeRangeReqStatus
- func (o *OptUpdateBarTimeRangeReqStatus) Reset()
- func (o *OptUpdateBarTimeRangeReqStatus) SetTo(v UpdateBarTimeRangeReqStatus)
- func (s *OptUpdateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
- type OptUpdateDividendReqDividendType
- func (o *OptUpdateDividendReqDividendType) Decode(d *jx.Decoder) error
- func (o OptUpdateDividendReqDividendType) Encode(e *jx.Encoder)
- func (o OptUpdateDividendReqDividendType) Get() (v UpdateDividendReqDividendType, ok bool)
- func (o OptUpdateDividendReqDividendType) IsSet() bool
- func (s OptUpdateDividendReqDividendType) MarshalJSON() ([]byte, error)
- func (o OptUpdateDividendReqDividendType) Or(d UpdateDividendReqDividendType) UpdateDividendReqDividendType
- func (o *OptUpdateDividendReqDividendType) Reset()
- func (o *OptUpdateDividendReqDividendType) SetTo(v UpdateDividendReqDividendType)
- func (s *OptUpdateDividendReqDividendType) UnmarshalJSON(data []byte) error
- type OptUpdateIntervalReqInterval
- func (o *OptUpdateIntervalReqInterval) Decode(d *jx.Decoder) error
- func (o OptUpdateIntervalReqInterval) Encode(e *jx.Encoder)
- func (o OptUpdateIntervalReqInterval) Get() (v UpdateIntervalReqInterval, ok bool)
- func (o OptUpdateIntervalReqInterval) IsSet() bool
- func (s OptUpdateIntervalReqInterval) MarshalJSON() ([]byte, error)
- func (o OptUpdateIntervalReqInterval) Or(d UpdateIntervalReqInterval) UpdateIntervalReqInterval
- func (o *OptUpdateIntervalReqInterval) Reset()
- func (o *OptUpdateIntervalReqInterval) SetTo(v UpdateIntervalReqInterval)
- func (s *OptUpdateIntervalReqInterval) UnmarshalJSON(data []byte) error
- type Option
- type R400
- func (s *R400) Decode(d *jx.Decoder) error
- func (s *R400) Encode(e *jx.Encoder)
- func (s *R400) GetCode() int
- func (s *R400) GetErrors() jx.Raw
- func (s *R400) GetStatus() string
- func (s *R400) MarshalJSON() ([]byte, error)
- func (s *R400) SetCode(val int)
- func (s *R400) SetErrors(val jx.Raw)
- func (s *R400) SetStatus(val string)
- func (s *R400) UnmarshalJSON(data []byte) error
- type R404
- func (s *R404) Decode(d *jx.Decoder) error
- func (s *R404) Encode(e *jx.Encoder)
- func (s *R404) GetCode() int
- func (s *R404) GetErrors() jx.Raw
- func (s *R404) GetStatus() string
- func (s *R404) MarshalJSON() ([]byte, error)
- func (s *R404) SetCode(val int)
- func (s *R404) SetErrors(val jx.Raw)
- func (s *R404) SetStatus(val string)
- func (s *R404) UnmarshalJSON(data []byte) error
- type R409
- func (s *R409) Decode(d *jx.Decoder) error
- func (s *R409) Encode(e *jx.Encoder)
- func (s *R409) GetCode() int
- func (s *R409) GetErrors() jx.Raw
- func (s *R409) GetStatus() string
- func (s *R409) MarshalJSON() ([]byte, error)
- func (s *R409) SetCode(val int)
- func (s *R409) SetErrors(val jx.Raw)
- func (s *R409) SetStatus(val string)
- func (s *R409) UnmarshalJSON(data []byte) error
- type R500
- func (s *R500) Decode(d *jx.Decoder) error
- func (s *R500) Encode(e *jx.Encoder)
- func (s *R500) GetCode() int
- func (s *R500) GetErrors() jx.Raw
- func (s *R500) GetStatus() string
- func (s *R500) MarshalJSON() ([]byte, error)
- func (s *R500) SetCode(val int)
- func (s *R500) SetErrors(val jx.Raw)
- func (s *R500) SetStatus(val string)
- func (s *R500) UnmarshalJSON(data []byte) error
- type ReadBarGroupParams
- type ReadBarGroupRes
- type ReadBarGroupTimeRangeParams
- type ReadBarGroupTimeRangeRes
- type ReadBarRecordGroupParams
- type ReadBarRecordGroupRes
- type ReadBarRecordParams
- type ReadBarRecordRes
- type ReadBarTimeRangeIntervalParams
- type ReadBarTimeRangeIntervalRes
- type ReadBarTimeRangeParams
- type ReadBarTimeRangeRes
- type ReadDataSourceParams
- type ReadDataSourceRes
- type ReadDividendParams
- type ReadDividendRes
- type ReadEntityParams
- type ReadEntityRes
- type ReadExchangeParams
- type ReadExchangeRes
- type ReadFinancialParams
- type ReadFinancialRes
- type ReadIntervalDataSourceParams
- type ReadIntervalDataSourceRes
- type ReadIntervalParams
- type ReadIntervalRes
- type ReadIntervalStockParams
- type ReadIntervalStockRes
- type ReadMarketHoursMarketInfoParams
- type ReadMarketHoursMarketInfoRes
- type ReadMarketHoursParams
- type ReadMarketHoursRes
- type ReadMarketInfoParams
- type ReadMarketInfoRes
- type ReadSplitParams
- type ReadSplitRes
- type ReadSplitStockParams
- type ReadSplitStockRes
- type ReadTradeConditionParams
- type ReadTradeConditionRes
- type ReadTradeCorrectionParams
- type ReadTradeCorrectionRes
- type ReadTradeRecordParams
- type ReadTradeRecordRes
- type ReadTradeRecordTimeRangeParams
- type ReadTradeRecordTimeRangeRes
- type ReadTradeTimeRangeIntervalParams
- type ReadTradeTimeRangeIntervalRes
- type ReadTradeTimeRangeParams
- type ReadTradeTimeRangeRes
- type Route
- type SearchTickerOK
- func (s *SearchTickerOK) Decode(d *jx.Decoder) error
- func (s *SearchTickerOK) Encode(e *jx.Encoder)
- func (s *SearchTickerOK) GetErrors() jx.Raw
- func (s *SearchTickerOK) GetResults() []SearchTickerOKResultsItem
- func (s *SearchTickerOK) GetStatus() jx.Raw
- func (s *SearchTickerOK) MarshalJSON() ([]byte, error)
- func (s *SearchTickerOK) SetErrors(val jx.Raw)
- func (s *SearchTickerOK) SetResults(val []SearchTickerOKResultsItem)
- func (s *SearchTickerOK) SetStatus(val jx.Raw)
- func (s *SearchTickerOK) UnmarshalJSON(data []byte) error
- func (s *SearchTickerOK) Validate() error
- type SearchTickerOKResultsItem
- func (s *SearchTickerOKResultsItem) Decode(d *jx.Decoder) error
- func (s *SearchTickerOKResultsItem) Encode(e *jx.Encoder)
- func (s *SearchTickerOKResultsItem) GetName() string
- func (s *SearchTickerOKResultsItem) GetTicker() string
- func (s *SearchTickerOKResultsItem) MarshalJSON() ([]byte, error)
- func (s *SearchTickerOKResultsItem) SetName(val string)
- func (s *SearchTickerOKResultsItem) SetTicker(val string)
- func (s *SearchTickerOKResultsItem) UnmarshalJSON(data []byte) error
- type SearchTickerParams
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SplitCreate
- func (s *SplitCreate) Decode(d *jx.Decoder) error
- func (s *SplitCreate) Elem() SplitCreate
- func (s *SplitCreate) Encode(e *jx.Encoder)
- func (s *SplitCreate) GetExecutionDate() time.Time
- func (s *SplitCreate) GetFrom() float64
- func (s *SplitCreate) GetID() int
- func (s *SplitCreate) GetTo() float64
- func (s *SplitCreate) MarshalJSON() ([]byte, error)
- func (s *SplitCreate) SetExecutionDate(val time.Time)
- func (s *SplitCreate) SetFrom(val float64)
- func (s *SplitCreate) SetID(val int)
- func (s *SplitCreate) SetTo(val float64)
- func (s *SplitCreate) UnmarshalJSON(data []byte) error
- func (s *SplitCreate) Validate() error
- type SplitList
- func (s *SplitList) Decode(d *jx.Decoder) error
- func (s *SplitList) Elem() SplitList
- func (s *SplitList) Encode(e *jx.Encoder)
- func (s *SplitList) GetExecutionDate() time.Time
- func (s *SplitList) GetFrom() float64
- func (s *SplitList) GetID() int
- func (s *SplitList) GetTo() float64
- func (s *SplitList) MarshalJSON() ([]byte, error)
- func (s *SplitList) SetExecutionDate(val time.Time)
- func (s *SplitList) SetFrom(val float64)
- func (s *SplitList) SetID(val int)
- func (s *SplitList) SetTo(val float64)
- func (s *SplitList) UnmarshalJSON(data []byte) error
- func (s *SplitList) Validate() error
- type SplitRead
- func (s *SplitRead) Decode(d *jx.Decoder) error
- func (s *SplitRead) Elem() SplitRead
- func (s *SplitRead) Encode(e *jx.Encoder)
- func (s *SplitRead) GetExecutionDate() time.Time
- func (s *SplitRead) GetFrom() float64
- func (s *SplitRead) GetID() int
- func (s *SplitRead) GetTo() float64
- func (s *SplitRead) MarshalJSON() ([]byte, error)
- func (s *SplitRead) SetExecutionDate(val time.Time)
- func (s *SplitRead) SetFrom(val float64)
- func (s *SplitRead) SetID(val int)
- func (s *SplitRead) SetTo(val float64)
- func (s *SplitRead) UnmarshalJSON(data []byte) error
- func (s *SplitRead) Validate() error
- type SplitStockRead
- func (s *SplitStockRead) Decode(d *jx.Decoder) error
- func (e *SplitStockRead) Elem() SplitStockRead
- func (s *SplitStockRead) Encode(e *jx.Encoder)
- func (s *SplitStockRead) GetActive() bool
- func (s *SplitStockRead) GetDelisted() OptDateTime
- func (s *SplitStockRead) GetDescription() string
- func (s *SplitStockRead) GetID() int
- func (s *SplitStockRead) GetListDate() time.Time
- func (s *SplitStockRead) GetName() string
- func (s *SplitStockRead) GetTicker() string
- func (s *SplitStockRead) MarshalJSON() ([]byte, error)
- func (s *SplitStockRead) SetActive(val bool)
- func (s *SplitStockRead) SetDelisted(val OptDateTime)
- func (s *SplitStockRead) SetDescription(val string)
- func (s *SplitStockRead) SetID(val int)
- func (s *SplitStockRead) SetListDate(val time.Time)
- func (s *SplitStockRead) SetName(val string)
- func (s *SplitStockRead) SetTicker(val string)
- func (s *SplitStockRead) UnmarshalJSON(data []byte) error
- type SplitUpdate
- func (s *SplitUpdate) Decode(d *jx.Decoder) error
- func (s *SplitUpdate) Elem() SplitUpdate
- func (s *SplitUpdate) Encode(e *jx.Encoder)
- func (s *SplitUpdate) GetExecutionDate() time.Time
- func (s *SplitUpdate) GetFrom() float64
- func (s *SplitUpdate) GetID() int
- func (s *SplitUpdate) GetTo() float64
- func (s *SplitUpdate) MarshalJSON() ([]byte, error)
- func (s *SplitUpdate) SetExecutionDate(val time.Time)
- func (s *SplitUpdate) SetFrom(val float64)
- func (s *SplitUpdate) SetID(val int)
- func (s *SplitUpdate) SetTo(val float64)
- func (s *SplitUpdate) UnmarshalJSON(data []byte) error
- func (s *SplitUpdate) Validate() error
- type TradeConditionCreate
- func (s *TradeConditionCreate) Decode(d *jx.Decoder) error
- func (tc *TradeConditionCreate) Elem() TradeConditionCreate
- func (s *TradeConditionCreate) Encode(e *jx.Encoder)
- func (s *TradeConditionCreate) GetCondition() string
- func (s *TradeConditionCreate) GetID() int
- func (s *TradeConditionCreate) MarshalJSON() ([]byte, error)
- func (s *TradeConditionCreate) SetCondition(val string)
- func (s *TradeConditionCreate) SetID(val int)
- func (s *TradeConditionCreate) UnmarshalJSON(data []byte) error
- type TradeConditionList
- func (s *TradeConditionList) Decode(d *jx.Decoder) error
- func (tc *TradeConditionList) Elem() TradeConditionList
- func (s *TradeConditionList) Encode(e *jx.Encoder)
- func (s *TradeConditionList) GetCondition() string
- func (s *TradeConditionList) GetID() int
- func (s *TradeConditionList) MarshalJSON() ([]byte, error)
- func (s *TradeConditionList) SetCondition(val string)
- func (s *TradeConditionList) SetID(val int)
- func (s *TradeConditionList) UnmarshalJSON(data []byte) error
- type TradeConditionRead
- func (s *TradeConditionRead) Decode(d *jx.Decoder) error
- func (tc *TradeConditionRead) Elem() TradeConditionRead
- func (s *TradeConditionRead) Encode(e *jx.Encoder)
- func (s *TradeConditionRead) GetCondition() string
- func (s *TradeConditionRead) GetID() int
- func (s *TradeConditionRead) MarshalJSON() ([]byte, error)
- func (s *TradeConditionRead) SetCondition(val string)
- func (s *TradeConditionRead) SetID(val int)
- func (s *TradeConditionRead) UnmarshalJSON(data []byte) error
- type TradeConditionRecordList
- func (s *TradeConditionRecordList) Decode(d *jx.Decoder) error
- func (tr *TradeConditionRecordList) Elem() TradeConditionRecordList
- func (s *TradeConditionRecordList) Encode(e *jx.Encoder)
- func (s *TradeConditionRecordList) GetID() int
- func (s *TradeConditionRecordList) GetPrice() float64
- func (s *TradeConditionRecordList) GetTimeRangeID() int
- func (s *TradeConditionRecordList) GetTimestamp() time.Time
- func (s *TradeConditionRecordList) GetVolume() int32
- func (s *TradeConditionRecordList) MarshalJSON() ([]byte, error)
- func (s *TradeConditionRecordList) SetID(val int)
- func (s *TradeConditionRecordList) SetPrice(val float64)
- func (s *TradeConditionRecordList) SetTimeRangeID(val int)
- func (s *TradeConditionRecordList) SetTimestamp(val time.Time)
- func (s *TradeConditionRecordList) SetVolume(val int32)
- func (s *TradeConditionRecordList) UnmarshalJSON(data []byte) error
- func (s *TradeConditionRecordList) Validate() error
- type TradeConditionUpdate
- func (s *TradeConditionUpdate) Decode(d *jx.Decoder) error
- func (tc *TradeConditionUpdate) Elem() TradeConditionUpdate
- func (s *TradeConditionUpdate) Encode(e *jx.Encoder)
- func (s *TradeConditionUpdate) GetCondition() string
- func (s *TradeConditionUpdate) GetID() int
- func (s *TradeConditionUpdate) MarshalJSON() ([]byte, error)
- func (s *TradeConditionUpdate) SetCondition(val string)
- func (s *TradeConditionUpdate) SetID(val int)
- func (s *TradeConditionUpdate) UnmarshalJSON(data []byte) error
- type TradeCorrectionCreate
- func (s *TradeCorrectionCreate) Decode(d *jx.Decoder) error
- func (tc *TradeCorrectionCreate) Elem() TradeCorrectionCreate
- func (s *TradeCorrectionCreate) Encode(e *jx.Encoder)
- func (s *TradeCorrectionCreate) GetCorrection() string
- func (s *TradeCorrectionCreate) GetID() int
- func (s *TradeCorrectionCreate) MarshalJSON() ([]byte, error)
- func (s *TradeCorrectionCreate) SetCorrection(val string)
- func (s *TradeCorrectionCreate) SetID(val int)
- func (s *TradeCorrectionCreate) UnmarshalJSON(data []byte) error
- type TradeCorrectionList
- func (s *TradeCorrectionList) Decode(d *jx.Decoder) error
- func (tc *TradeCorrectionList) Elem() TradeCorrectionList
- func (s *TradeCorrectionList) Encode(e *jx.Encoder)
- func (s *TradeCorrectionList) GetCorrection() string
- func (s *TradeCorrectionList) GetID() int
- func (s *TradeCorrectionList) MarshalJSON() ([]byte, error)
- func (s *TradeCorrectionList) SetCorrection(val string)
- func (s *TradeCorrectionList) SetID(val int)
- func (s *TradeCorrectionList) UnmarshalJSON(data []byte) error
- type TradeCorrectionRead
- func (s *TradeCorrectionRead) Decode(d *jx.Decoder) error
- func (tc *TradeCorrectionRead) Elem() TradeCorrectionRead
- func (s *TradeCorrectionRead) Encode(e *jx.Encoder)
- func (s *TradeCorrectionRead) GetCorrection() string
- func (s *TradeCorrectionRead) GetID() int
- func (s *TradeCorrectionRead) MarshalJSON() ([]byte, error)
- func (s *TradeCorrectionRead) SetCorrection(val string)
- func (s *TradeCorrectionRead) SetID(val int)
- func (s *TradeCorrectionRead) UnmarshalJSON(data []byte) error
- type TradeCorrectionRecordList
- func (s *TradeCorrectionRecordList) Decode(d *jx.Decoder) error
- func (tr *TradeCorrectionRecordList) Elem() TradeCorrectionRecordList
- func (s *TradeCorrectionRecordList) Encode(e *jx.Encoder)
- func (s *TradeCorrectionRecordList) GetID() int
- func (s *TradeCorrectionRecordList) GetPrice() float64
- func (s *TradeCorrectionRecordList) GetTimeRangeID() int
- func (s *TradeCorrectionRecordList) GetTimestamp() time.Time
- func (s *TradeCorrectionRecordList) GetVolume() int32
- func (s *TradeCorrectionRecordList) MarshalJSON() ([]byte, error)
- func (s *TradeCorrectionRecordList) SetID(val int)
- func (s *TradeCorrectionRecordList) SetPrice(val float64)
- func (s *TradeCorrectionRecordList) SetTimeRangeID(val int)
- func (s *TradeCorrectionRecordList) SetTimestamp(val time.Time)
- func (s *TradeCorrectionRecordList) SetVolume(val int32)
- func (s *TradeCorrectionRecordList) UnmarshalJSON(data []byte) error
- func (s *TradeCorrectionRecordList) Validate() error
- type TradeCorrectionUpdate
- func (s *TradeCorrectionUpdate) Decode(d *jx.Decoder) error
- func (tc *TradeCorrectionUpdate) Elem() TradeCorrectionUpdate
- func (s *TradeCorrectionUpdate) Encode(e *jx.Encoder)
- func (s *TradeCorrectionUpdate) GetCorrection() string
- func (s *TradeCorrectionUpdate) GetID() int
- func (s *TradeCorrectionUpdate) MarshalJSON() ([]byte, error)
- func (s *TradeCorrectionUpdate) SetCorrection(val string)
- func (s *TradeCorrectionUpdate) SetID(val int)
- func (s *TradeCorrectionUpdate) UnmarshalJSON(data []byte) error
- type TradeRecordConditionsList
- func (s *TradeRecordConditionsList) Decode(d *jx.Decoder) error
- func (tc *TradeRecordConditionsList) Elem() TradeRecordConditionsList
- func (s *TradeRecordConditionsList) Encode(e *jx.Encoder)
- func (s *TradeRecordConditionsList) GetCondition() string
- func (s *TradeRecordConditionsList) GetID() int
- func (s *TradeRecordConditionsList) MarshalJSON() ([]byte, error)
- func (s *TradeRecordConditionsList) SetCondition(val string)
- func (s *TradeRecordConditionsList) SetID(val int)
- func (s *TradeRecordConditionsList) UnmarshalJSON(data []byte) error
- type TradeRecordCorrectionList
- func (s *TradeRecordCorrectionList) Decode(d *jx.Decoder) error
- func (tc *TradeRecordCorrectionList) Elem() TradeRecordCorrectionList
- func (s *TradeRecordCorrectionList) Encode(e *jx.Encoder)
- func (s *TradeRecordCorrectionList) GetCorrection() string
- func (s *TradeRecordCorrectionList) GetID() int
- func (s *TradeRecordCorrectionList) MarshalJSON() ([]byte, error)
- func (s *TradeRecordCorrectionList) SetCorrection(val string)
- func (s *TradeRecordCorrectionList) SetID(val int)
- func (s *TradeRecordCorrectionList) UnmarshalJSON(data []byte) error
- type TradeRecordCreate
- func (s *TradeRecordCreate) Decode(d *jx.Decoder) error
- func (tr *TradeRecordCreate) Elem() TradeRecordCreate
- func (s *TradeRecordCreate) Encode(e *jx.Encoder)
- func (s *TradeRecordCreate) GetID() int
- func (s *TradeRecordCreate) GetPrice() float64
- func (s *TradeRecordCreate) GetTimeRangeID() int
- func (s *TradeRecordCreate) GetTimestamp() time.Time
- func (s *TradeRecordCreate) GetVolume() int32
- func (s *TradeRecordCreate) MarshalJSON() ([]byte, error)
- func (s *TradeRecordCreate) SetID(val int)
- func (s *TradeRecordCreate) SetPrice(val float64)
- func (s *TradeRecordCreate) SetTimeRangeID(val int)
- func (s *TradeRecordCreate) SetTimestamp(val time.Time)
- func (s *TradeRecordCreate) SetVolume(val int32)
- func (s *TradeRecordCreate) UnmarshalJSON(data []byte) error
- func (s *TradeRecordCreate) Validate() error
- type TradeRecordExchangeList
- func (s *TradeRecordExchangeList) Decode(d *jx.Decoder) error
- func (e *TradeRecordExchangeList) Elem() TradeRecordExchangeList
- func (s *TradeRecordExchangeList) Encode(e *jx.Encoder)
- func (s *TradeRecordExchangeList) GetCode() string
- func (s *TradeRecordExchangeList) GetID() int
- func (s *TradeRecordExchangeList) GetName() string
- func (s *TradeRecordExchangeList) MarshalJSON() ([]byte, error)
- func (s *TradeRecordExchangeList) SetCode(val string)
- func (s *TradeRecordExchangeList) SetID(val int)
- func (s *TradeRecordExchangeList) SetName(val string)
- func (s *TradeRecordExchangeList) UnmarshalJSON(data []byte) error
- type TradeRecordList
- func (s *TradeRecordList) Decode(d *jx.Decoder) error
- func (tr *TradeRecordList) Elem() TradeRecordList
- func (s *TradeRecordList) Encode(e *jx.Encoder)
- func (s *TradeRecordList) GetID() int
- func (s *TradeRecordList) GetPrice() float64
- func (s *TradeRecordList) GetTimeRangeID() int
- func (s *TradeRecordList) GetTimestamp() time.Time
- func (s *TradeRecordList) GetVolume() int32
- func (s *TradeRecordList) MarshalJSON() ([]byte, error)
- func (s *TradeRecordList) SetID(val int)
- func (s *TradeRecordList) SetPrice(val float64)
- func (s *TradeRecordList) SetTimeRangeID(val int)
- func (s *TradeRecordList) SetTimestamp(val time.Time)
- func (s *TradeRecordList) SetVolume(val int32)
- func (s *TradeRecordList) UnmarshalJSON(data []byte) error
- func (s *TradeRecordList) Validate() error
- type TradeRecordRead
- func (s *TradeRecordRead) Decode(d *jx.Decoder) error
- func (tr *TradeRecordRead) Elem() TradeRecordRead
- func (s *TradeRecordRead) Encode(e *jx.Encoder)
- func (s *TradeRecordRead) GetID() int
- func (s *TradeRecordRead) GetPrice() float64
- func (s *TradeRecordRead) GetTimeRangeID() int
- func (s *TradeRecordRead) GetTimestamp() time.Time
- func (s *TradeRecordRead) GetVolume() int32
- func (s *TradeRecordRead) MarshalJSON() ([]byte, error)
- func (s *TradeRecordRead) SetID(val int)
- func (s *TradeRecordRead) SetPrice(val float64)
- func (s *TradeRecordRead) SetTimeRangeID(val int)
- func (s *TradeRecordRead) SetTimestamp(val time.Time)
- func (s *TradeRecordRead) SetVolume(val int32)
- func (s *TradeRecordRead) UnmarshalJSON(data []byte) error
- func (s *TradeRecordRead) Validate() error
- type TradeRecordTimeRangeRead
- func (s *TradeRecordTimeRangeRead) Decode(d *jx.Decoder) error
- func (ttr *TradeRecordTimeRangeRead) Elem() TradeRecordTimeRangeRead
- func (s *TradeRecordTimeRangeRead) Encode(e *jx.Encoder)
- func (s *TradeRecordTimeRangeRead) GetEnd() time.Time
- func (s *TradeRecordTimeRangeRead) GetID() int
- func (s *TradeRecordTimeRangeRead) GetIntervalID() int
- func (s *TradeRecordTimeRangeRead) GetStart() time.Time
- func (s *TradeRecordTimeRangeRead) MarshalJSON() ([]byte, error)
- func (s *TradeRecordTimeRangeRead) SetEnd(val time.Time)
- func (s *TradeRecordTimeRangeRead) SetID(val int)
- func (s *TradeRecordTimeRangeRead) SetIntervalID(val int)
- func (s *TradeRecordTimeRangeRead) SetStart(val time.Time)
- func (s *TradeRecordTimeRangeRead) UnmarshalJSON(data []byte) error
- type TradeRecordUpdate
- func (s *TradeRecordUpdate) Decode(d *jx.Decoder) error
- func (tr *TradeRecordUpdate) Elem() TradeRecordUpdate
- func (s *TradeRecordUpdate) Encode(e *jx.Encoder)
- func (s *TradeRecordUpdate) GetID() int
- func (s *TradeRecordUpdate) GetPrice() float64
- func (s *TradeRecordUpdate) GetTimeRangeID() int
- func (s *TradeRecordUpdate) GetTimestamp() time.Time
- func (s *TradeRecordUpdate) GetVolume() int32
- func (s *TradeRecordUpdate) MarshalJSON() ([]byte, error)
- func (s *TradeRecordUpdate) SetID(val int)
- func (s *TradeRecordUpdate) SetPrice(val float64)
- func (s *TradeRecordUpdate) SetTimeRangeID(val int)
- func (s *TradeRecordUpdate) SetTimestamp(val time.Time)
- func (s *TradeRecordUpdate) SetVolume(val int32)
- func (s *TradeRecordUpdate) UnmarshalJSON(data []byte) error
- func (s *TradeRecordUpdate) Validate() error
- type TradeTimeRangeCreate
- func (s *TradeTimeRangeCreate) Decode(d *jx.Decoder) error
- func (ttr *TradeTimeRangeCreate) Elem() TradeTimeRangeCreate
- func (s *TradeTimeRangeCreate) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeCreate) GetEnd() time.Time
- func (s *TradeTimeRangeCreate) GetID() int
- func (s *TradeTimeRangeCreate) GetIntervalID() int
- func (s *TradeTimeRangeCreate) GetStart() time.Time
- func (s *TradeTimeRangeCreate) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeCreate) SetEnd(val time.Time)
- func (s *TradeTimeRangeCreate) SetID(val int)
- func (s *TradeTimeRangeCreate) SetIntervalID(val int)
- func (s *TradeTimeRangeCreate) SetStart(val time.Time)
- func (s *TradeTimeRangeCreate) UnmarshalJSON(data []byte) error
- type TradeTimeRangeIntervalRead
- func (s *TradeTimeRangeIntervalRead) Decode(d *jx.Decoder) error
- func (i *TradeTimeRangeIntervalRead) Elem() TradeTimeRangeIntervalRead
- func (s *TradeTimeRangeIntervalRead) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeIntervalRead) GetActive() bool
- func (s *TradeTimeRangeIntervalRead) GetDataSourceID() int
- func (s *TradeTimeRangeIntervalRead) GetID() int
- func (s *TradeTimeRangeIntervalRead) GetInterval() TradeTimeRangeIntervalReadInterval
- func (s *TradeTimeRangeIntervalRead) GetStockID() int
- func (s *TradeTimeRangeIntervalRead) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeIntervalRead) SetActive(val bool)
- func (s *TradeTimeRangeIntervalRead) SetDataSourceID(val int)
- func (s *TradeTimeRangeIntervalRead) SetID(val int)
- func (s *TradeTimeRangeIntervalRead) SetInterval(val TradeTimeRangeIntervalReadInterval)
- func (s *TradeTimeRangeIntervalRead) SetStockID(val int)
- func (s *TradeTimeRangeIntervalRead) UnmarshalJSON(data []byte) error
- func (s *TradeTimeRangeIntervalRead) Validate() error
- type TradeTimeRangeIntervalReadInterval
- func (s *TradeTimeRangeIntervalReadInterval) Decode(d *jx.Decoder) error
- func (s TradeTimeRangeIntervalReadInterval) Encode(e *jx.Encoder)
- func (s TradeTimeRangeIntervalReadInterval) MarshalJSON() ([]byte, error)
- func (s TradeTimeRangeIntervalReadInterval) MarshalText() ([]byte, error)
- func (s *TradeTimeRangeIntervalReadInterval) UnmarshalJSON(data []byte) error
- func (s *TradeTimeRangeIntervalReadInterval) UnmarshalText(data []byte) error
- func (s TradeTimeRangeIntervalReadInterval) Validate() error
- type TradeTimeRangeList
- func (s *TradeTimeRangeList) Decode(d *jx.Decoder) error
- func (ttr *TradeTimeRangeList) Elem() TradeTimeRangeList
- func (s *TradeTimeRangeList) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeList) GetEnd() time.Time
- func (s *TradeTimeRangeList) GetID() int
- func (s *TradeTimeRangeList) GetIntervalID() int
- func (s *TradeTimeRangeList) GetStart() time.Time
- func (s *TradeTimeRangeList) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeList) SetEnd(val time.Time)
- func (s *TradeTimeRangeList) SetID(val int)
- func (s *TradeTimeRangeList) SetIntervalID(val int)
- func (s *TradeTimeRangeList) SetStart(val time.Time)
- func (s *TradeTimeRangeList) UnmarshalJSON(data []byte) error
- type TradeTimeRangeRead
- func (s *TradeTimeRangeRead) Decode(d *jx.Decoder) error
- func (ttr *TradeTimeRangeRead) Elem() TradeTimeRangeRead
- func (s *TradeTimeRangeRead) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeRead) GetEnd() time.Time
- func (s *TradeTimeRangeRead) GetID() int
- func (s *TradeTimeRangeRead) GetIntervalID() int
- func (s *TradeTimeRangeRead) GetStart() time.Time
- func (s *TradeTimeRangeRead) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeRead) SetEnd(val time.Time)
- func (s *TradeTimeRangeRead) SetID(val int)
- func (s *TradeTimeRangeRead) SetIntervalID(val int)
- func (s *TradeTimeRangeRead) SetStart(val time.Time)
- func (s *TradeTimeRangeRead) UnmarshalJSON(data []byte) error
- type TradeTimeRangeRecordsList
- func (s *TradeTimeRangeRecordsList) Decode(d *jx.Decoder) error
- func (tr *TradeTimeRangeRecordsList) Elem() TradeTimeRangeRecordsList
- func (s *TradeTimeRangeRecordsList) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeRecordsList) GetID() int
- func (s *TradeTimeRangeRecordsList) GetPrice() float64
- func (s *TradeTimeRangeRecordsList) GetTimeRangeID() int
- func (s *TradeTimeRangeRecordsList) GetTimestamp() time.Time
- func (s *TradeTimeRangeRecordsList) GetVolume() int32
- func (s *TradeTimeRangeRecordsList) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeRecordsList) SetID(val int)
- func (s *TradeTimeRangeRecordsList) SetPrice(val float64)
- func (s *TradeTimeRangeRecordsList) SetTimeRangeID(val int)
- func (s *TradeTimeRangeRecordsList) SetTimestamp(val time.Time)
- func (s *TradeTimeRangeRecordsList) SetVolume(val int32)
- func (s *TradeTimeRangeRecordsList) UnmarshalJSON(data []byte) error
- func (s *TradeTimeRangeRecordsList) Validate() error
- type TradeTimeRangeUpdate
- func (s *TradeTimeRangeUpdate) Decode(d *jx.Decoder) error
- func (ttr *TradeTimeRangeUpdate) Elem() TradeTimeRangeUpdate
- func (s *TradeTimeRangeUpdate) Encode(e *jx.Encoder)
- func (s *TradeTimeRangeUpdate) GetEnd() time.Time
- func (s *TradeTimeRangeUpdate) GetID() int
- func (s *TradeTimeRangeUpdate) GetIntervalID() int
- func (s *TradeTimeRangeUpdate) GetStart() time.Time
- func (s *TradeTimeRangeUpdate) MarshalJSON() ([]byte, error)
- func (s *TradeTimeRangeUpdate) SetEnd(val time.Time)
- func (s *TradeTimeRangeUpdate) SetID(val int)
- func (s *TradeTimeRangeUpdate) SetIntervalID(val int)
- func (s *TradeTimeRangeUpdate) SetStart(val time.Time)
- func (s *TradeTimeRangeUpdate) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) AddTicker(ctx context.Context, params AddTickerParams) error
- func (UnimplementedHandler) CreateBarGroup(ctx context.Context, req *CreateBarGroupReq) (r CreateBarGroupRes, _ error)
- func (UnimplementedHandler) CreateBarRecord(ctx context.Context, req *CreateBarRecordReq) (r CreateBarRecordRes, _ error)
- func (UnimplementedHandler) CreateBarTimeRange(ctx context.Context, req *CreateBarTimeRangeReq) (r CreateBarTimeRangeRes, _ error)
- func (UnimplementedHandler) CreateDataSource(ctx context.Context, req *CreateDataSourceReq) (r CreateDataSourceRes, _ error)
- func (UnimplementedHandler) CreateDividend(ctx context.Context, req *CreateDividendReq) (r CreateDividendRes, _ error)
- func (UnimplementedHandler) CreateEntity(ctx context.Context, req *CreateEntityReq) (r CreateEntityRes, _ error)
- func (UnimplementedHandler) CreateExchange(ctx context.Context, req *CreateExchangeReq) (r CreateExchangeRes, _ error)
- func (UnimplementedHandler) CreateFinancial(ctx context.Context, req *CreateFinancialReq) (r CreateFinancialRes, _ error)
- func (UnimplementedHandler) CreateInterval(ctx context.Context, req *CreateIntervalReq) (r CreateIntervalRes, _ error)
- func (UnimplementedHandler) CreateMarketHours(ctx context.Context, req *CreateMarketHoursReq) (r CreateMarketHoursRes, _ error)
- func (UnimplementedHandler) CreateMarketInfo(ctx context.Context, req *CreateMarketInfoReq) (r CreateMarketInfoRes, _ error)
- func (UnimplementedHandler) CreateSplit(ctx context.Context, req *CreateSplitReq) (r CreateSplitRes, _ error)
- func (UnimplementedHandler) CreateTradeCondition(ctx context.Context, req *CreateTradeConditionReq) (r CreateTradeConditionRes, _ error)
- func (UnimplementedHandler) CreateTradeCorrection(ctx context.Context, req *CreateTradeCorrectionReq) (r CreateTradeCorrectionRes, _ error)
- func (UnimplementedHandler) CreateTradeRecord(ctx context.Context, req *CreateTradeRecordReq) (r CreateTradeRecordRes, _ error)
- func (UnimplementedHandler) CreateTradeTimeRange(ctx context.Context, req *CreateTradeTimeRangeReq) (r CreateTradeTimeRangeRes, _ error)
- func (UnimplementedHandler) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (r DeleteBarGroupRes, _ error)
- func (UnimplementedHandler) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (r DeleteBarRecordRes, _ error)
- func (UnimplementedHandler) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (r DeleteBarTimeRangeRes, _ error)
- func (UnimplementedHandler) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (r DeleteDataSourceRes, _ error)
- func (UnimplementedHandler) DeleteDividend(ctx context.Context, params DeleteDividendParams) (r DeleteDividendRes, _ error)
- func (UnimplementedHandler) DeleteEntity(ctx context.Context, params DeleteEntityParams) (r DeleteEntityRes, _ error)
- func (UnimplementedHandler) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (r DeleteExchangeRes, _ error)
- func (UnimplementedHandler) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (r DeleteFinancialRes, _ error)
- func (UnimplementedHandler) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (r DeleteIntervalRes, _ error)
- func (UnimplementedHandler) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (r DeleteMarketHoursRes, _ error)
- func (UnimplementedHandler) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (r DeleteMarketInfoRes, _ error)
- func (UnimplementedHandler) DeleteSplit(ctx context.Context, params DeleteSplitParams) (r DeleteSplitRes, _ error)
- func (UnimplementedHandler) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (r DeleteTradeConditionRes, _ error)
- func (UnimplementedHandler) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (r DeleteTradeCorrectionRes, _ error)
- func (UnimplementedHandler) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (r DeleteTradeRecordRes, _ error)
- func (UnimplementedHandler) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (r DeleteTradeTimeRangeRes, _ error)
- func (UnimplementedHandler) ListBarGroup(ctx context.Context, params ListBarGroupParams) (r ListBarGroupRes, _ error)
- func (UnimplementedHandler) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (r ListBarGroupRecordsRes, _ error)
- func (UnimplementedHandler) ListBarRecord(ctx context.Context, params ListBarRecordParams) (r ListBarRecordRes, _ error)
- func (UnimplementedHandler) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (r ListBarTimeRangeRes, _ error)
- func (UnimplementedHandler) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (r ListBarTimeRangeGroupsRes, _ error)
- func (UnimplementedHandler) ListDataSource(ctx context.Context, params ListDataSourceParams) (r ListDataSourceRes, _ error)
- func (UnimplementedHandler) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (r ListDataSourceIntervalsRes, _ error)
- func (UnimplementedHandler) ListDividend(ctx context.Context, params ListDividendParams) (r ListDividendRes, _ error)
- func (UnimplementedHandler) ListDividendStock(ctx context.Context, params ListDividendStockParams) (r ListDividendStockRes, _ error)
- func (UnimplementedHandler) ListEntity(ctx context.Context, params ListEntityParams) (r ListEntityRes, _ error)
- func (UnimplementedHandler) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (r ListEntityDividendsRes, _ error)
- func (UnimplementedHandler) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (r ListEntityExchangesRes, _ error)
- func (UnimplementedHandler) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (r ListEntityFinancialsRes, _ error)
- func (UnimplementedHandler) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (r ListEntityIntervalsRes, _ error)
- func (UnimplementedHandler) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (r ListEntitySplitsRes, _ error)
- func (UnimplementedHandler) ListExchange(ctx context.Context, params ListExchangeParams) (r ListExchangeRes, _ error)
- func (UnimplementedHandler) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (r ListExchangeStocksRes, _ error)
- func (UnimplementedHandler) ListFinancial(ctx context.Context, params ListFinancialParams) (r ListFinancialRes, _ error)
- func (UnimplementedHandler) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (r ListFinancialStockRes, _ error)
- func (UnimplementedHandler) ListInterval(ctx context.Context, params ListIntervalParams) (r ListIntervalRes, _ error)
- func (UnimplementedHandler) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (r ListIntervalBarsRes, _ error)
- func (UnimplementedHandler) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (r ListIntervalTradesRes, _ error)
- func (UnimplementedHandler) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (r ListMarketHoursRes, _ error)
- func (UnimplementedHandler) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (r ListMarketInfoRes, _ error)
- func (UnimplementedHandler) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (r ListMarketInfoHoursRes, _ error)
- func (UnimplementedHandler) ListSplit(ctx context.Context, params ListSplitParams) (r ListSplitRes, _ error)
- func (UnimplementedHandler) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (r ListTradeConditionRes, _ error)
- func (UnimplementedHandler) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (r ListTradeConditionRecordRes, _ error)
- func (UnimplementedHandler) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (r ListTradeCorrectionRes, _ error)
- func (UnimplementedHandler) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (r ListTradeCorrectionRecordRes, _ error)
- func (UnimplementedHandler) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (r ListTradeRecordRes, _ error)
- func (UnimplementedHandler) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (r ListTradeRecordConditionsRes, _ error)
- func (UnimplementedHandler) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (r ListTradeRecordCorrectionRes, _ error)
- func (UnimplementedHandler) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (r ListTradeRecordExchangeRes, _ error)
- func (UnimplementedHandler) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (r ListTradeTimeRangeRes, _ error)
- func (UnimplementedHandler) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (r ListTradeTimeRangeRecordsRes, _ error)
- func (UnimplementedHandler) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (r ReadBarGroupRes, _ error)
- func (UnimplementedHandler) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (r ReadBarGroupTimeRangeRes, _ error)
- func (UnimplementedHandler) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (r ReadBarRecordRes, _ error)
- func (UnimplementedHandler) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (r ReadBarRecordGroupRes, _ error)
- func (UnimplementedHandler) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (r ReadBarTimeRangeRes, _ error)
- func (UnimplementedHandler) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (r ReadBarTimeRangeIntervalRes, _ error)
- func (UnimplementedHandler) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (r ReadDataSourceRes, _ error)
- func (UnimplementedHandler) ReadDividend(ctx context.Context, params ReadDividendParams) (r ReadDividendRes, _ error)
- func (UnimplementedHandler) ReadEntity(ctx context.Context, params ReadEntityParams) (r ReadEntityRes, _ error)
- func (UnimplementedHandler) ReadExchange(ctx context.Context, params ReadExchangeParams) (r ReadExchangeRes, _ error)
- func (UnimplementedHandler) ReadFinancial(ctx context.Context, params ReadFinancialParams) (r ReadFinancialRes, _ error)
- func (UnimplementedHandler) ReadInterval(ctx context.Context, params ReadIntervalParams) (r ReadIntervalRes, _ error)
- func (UnimplementedHandler) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (r ReadIntervalDataSourceRes, _ error)
- func (UnimplementedHandler) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (r ReadIntervalStockRes, _ error)
- func (UnimplementedHandler) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (r ReadMarketHoursRes, _ error)
- func (UnimplementedHandler) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (r ReadMarketHoursMarketInfoRes, _ error)
- func (UnimplementedHandler) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (r ReadMarketInfoRes, _ error)
- func (UnimplementedHandler) ReadSplit(ctx context.Context, params ReadSplitParams) (r ReadSplitRes, _ error)
- func (UnimplementedHandler) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (r ReadSplitStockRes, _ error)
- func (UnimplementedHandler) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (r ReadTradeConditionRes, _ error)
- func (UnimplementedHandler) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (r ReadTradeCorrectionRes, _ error)
- func (UnimplementedHandler) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (r ReadTradeRecordRes, _ error)
- func (UnimplementedHandler) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (r ReadTradeRecordTimeRangeRes, _ error)
- func (UnimplementedHandler) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (r ReadTradeTimeRangeRes, _ error)
- func (UnimplementedHandler) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (r ReadTradeTimeRangeIntervalRes, _ error)
- func (UnimplementedHandler) SearchTicker(ctx context.Context, params SearchTickerParams) (r *SearchTickerOK, _ error)
- func (UnimplementedHandler) UpdateBarGroup(ctx context.Context, req *UpdateBarGroupReq, params UpdateBarGroupParams) (r UpdateBarGroupRes, _ error)
- func (UnimplementedHandler) UpdateBarRecord(ctx context.Context, req *UpdateBarRecordReq, params UpdateBarRecordParams) (r UpdateBarRecordRes, _ error)
- func (UnimplementedHandler) UpdateBarTimeRange(ctx context.Context, req *UpdateBarTimeRangeReq, ...) (r UpdateBarTimeRangeRes, _ error)
- func (UnimplementedHandler) UpdateDataSource(ctx context.Context, req *UpdateDataSourceReq, params UpdateDataSourceParams) (r UpdateDataSourceRes, _ error)
- func (UnimplementedHandler) UpdateDividend(ctx context.Context, req *UpdateDividendReq, params UpdateDividendParams) (r UpdateDividendRes, _ error)
- func (UnimplementedHandler) UpdateEntity(ctx context.Context, req *UpdateEntityReq, params UpdateEntityParams) (r UpdateEntityRes, _ error)
- func (UnimplementedHandler) UpdateExchange(ctx context.Context, req *UpdateExchangeReq, params UpdateExchangeParams) (r UpdateExchangeRes, _ error)
- func (UnimplementedHandler) UpdateFinancial(ctx context.Context, req *UpdateFinancialReq, params UpdateFinancialParams) (r UpdateFinancialRes, _ error)
- func (UnimplementedHandler) UpdateInterval(ctx context.Context, req *UpdateIntervalReq, params UpdateIntervalParams) (r UpdateIntervalRes, _ error)
- func (UnimplementedHandler) UpdateMarketHours(ctx context.Context, req *UpdateMarketHoursReq, params UpdateMarketHoursParams) (r UpdateMarketHoursRes, _ error)
- func (UnimplementedHandler) UpdateMarketInfo(ctx context.Context, req *UpdateMarketInfoReq, params UpdateMarketInfoParams) (r UpdateMarketInfoRes, _ error)
- func (UnimplementedHandler) UpdateSplit(ctx context.Context, req *UpdateSplitReq, params UpdateSplitParams) (r UpdateSplitRes, _ error)
- func (UnimplementedHandler) UpdateTradeCondition(ctx context.Context, req *UpdateTradeConditionReq, ...) (r UpdateTradeConditionRes, _ error)
- func (UnimplementedHandler) UpdateTradeCorrection(ctx context.Context, req *UpdateTradeCorrectionReq, ...) (r UpdateTradeCorrectionRes, _ error)
- func (UnimplementedHandler) UpdateTradeRecord(ctx context.Context, req *UpdateTradeRecordReq, params UpdateTradeRecordParams) (r UpdateTradeRecordRes, _ error)
- func (UnimplementedHandler) UpdateTradeTimeRange(ctx context.Context, req *UpdateTradeTimeRangeReq, ...) (r UpdateTradeTimeRangeRes, _ error)
- type UpdateBarGroupParams
- type UpdateBarGroupReq
- func (s *UpdateBarGroupReq) Decode(d *jx.Decoder) error
- func (s *UpdateBarGroupReq) Encode(e *jx.Encoder)
- func (s *UpdateBarGroupReq) GetCount() OptInt
- func (s *UpdateBarGroupReq) GetFirst() OptDateTime
- func (s *UpdateBarGroupReq) GetLast() OptDateTime
- func (s *UpdateBarGroupReq) GetRecords() []int
- func (s *UpdateBarGroupReq) GetTimeRange() OptInt
- func (s *UpdateBarGroupReq) GetTimeRangeID() OptInt
- func (s *UpdateBarGroupReq) MarshalJSON() ([]byte, error)
- func (s *UpdateBarGroupReq) SetCount(val OptInt)
- func (s *UpdateBarGroupReq) SetFirst(val OptDateTime)
- func (s *UpdateBarGroupReq) SetLast(val OptDateTime)
- func (s *UpdateBarGroupReq) SetRecords(val []int)
- func (s *UpdateBarGroupReq) SetTimeRange(val OptInt)
- func (s *UpdateBarGroupReq) SetTimeRangeID(val OptInt)
- func (s *UpdateBarGroupReq) UnmarshalJSON(data []byte) error
- type UpdateBarGroupRes
- type UpdateBarRecordParams
- type UpdateBarRecordReq
- func (s *UpdateBarRecordReq) Decode(d *jx.Decoder) error
- func (s *UpdateBarRecordReq) Encode(e *jx.Encoder)
- func (s *UpdateBarRecordReq) GetClose() OptFloat64
- func (s *UpdateBarRecordReq) GetGroup() OptInt
- func (s *UpdateBarRecordReq) GetHigh() OptFloat64
- func (s *UpdateBarRecordReq) GetLow() OptFloat64
- func (s *UpdateBarRecordReq) GetOpen() OptFloat64
- func (s *UpdateBarRecordReq) GetTimestamp() OptDateTime
- func (s *UpdateBarRecordReq) GetTransactions() OptInt32
- func (s *UpdateBarRecordReq) GetVolume() OptFloat64
- func (s *UpdateBarRecordReq) MarshalJSON() ([]byte, error)
- func (s *UpdateBarRecordReq) SetClose(val OptFloat64)
- func (s *UpdateBarRecordReq) SetGroup(val OptInt)
- func (s *UpdateBarRecordReq) SetHigh(val OptFloat64)
- func (s *UpdateBarRecordReq) SetLow(val OptFloat64)
- func (s *UpdateBarRecordReq) SetOpen(val OptFloat64)
- func (s *UpdateBarRecordReq) SetTimestamp(val OptDateTime)
- func (s *UpdateBarRecordReq) SetTransactions(val OptInt32)
- func (s *UpdateBarRecordReq) SetVolume(val OptFloat64)
- func (s *UpdateBarRecordReq) UnmarshalJSON(data []byte) error
- func (s *UpdateBarRecordReq) Validate() error
- type UpdateBarRecordRes
- type UpdateBarTimeRangeParams
- type UpdateBarTimeRangeReq
- func (s *UpdateBarTimeRangeReq) Decode(d *jx.Decoder) error
- func (s *UpdateBarTimeRangeReq) Encode(e *jx.Encoder)
- func (s *UpdateBarTimeRangeReq) GetCount() OptInt
- func (s *UpdateBarTimeRangeReq) GetEnd() OptDateTime
- func (s *UpdateBarTimeRangeReq) GetGroups() []int
- func (s *UpdateBarTimeRangeReq) GetInterval() OptInt
- func (s *UpdateBarTimeRangeReq) GetIntervalID() OptInt
- func (s *UpdateBarTimeRangeReq) GetStart() OptDateTime
- func (s *UpdateBarTimeRangeReq) GetStatus() OptUpdateBarTimeRangeReqStatus
- func (s *UpdateBarTimeRangeReq) GetUpdateTime() OptDateTime
- func (s *UpdateBarTimeRangeReq) MarshalJSON() ([]byte, error)
- func (s *UpdateBarTimeRangeReq) SetCount(val OptInt)
- func (s *UpdateBarTimeRangeReq) SetEnd(val OptDateTime)
- func (s *UpdateBarTimeRangeReq) SetGroups(val []int)
- func (s *UpdateBarTimeRangeReq) SetInterval(val OptInt)
- func (s *UpdateBarTimeRangeReq) SetIntervalID(val OptInt)
- func (s *UpdateBarTimeRangeReq) SetStart(val OptDateTime)
- func (s *UpdateBarTimeRangeReq) SetStatus(val OptUpdateBarTimeRangeReqStatus)
- func (s *UpdateBarTimeRangeReq) SetUpdateTime(val OptDateTime)
- func (s *UpdateBarTimeRangeReq) UnmarshalJSON(data []byte) error
- func (s *UpdateBarTimeRangeReq) Validate() error
- type UpdateBarTimeRangeReqStatus
- func (s *UpdateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
- func (s UpdateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
- func (s UpdateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
- func (s UpdateBarTimeRangeReqStatus) MarshalText() ([]byte, error)
- func (s *UpdateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
- func (s *UpdateBarTimeRangeReqStatus) UnmarshalText(data []byte) error
- func (s UpdateBarTimeRangeReqStatus) Validate() error
- type UpdateBarTimeRangeRes
- type UpdateDataSourceParams
- type UpdateDataSourceReq
- func (s *UpdateDataSourceReq) Decode(d *jx.Decoder) error
- func (s *UpdateDataSourceReq) Encode(e *jx.Encoder)
- func (s *UpdateDataSourceReq) GetAddress() OptString
- func (s *UpdateDataSourceReq) GetIntervals() []int
- func (s *UpdateDataSourceReq) GetName() OptString
- func (s *UpdateDataSourceReq) MarshalJSON() ([]byte, error)
- func (s *UpdateDataSourceReq) SetAddress(val OptString)
- func (s *UpdateDataSourceReq) SetIntervals(val []int)
- func (s *UpdateDataSourceReq) SetName(val OptString)
- func (s *UpdateDataSourceReq) UnmarshalJSON(data []byte) error
- type UpdateDataSourceRes
- type UpdateDividendParams
- type UpdateDividendReq
- func (s *UpdateDividendReq) Decode(d *jx.Decoder) error
- func (s *UpdateDividendReq) Encode(e *jx.Encoder)
- func (s *UpdateDividendReq) GetCashAmount() OptFloat64
- func (s *UpdateDividendReq) GetDeclarationDate() OptDateTime
- func (s *UpdateDividendReq) GetDividendType() OptUpdateDividendReqDividendType
- func (s *UpdateDividendReq) GetExDividendDate() OptDateTime
- func (s *UpdateDividendReq) GetFrequency() OptInt
- func (s *UpdateDividendReq) GetPayDate() OptDateTime
- func (s *UpdateDividendReq) GetRecordDate() OptDateTime
- func (s *UpdateDividendReq) GetStock() []int
- func (s *UpdateDividendReq) MarshalJSON() ([]byte, error)
- func (s *UpdateDividendReq) SetCashAmount(val OptFloat64)
- func (s *UpdateDividendReq) SetDeclarationDate(val OptDateTime)
- func (s *UpdateDividendReq) SetDividendType(val OptUpdateDividendReqDividendType)
- func (s *UpdateDividendReq) SetExDividendDate(val OptDateTime)
- func (s *UpdateDividendReq) SetFrequency(val OptInt)
- func (s *UpdateDividendReq) SetPayDate(val OptDateTime)
- func (s *UpdateDividendReq) SetRecordDate(val OptDateTime)
- func (s *UpdateDividendReq) SetStock(val []int)
- func (s *UpdateDividendReq) UnmarshalJSON(data []byte) error
- func (s *UpdateDividendReq) Validate() error
- type UpdateDividendReqDividendType
- func (s *UpdateDividendReqDividendType) Decode(d *jx.Decoder) error
- func (s UpdateDividendReqDividendType) Encode(e *jx.Encoder)
- func (s UpdateDividendReqDividendType) MarshalJSON() ([]byte, error)
- func (s UpdateDividendReqDividendType) MarshalText() ([]byte, error)
- func (s *UpdateDividendReqDividendType) UnmarshalJSON(data []byte) error
- func (s *UpdateDividendReqDividendType) UnmarshalText(data []byte) error
- func (s UpdateDividendReqDividendType) Validate() error
- type UpdateDividendRes
- type UpdateEntityParams
- type UpdateEntityReq
- func (s *UpdateEntityReq) Decode(d *jx.Decoder) error
- func (s *UpdateEntityReq) Encode(e *jx.Encoder)
- func (s *UpdateEntityReq) GetActive() OptBool
- func (s *UpdateEntityReq) GetDelisted() OptDateTime
- func (s *UpdateEntityReq) GetDescription() OptString
- func (s *UpdateEntityReq) GetDividends() []int
- func (s *UpdateEntityReq) GetExchanges() []int
- func (s *UpdateEntityReq) GetFinancials() []int
- func (s *UpdateEntityReq) GetIntervals() []int
- func (s *UpdateEntityReq) GetListDate() OptDateTime
- func (s *UpdateEntityReq) GetName() OptString
- func (s *UpdateEntityReq) GetSplits() []int
- func (s *UpdateEntityReq) GetTicker() OptString
- func (s *UpdateEntityReq) MarshalJSON() ([]byte, error)
- func (s *UpdateEntityReq) SetActive(val OptBool)
- func (s *UpdateEntityReq) SetDelisted(val OptDateTime)
- func (s *UpdateEntityReq) SetDescription(val OptString)
- func (s *UpdateEntityReq) SetDividends(val []int)
- func (s *UpdateEntityReq) SetExchanges(val []int)
- func (s *UpdateEntityReq) SetFinancials(val []int)
- func (s *UpdateEntityReq) SetIntervals(val []int)
- func (s *UpdateEntityReq) SetListDate(val OptDateTime)
- func (s *UpdateEntityReq) SetName(val OptString)
- func (s *UpdateEntityReq) SetSplits(val []int)
- func (s *UpdateEntityReq) SetTicker(val OptString)
- func (s *UpdateEntityReq) UnmarshalJSON(data []byte) error
- type UpdateEntityRes
- type UpdateExchangeParams
- type UpdateExchangeReq
- func (s *UpdateExchangeReq) Decode(d *jx.Decoder) error
- func (s *UpdateExchangeReq) Encode(e *jx.Encoder)
- func (s *UpdateExchangeReq) GetCode() OptString
- func (s *UpdateExchangeReq) GetName() OptString
- func (s *UpdateExchangeReq) GetStocks() []int
- func (s *UpdateExchangeReq) MarshalJSON() ([]byte, error)
- func (s *UpdateExchangeReq) SetCode(val OptString)
- func (s *UpdateExchangeReq) SetName(val OptString)
- func (s *UpdateExchangeReq) SetStocks(val []int)
- func (s *UpdateExchangeReq) UnmarshalJSON(data []byte) error
- type UpdateExchangeRes
- type UpdateFinancialParams
- type UpdateFinancialReq
- func (s *UpdateFinancialReq) Decode(d *jx.Decoder) error
- func (s *UpdateFinancialReq) Encode(e *jx.Encoder)
- func (s *UpdateFinancialReq) GetStock() []int
- func (s *UpdateFinancialReq) MarshalJSON() ([]byte, error)
- func (s *UpdateFinancialReq) SetStock(val []int)
- func (s *UpdateFinancialReq) UnmarshalJSON(data []byte) error
- type UpdateFinancialRes
- type UpdateIntervalParams
- type UpdateIntervalReq
- func (s *UpdateIntervalReq) Decode(d *jx.Decoder) error
- func (s *UpdateIntervalReq) Encode(e *jx.Encoder)
- func (s *UpdateIntervalReq) GetActive() OptBool
- func (s *UpdateIntervalReq) GetBars() []int
- func (s *UpdateIntervalReq) GetDataSource() OptInt
- func (s *UpdateIntervalReq) GetDataSourceID() OptInt
- func (s *UpdateIntervalReq) GetInterval() OptUpdateIntervalReqInterval
- func (s *UpdateIntervalReq) GetStock() OptInt
- func (s *UpdateIntervalReq) GetStockID() OptInt
- func (s *UpdateIntervalReq) GetTrades() []int
- func (s *UpdateIntervalReq) MarshalJSON() ([]byte, error)
- func (s *UpdateIntervalReq) SetActive(val OptBool)
- func (s *UpdateIntervalReq) SetBars(val []int)
- func (s *UpdateIntervalReq) SetDataSource(val OptInt)
- func (s *UpdateIntervalReq) SetDataSourceID(val OptInt)
- func (s *UpdateIntervalReq) SetInterval(val OptUpdateIntervalReqInterval)
- func (s *UpdateIntervalReq) SetStock(val OptInt)
- func (s *UpdateIntervalReq) SetStockID(val OptInt)
- func (s *UpdateIntervalReq) SetTrades(val []int)
- func (s *UpdateIntervalReq) UnmarshalJSON(data []byte) error
- func (s *UpdateIntervalReq) Validate() error
- type UpdateIntervalReqInterval
- func (s *UpdateIntervalReqInterval) Decode(d *jx.Decoder) error
- func (s UpdateIntervalReqInterval) Encode(e *jx.Encoder)
- func (s UpdateIntervalReqInterval) MarshalJSON() ([]byte, error)
- func (s UpdateIntervalReqInterval) MarshalText() ([]byte, error)
- func (s *UpdateIntervalReqInterval) UnmarshalJSON(data []byte) error
- func (s *UpdateIntervalReqInterval) UnmarshalText(data []byte) error
- func (s UpdateIntervalReqInterval) Validate() error
- type UpdateIntervalRes
- type UpdateMarketHoursParams
- type UpdateMarketHoursReq
- func (s *UpdateMarketHoursReq) Decode(d *jx.Decoder) error
- func (s *UpdateMarketHoursReq) Encode(e *jx.Encoder)
- func (s *UpdateMarketHoursReq) GetDate() OptDateTime
- func (s *UpdateMarketHoursReq) GetEndTime() OptDateTime
- func (s *UpdateMarketHoursReq) GetMarketInfo() OptInt
- func (s *UpdateMarketHoursReq) GetStartTime() OptDateTime
- func (s *UpdateMarketHoursReq) MarshalJSON() ([]byte, error)
- func (s *UpdateMarketHoursReq) SetDate(val OptDateTime)
- func (s *UpdateMarketHoursReq) SetEndTime(val OptDateTime)
- func (s *UpdateMarketHoursReq) SetMarketInfo(val OptInt)
- func (s *UpdateMarketHoursReq) SetStartTime(val OptDateTime)
- func (s *UpdateMarketHoursReq) UnmarshalJSON(data []byte) error
- type UpdateMarketHoursRes
- type UpdateMarketInfoParams
- type UpdateMarketInfoReq
- func (s *UpdateMarketInfoReq) Decode(d *jx.Decoder) error
- func (s *UpdateMarketInfoReq) Encode(e *jx.Encoder)
- func (s *UpdateMarketInfoReq) GetHours() []int
- func (s *UpdateMarketInfoReq) GetHoursEnd() OptDateTime
- func (s *UpdateMarketInfoReq) GetHoursStart() OptDateTime
- func (s *UpdateMarketInfoReq) MarshalJSON() ([]byte, error)
- func (s *UpdateMarketInfoReq) SetHours(val []int)
- func (s *UpdateMarketInfoReq) SetHoursEnd(val OptDateTime)
- func (s *UpdateMarketInfoReq) SetHoursStart(val OptDateTime)
- func (s *UpdateMarketInfoReq) UnmarshalJSON(data []byte) error
- type UpdateMarketInfoRes
- type UpdateSplitParams
- type UpdateSplitReq
- func (s *UpdateSplitReq) Decode(d *jx.Decoder) error
- func (s *UpdateSplitReq) Encode(e *jx.Encoder)
- func (s *UpdateSplitReq) GetExecutionDate() OptDateTime
- func (s *UpdateSplitReq) GetFrom() OptFloat64
- func (s *UpdateSplitReq) GetStock() OptInt
- func (s *UpdateSplitReq) GetTo() OptFloat64
- func (s *UpdateSplitReq) MarshalJSON() ([]byte, error)
- func (s *UpdateSplitReq) SetExecutionDate(val OptDateTime)
- func (s *UpdateSplitReq) SetFrom(val OptFloat64)
- func (s *UpdateSplitReq) SetStock(val OptInt)
- func (s *UpdateSplitReq) SetTo(val OptFloat64)
- func (s *UpdateSplitReq) UnmarshalJSON(data []byte) error
- func (s *UpdateSplitReq) Validate() error
- type UpdateSplitRes
- type UpdateTradeConditionParams
- type UpdateTradeConditionReq
- func (s *UpdateTradeConditionReq) Decode(d *jx.Decoder) error
- func (s *UpdateTradeConditionReq) Encode(e *jx.Encoder)
- func (s *UpdateTradeConditionReq) GetCondition() OptString
- func (s *UpdateTradeConditionReq) GetRecord() []int
- func (s *UpdateTradeConditionReq) MarshalJSON() ([]byte, error)
- func (s *UpdateTradeConditionReq) SetCondition(val OptString)
- func (s *UpdateTradeConditionReq) SetRecord(val []int)
- func (s *UpdateTradeConditionReq) UnmarshalJSON(data []byte) error
- type UpdateTradeConditionRes
- type UpdateTradeCorrectionParams
- type UpdateTradeCorrectionReq
- func (s *UpdateTradeCorrectionReq) Decode(d *jx.Decoder) error
- func (s *UpdateTradeCorrectionReq) Encode(e *jx.Encoder)
- func (s *UpdateTradeCorrectionReq) GetCorrection() OptString
- func (s *UpdateTradeCorrectionReq) GetRecord() []int
- func (s *UpdateTradeCorrectionReq) MarshalJSON() ([]byte, error)
- func (s *UpdateTradeCorrectionReq) SetCorrection(val OptString)
- func (s *UpdateTradeCorrectionReq) SetRecord(val []int)
- func (s *UpdateTradeCorrectionReq) UnmarshalJSON(data []byte) error
- type UpdateTradeCorrectionRes
- type UpdateTradeRecordParams
- type UpdateTradeRecordReq
- func (s *UpdateTradeRecordReq) Decode(d *jx.Decoder) error
- func (s *UpdateTradeRecordReq) Encode(e *jx.Encoder)
- func (s *UpdateTradeRecordReq) GetConditions() []int
- func (s *UpdateTradeRecordReq) GetCorrection() []int
- func (s *UpdateTradeRecordReq) GetExchange() []int
- func (s *UpdateTradeRecordReq) GetPrice() OptFloat64
- func (s *UpdateTradeRecordReq) GetTimeRange() OptInt
- func (s *UpdateTradeRecordReq) GetTimeRangeID() OptInt
- func (s *UpdateTradeRecordReq) GetTimestamp() OptDateTime
- func (s *UpdateTradeRecordReq) GetVolume() OptInt32
- func (s *UpdateTradeRecordReq) MarshalJSON() ([]byte, error)
- func (s *UpdateTradeRecordReq) SetConditions(val []int)
- func (s *UpdateTradeRecordReq) SetCorrection(val []int)
- func (s *UpdateTradeRecordReq) SetExchange(val []int)
- func (s *UpdateTradeRecordReq) SetPrice(val OptFloat64)
- func (s *UpdateTradeRecordReq) SetTimeRange(val OptInt)
- func (s *UpdateTradeRecordReq) SetTimeRangeID(val OptInt)
- func (s *UpdateTradeRecordReq) SetTimestamp(val OptDateTime)
- func (s *UpdateTradeRecordReq) SetVolume(val OptInt32)
- func (s *UpdateTradeRecordReq) UnmarshalJSON(data []byte) error
- func (s *UpdateTradeRecordReq) Validate() error
- type UpdateTradeRecordRes
- type UpdateTradeTimeRangeParams
- type UpdateTradeTimeRangeReq
- func (s *UpdateTradeTimeRangeReq) Decode(d *jx.Decoder) error
- func (s *UpdateTradeTimeRangeReq) Encode(e *jx.Encoder)
- func (s *UpdateTradeTimeRangeReq) GetEnd() OptDateTime
- func (s *UpdateTradeTimeRangeReq) GetInterval() OptInt
- func (s *UpdateTradeTimeRangeReq) GetIntervalID() OptInt
- func (s *UpdateTradeTimeRangeReq) GetRecords() []int
- func (s *UpdateTradeTimeRangeReq) GetStart() OptDateTime
- func (s *UpdateTradeTimeRangeReq) MarshalJSON() ([]byte, error)
- func (s *UpdateTradeTimeRangeReq) SetEnd(val OptDateTime)
- func (s *UpdateTradeTimeRangeReq) SetInterval(val OptInt)
- func (s *UpdateTradeTimeRangeReq) SetIntervalID(val OptInt)
- func (s *UpdateTradeTimeRangeReq) SetRecords(val []int)
- func (s *UpdateTradeTimeRangeReq) SetStart(val OptDateTime)
- func (s *UpdateTradeTimeRangeReq) UnmarshalJSON(data []byte) error
- type UpdateTradeTimeRangeRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddTickerParams ¶
type AddTickerParams struct {
Ticker string
}
AddTickerParams is parameters of addTicker operation.
type BarGroupCreate ¶
type BarGroupCreate struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarGroupCreate
func NewBarGroupCreate ¶
func NewBarGroupCreate(e *ent.BarGroup) *BarGroupCreate
func NewBarGroupCreates ¶
func NewBarGroupCreates(es []*ent.BarGroup) []BarGroupCreate
func (*BarGroupCreate) Decode ¶
func (s *BarGroupCreate) Decode(d *jx.Decoder) error
Decode decodes BarGroupCreate from json.
func (*BarGroupCreate) Elem ¶
func (bg *BarGroupCreate) Elem() BarGroupCreate
func (*BarGroupCreate) Encode ¶
func (s *BarGroupCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupCreate) GetCount ¶
func (s *BarGroupCreate) GetCount() int
GetCount returns the value of Count.
func (*BarGroupCreate) GetFirst ¶
func (s *BarGroupCreate) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarGroupCreate) GetLast ¶
func (s *BarGroupCreate) GetLast() time.Time
GetLast returns the value of Last.
func (*BarGroupCreate) GetTimeRangeID ¶
func (s *BarGroupCreate) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarGroupCreate) MarshalJSON ¶
func (s *BarGroupCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupCreate) SetCount ¶
func (s *BarGroupCreate) SetCount(val int)
SetCount sets the value of Count.
func (*BarGroupCreate) SetFirst ¶
func (s *BarGroupCreate) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarGroupCreate) SetLast ¶
func (s *BarGroupCreate) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarGroupCreate) SetTimeRangeID ¶
func (s *BarGroupCreate) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarGroupCreate) UnmarshalJSON ¶
func (s *BarGroupCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarGroupList ¶
type BarGroupList struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarGroupList
func NewBarGroupList ¶
func NewBarGroupList(e *ent.BarGroup) *BarGroupList
func NewBarGroupLists ¶
func NewBarGroupLists(es []*ent.BarGroup) []BarGroupList
func (*BarGroupList) Decode ¶
func (s *BarGroupList) Decode(d *jx.Decoder) error
Decode decodes BarGroupList from json.
func (*BarGroupList) Elem ¶
func (bg *BarGroupList) Elem() BarGroupList
func (*BarGroupList) Encode ¶
func (s *BarGroupList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupList) GetCount ¶
func (s *BarGroupList) GetCount() int
GetCount returns the value of Count.
func (*BarGroupList) GetFirst ¶
func (s *BarGroupList) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarGroupList) GetLast ¶
func (s *BarGroupList) GetLast() time.Time
GetLast returns the value of Last.
func (*BarGroupList) GetTimeRangeID ¶
func (s *BarGroupList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarGroupList) MarshalJSON ¶
func (s *BarGroupList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupList) SetCount ¶
func (s *BarGroupList) SetCount(val int)
SetCount sets the value of Count.
func (*BarGroupList) SetFirst ¶
func (s *BarGroupList) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarGroupList) SetLast ¶
func (s *BarGroupList) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarGroupList) SetTimeRangeID ¶
func (s *BarGroupList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarGroupList) UnmarshalJSON ¶
func (s *BarGroupList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarGroupRead ¶
type BarGroupRead struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarGroupRead
func NewBarGroupRead ¶
func NewBarGroupRead(e *ent.BarGroup) *BarGroupRead
func NewBarGroupReads ¶
func NewBarGroupReads(es []*ent.BarGroup) []BarGroupRead
func (*BarGroupRead) Decode ¶
func (s *BarGroupRead) Decode(d *jx.Decoder) error
Decode decodes BarGroupRead from json.
func (*BarGroupRead) Elem ¶
func (bg *BarGroupRead) Elem() BarGroupRead
func (*BarGroupRead) Encode ¶
func (s *BarGroupRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupRead) GetCount ¶
func (s *BarGroupRead) GetCount() int
GetCount returns the value of Count.
func (*BarGroupRead) GetFirst ¶
func (s *BarGroupRead) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarGroupRead) GetLast ¶
func (s *BarGroupRead) GetLast() time.Time
GetLast returns the value of Last.
func (*BarGroupRead) GetTimeRangeID ¶
func (s *BarGroupRead) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarGroupRead) MarshalJSON ¶
func (s *BarGroupRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupRead) SetCount ¶
func (s *BarGroupRead) SetCount(val int)
SetCount sets the value of Count.
func (*BarGroupRead) SetFirst ¶
func (s *BarGroupRead) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarGroupRead) SetLast ¶
func (s *BarGroupRead) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarGroupRead) SetTimeRangeID ¶
func (s *BarGroupRead) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarGroupRead) UnmarshalJSON ¶
func (s *BarGroupRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarGroupRecordsList ¶
type BarGroupRecordsList struct { ID int `json:"id"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` }
Ref: #/components/schemas/BarGroup_RecordsList
func NewBarGroupRecordsList ¶
func NewBarGroupRecordsList(e *ent.BarRecord) *BarGroupRecordsList
func NewBarGroupRecordsLists ¶
func NewBarGroupRecordsLists(es []*ent.BarRecord) []BarGroupRecordsList
func (*BarGroupRecordsList) Decode ¶
func (s *BarGroupRecordsList) Decode(d *jx.Decoder) error
Decode decodes BarGroupRecordsList from json.
func (*BarGroupRecordsList) Elem ¶
func (br *BarGroupRecordsList) Elem() BarGroupRecordsList
func (*BarGroupRecordsList) Encode ¶
func (s *BarGroupRecordsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupRecordsList) GetClose ¶
func (s *BarGroupRecordsList) GetClose() float64
GetClose returns the value of Close.
func (*BarGroupRecordsList) GetHigh ¶
func (s *BarGroupRecordsList) GetHigh() float64
GetHigh returns the value of High.
func (*BarGroupRecordsList) GetID ¶
func (s *BarGroupRecordsList) GetID() int
GetID returns the value of ID.
func (*BarGroupRecordsList) GetLow ¶
func (s *BarGroupRecordsList) GetLow() float64
GetLow returns the value of Low.
func (*BarGroupRecordsList) GetOpen ¶
func (s *BarGroupRecordsList) GetOpen() float64
GetOpen returns the value of Open.
func (*BarGroupRecordsList) GetTimestamp ¶
func (s *BarGroupRecordsList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*BarGroupRecordsList) GetTransactions ¶
func (s *BarGroupRecordsList) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*BarGroupRecordsList) GetVolume ¶
func (s *BarGroupRecordsList) GetVolume() float64
GetVolume returns the value of Volume.
func (*BarGroupRecordsList) MarshalJSON ¶
func (s *BarGroupRecordsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupRecordsList) SetClose ¶
func (s *BarGroupRecordsList) SetClose(val float64)
SetClose sets the value of Close.
func (*BarGroupRecordsList) SetHigh ¶
func (s *BarGroupRecordsList) SetHigh(val float64)
SetHigh sets the value of High.
func (*BarGroupRecordsList) SetID ¶
func (s *BarGroupRecordsList) SetID(val int)
SetID sets the value of ID.
func (*BarGroupRecordsList) SetLow ¶
func (s *BarGroupRecordsList) SetLow(val float64)
SetLow sets the value of Low.
func (*BarGroupRecordsList) SetOpen ¶
func (s *BarGroupRecordsList) SetOpen(val float64)
SetOpen sets the value of Open.
func (*BarGroupRecordsList) SetTimestamp ¶
func (s *BarGroupRecordsList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*BarGroupRecordsList) SetTransactions ¶
func (s *BarGroupRecordsList) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*BarGroupRecordsList) SetVolume ¶
func (s *BarGroupRecordsList) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*BarGroupRecordsList) UnmarshalJSON ¶
func (s *BarGroupRecordsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarGroupRecordsList) Validate ¶
func (s *BarGroupRecordsList) Validate() error
type BarGroupTimeRangeRead ¶
type BarGroupTimeRangeRead struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status BarGroupTimeRangeReadStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/BarGroup_TimeRangeRead
func NewBarGroupTimeRangeRead ¶
func NewBarGroupTimeRangeRead(e *ent.BarTimeRange) *BarGroupTimeRangeRead
func NewBarGroupTimeRangeReads ¶
func NewBarGroupTimeRangeReads(es []*ent.BarTimeRange) []BarGroupTimeRangeRead
func (*BarGroupTimeRangeRead) Decode ¶
func (s *BarGroupTimeRangeRead) Decode(d *jx.Decoder) error
Decode decodes BarGroupTimeRangeRead from json.
func (*BarGroupTimeRangeRead) Elem ¶
func (btr *BarGroupTimeRangeRead) Elem() BarGroupTimeRangeRead
func (*BarGroupTimeRangeRead) Encode ¶
func (s *BarGroupTimeRangeRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupTimeRangeRead) GetCount ¶
func (s *BarGroupTimeRangeRead) GetCount() int
GetCount returns the value of Count.
func (*BarGroupTimeRangeRead) GetEnd ¶
func (s *BarGroupTimeRangeRead) GetEnd() time.Time
GetEnd returns the value of End.
func (*BarGroupTimeRangeRead) GetID ¶
func (s *BarGroupTimeRangeRead) GetID() int
GetID returns the value of ID.
func (*BarGroupTimeRangeRead) GetIntervalID ¶
func (s *BarGroupTimeRangeRead) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*BarGroupTimeRangeRead) GetStart ¶
func (s *BarGroupTimeRangeRead) GetStart() time.Time
GetStart returns the value of Start.
func (*BarGroupTimeRangeRead) GetStatus ¶
func (s *BarGroupTimeRangeRead) GetStatus() BarGroupTimeRangeReadStatus
GetStatus returns the value of Status.
func (*BarGroupTimeRangeRead) GetUpdateTime ¶
func (s *BarGroupTimeRangeRead) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*BarGroupTimeRangeRead) MarshalJSON ¶
func (s *BarGroupTimeRangeRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupTimeRangeRead) SetCount ¶
func (s *BarGroupTimeRangeRead) SetCount(val int)
SetCount sets the value of Count.
func (*BarGroupTimeRangeRead) SetEnd ¶
func (s *BarGroupTimeRangeRead) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*BarGroupTimeRangeRead) SetID ¶
func (s *BarGroupTimeRangeRead) SetID(val int)
SetID sets the value of ID.
func (*BarGroupTimeRangeRead) SetIntervalID ¶
func (s *BarGroupTimeRangeRead) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*BarGroupTimeRangeRead) SetStart ¶
func (s *BarGroupTimeRangeRead) SetStart(val time.Time)
SetStart sets the value of Start.
func (*BarGroupTimeRangeRead) SetStatus ¶
func (s *BarGroupTimeRangeRead) SetStatus(val BarGroupTimeRangeReadStatus)
SetStatus sets the value of Status.
func (*BarGroupTimeRangeRead) SetUpdateTime ¶
func (s *BarGroupTimeRangeRead) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*BarGroupTimeRangeRead) UnmarshalJSON ¶
func (s *BarGroupTimeRangeRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarGroupTimeRangeRead) Validate ¶
func (s *BarGroupTimeRangeRead) Validate() error
type BarGroupTimeRangeReadStatus ¶
type BarGroupTimeRangeReadStatus string
const ( BarGroupTimeRangeReadStatusPending BarGroupTimeRangeReadStatus = "pending" BarGroupTimeRangeReadStatusCreated BarGroupTimeRangeReadStatus = "created" BarGroupTimeRangeReadStatusClean BarGroupTimeRangeReadStatus = "clean" BarGroupTimeRangeReadStatusConsolidated BarGroupTimeRangeReadStatus = "consolidated" )
func (*BarGroupTimeRangeReadStatus) Decode ¶
func (s *BarGroupTimeRangeReadStatus) Decode(d *jx.Decoder) error
Decode decodes BarGroupTimeRangeReadStatus from json.
func (BarGroupTimeRangeReadStatus) Encode ¶
func (s BarGroupTimeRangeReadStatus) Encode(e *jx.Encoder)
Encode encodes BarGroupTimeRangeReadStatus as json.
func (BarGroupTimeRangeReadStatus) MarshalJSON ¶
func (s BarGroupTimeRangeReadStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarGroupTimeRangeReadStatus) MarshalText ¶
func (s BarGroupTimeRangeReadStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarGroupTimeRangeReadStatus) UnmarshalJSON ¶
func (s *BarGroupTimeRangeReadStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarGroupTimeRangeReadStatus) UnmarshalText ¶
func (s *BarGroupTimeRangeReadStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarGroupTimeRangeReadStatus) Validate ¶
func (s BarGroupTimeRangeReadStatus) Validate() error
type BarGroupUpdate ¶
type BarGroupUpdate struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarGroupUpdate
func NewBarGroupUpdate ¶
func NewBarGroupUpdate(e *ent.BarGroup) *BarGroupUpdate
func NewBarGroupUpdates ¶
func NewBarGroupUpdates(es []*ent.BarGroup) []BarGroupUpdate
func (*BarGroupUpdate) Decode ¶
func (s *BarGroupUpdate) Decode(d *jx.Decoder) error
Decode decodes BarGroupUpdate from json.
func (*BarGroupUpdate) Elem ¶
func (bg *BarGroupUpdate) Elem() BarGroupUpdate
func (*BarGroupUpdate) Encode ¶
func (s *BarGroupUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarGroupUpdate) GetCount ¶
func (s *BarGroupUpdate) GetCount() int
GetCount returns the value of Count.
func (*BarGroupUpdate) GetFirst ¶
func (s *BarGroupUpdate) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarGroupUpdate) GetLast ¶
func (s *BarGroupUpdate) GetLast() time.Time
GetLast returns the value of Last.
func (*BarGroupUpdate) GetTimeRangeID ¶
func (s *BarGroupUpdate) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarGroupUpdate) MarshalJSON ¶
func (s *BarGroupUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarGroupUpdate) SetCount ¶
func (s *BarGroupUpdate) SetCount(val int)
SetCount sets the value of Count.
func (*BarGroupUpdate) SetFirst ¶
func (s *BarGroupUpdate) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarGroupUpdate) SetLast ¶
func (s *BarGroupUpdate) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarGroupUpdate) SetTimeRangeID ¶
func (s *BarGroupUpdate) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarGroupUpdate) UnmarshalJSON ¶
func (s *BarGroupUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarRecordCreate ¶
type BarRecordCreate struct { ID int `json:"id"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` }
Ref: #/components/schemas/BarRecordCreate
func NewBarRecordCreate ¶
func NewBarRecordCreate(e *ent.BarRecord) *BarRecordCreate
func NewBarRecordCreates ¶
func NewBarRecordCreates(es []*ent.BarRecord) []BarRecordCreate
func (*BarRecordCreate) Decode ¶
func (s *BarRecordCreate) Decode(d *jx.Decoder) error
Decode decodes BarRecordCreate from json.
func (*BarRecordCreate) Elem ¶
func (br *BarRecordCreate) Elem() BarRecordCreate
func (*BarRecordCreate) Encode ¶
func (s *BarRecordCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarRecordCreate) GetClose ¶
func (s *BarRecordCreate) GetClose() float64
GetClose returns the value of Close.
func (*BarRecordCreate) GetHigh ¶
func (s *BarRecordCreate) GetHigh() float64
GetHigh returns the value of High.
func (*BarRecordCreate) GetID ¶
func (s *BarRecordCreate) GetID() int
GetID returns the value of ID.
func (*BarRecordCreate) GetLow ¶
func (s *BarRecordCreate) GetLow() float64
GetLow returns the value of Low.
func (*BarRecordCreate) GetOpen ¶
func (s *BarRecordCreate) GetOpen() float64
GetOpen returns the value of Open.
func (*BarRecordCreate) GetTimestamp ¶
func (s *BarRecordCreate) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*BarRecordCreate) GetTransactions ¶
func (s *BarRecordCreate) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*BarRecordCreate) GetVolume ¶
func (s *BarRecordCreate) GetVolume() float64
GetVolume returns the value of Volume.
func (*BarRecordCreate) MarshalJSON ¶
func (s *BarRecordCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarRecordCreate) SetClose ¶
func (s *BarRecordCreate) SetClose(val float64)
SetClose sets the value of Close.
func (*BarRecordCreate) SetHigh ¶
func (s *BarRecordCreate) SetHigh(val float64)
SetHigh sets the value of High.
func (*BarRecordCreate) SetID ¶
func (s *BarRecordCreate) SetID(val int)
SetID sets the value of ID.
func (*BarRecordCreate) SetLow ¶
func (s *BarRecordCreate) SetLow(val float64)
SetLow sets the value of Low.
func (*BarRecordCreate) SetOpen ¶
func (s *BarRecordCreate) SetOpen(val float64)
SetOpen sets the value of Open.
func (*BarRecordCreate) SetTimestamp ¶
func (s *BarRecordCreate) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*BarRecordCreate) SetTransactions ¶
func (s *BarRecordCreate) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*BarRecordCreate) SetVolume ¶
func (s *BarRecordCreate) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*BarRecordCreate) UnmarshalJSON ¶
func (s *BarRecordCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarRecordCreate) Validate ¶
func (s *BarRecordCreate) Validate() error
type BarRecordGroupRead ¶
type BarRecordGroupRead struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarRecord_GroupRead
func NewBarRecordGroupRead ¶
func NewBarRecordGroupRead(e *ent.BarGroup) *BarRecordGroupRead
func NewBarRecordGroupReads ¶
func NewBarRecordGroupReads(es []*ent.BarGroup) []BarRecordGroupRead
func (*BarRecordGroupRead) Decode ¶
func (s *BarRecordGroupRead) Decode(d *jx.Decoder) error
Decode decodes BarRecordGroupRead from json.
func (*BarRecordGroupRead) Elem ¶
func (bg *BarRecordGroupRead) Elem() BarRecordGroupRead
func (*BarRecordGroupRead) Encode ¶
func (s *BarRecordGroupRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarRecordGroupRead) GetCount ¶
func (s *BarRecordGroupRead) GetCount() int
GetCount returns the value of Count.
func (*BarRecordGroupRead) GetFirst ¶
func (s *BarRecordGroupRead) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarRecordGroupRead) GetID ¶
func (s *BarRecordGroupRead) GetID() int
GetID returns the value of ID.
func (*BarRecordGroupRead) GetLast ¶
func (s *BarRecordGroupRead) GetLast() time.Time
GetLast returns the value of Last.
func (*BarRecordGroupRead) GetTimeRangeID ¶
func (s *BarRecordGroupRead) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarRecordGroupRead) MarshalJSON ¶
func (s *BarRecordGroupRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarRecordGroupRead) SetCount ¶
func (s *BarRecordGroupRead) SetCount(val int)
SetCount sets the value of Count.
func (*BarRecordGroupRead) SetFirst ¶
func (s *BarRecordGroupRead) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarRecordGroupRead) SetID ¶
func (s *BarRecordGroupRead) SetID(val int)
SetID sets the value of ID.
func (*BarRecordGroupRead) SetLast ¶
func (s *BarRecordGroupRead) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarRecordGroupRead) SetTimeRangeID ¶
func (s *BarRecordGroupRead) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarRecordGroupRead) UnmarshalJSON ¶
func (s *BarRecordGroupRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarRecordList ¶
type BarRecordList struct { ID int `json:"id"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` }
Ref: #/components/schemas/BarRecordList
func NewBarRecordList ¶
func NewBarRecordList(e *ent.BarRecord) *BarRecordList
func NewBarRecordLists ¶
func NewBarRecordLists(es []*ent.BarRecord) []BarRecordList
func (*BarRecordList) Decode ¶
func (s *BarRecordList) Decode(d *jx.Decoder) error
Decode decodes BarRecordList from json.
func (*BarRecordList) Elem ¶
func (br *BarRecordList) Elem() BarRecordList
func (*BarRecordList) Encode ¶
func (s *BarRecordList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarRecordList) GetClose ¶
func (s *BarRecordList) GetClose() float64
GetClose returns the value of Close.
func (*BarRecordList) GetHigh ¶
func (s *BarRecordList) GetHigh() float64
GetHigh returns the value of High.
func (*BarRecordList) GetLow ¶
func (s *BarRecordList) GetLow() float64
GetLow returns the value of Low.
func (*BarRecordList) GetOpen ¶
func (s *BarRecordList) GetOpen() float64
GetOpen returns the value of Open.
func (*BarRecordList) GetTimestamp ¶
func (s *BarRecordList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*BarRecordList) GetTransactions ¶
func (s *BarRecordList) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*BarRecordList) GetVolume ¶
func (s *BarRecordList) GetVolume() float64
GetVolume returns the value of Volume.
func (*BarRecordList) MarshalJSON ¶
func (s *BarRecordList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarRecordList) SetClose ¶
func (s *BarRecordList) SetClose(val float64)
SetClose sets the value of Close.
func (*BarRecordList) SetHigh ¶
func (s *BarRecordList) SetHigh(val float64)
SetHigh sets the value of High.
func (*BarRecordList) SetLow ¶
func (s *BarRecordList) SetLow(val float64)
SetLow sets the value of Low.
func (*BarRecordList) SetOpen ¶
func (s *BarRecordList) SetOpen(val float64)
SetOpen sets the value of Open.
func (*BarRecordList) SetTimestamp ¶
func (s *BarRecordList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*BarRecordList) SetTransactions ¶
func (s *BarRecordList) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*BarRecordList) SetVolume ¶
func (s *BarRecordList) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*BarRecordList) UnmarshalJSON ¶
func (s *BarRecordList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarRecordList) Validate ¶
func (s *BarRecordList) Validate() error
type BarRecordRead ¶
type BarRecordRead struct { ID int `json:"id"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` }
Ref: #/components/schemas/BarRecordRead
func NewBarRecordRead ¶
func NewBarRecordRead(e *ent.BarRecord) *BarRecordRead
func NewBarRecordReads ¶
func NewBarRecordReads(es []*ent.BarRecord) []BarRecordRead
func (*BarRecordRead) Decode ¶
func (s *BarRecordRead) Decode(d *jx.Decoder) error
Decode decodes BarRecordRead from json.
func (*BarRecordRead) Elem ¶
func (br *BarRecordRead) Elem() BarRecordRead
func (*BarRecordRead) Encode ¶
func (s *BarRecordRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarRecordRead) GetClose ¶
func (s *BarRecordRead) GetClose() float64
GetClose returns the value of Close.
func (*BarRecordRead) GetHigh ¶
func (s *BarRecordRead) GetHigh() float64
GetHigh returns the value of High.
func (*BarRecordRead) GetLow ¶
func (s *BarRecordRead) GetLow() float64
GetLow returns the value of Low.
func (*BarRecordRead) GetOpen ¶
func (s *BarRecordRead) GetOpen() float64
GetOpen returns the value of Open.
func (*BarRecordRead) GetTimestamp ¶
func (s *BarRecordRead) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*BarRecordRead) GetTransactions ¶
func (s *BarRecordRead) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*BarRecordRead) GetVolume ¶
func (s *BarRecordRead) GetVolume() float64
GetVolume returns the value of Volume.
func (*BarRecordRead) MarshalJSON ¶
func (s *BarRecordRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarRecordRead) SetClose ¶
func (s *BarRecordRead) SetClose(val float64)
SetClose sets the value of Close.
func (*BarRecordRead) SetHigh ¶
func (s *BarRecordRead) SetHigh(val float64)
SetHigh sets the value of High.
func (*BarRecordRead) SetLow ¶
func (s *BarRecordRead) SetLow(val float64)
SetLow sets the value of Low.
func (*BarRecordRead) SetOpen ¶
func (s *BarRecordRead) SetOpen(val float64)
SetOpen sets the value of Open.
func (*BarRecordRead) SetTimestamp ¶
func (s *BarRecordRead) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*BarRecordRead) SetTransactions ¶
func (s *BarRecordRead) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*BarRecordRead) SetVolume ¶
func (s *BarRecordRead) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*BarRecordRead) UnmarshalJSON ¶
func (s *BarRecordRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarRecordRead) Validate ¶
func (s *BarRecordRead) Validate() error
type BarRecordUpdate ¶
type BarRecordUpdate struct { ID int `json:"id"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` }
Ref: #/components/schemas/BarRecordUpdate
func NewBarRecordUpdate ¶
func NewBarRecordUpdate(e *ent.BarRecord) *BarRecordUpdate
func NewBarRecordUpdates ¶
func NewBarRecordUpdates(es []*ent.BarRecord) []BarRecordUpdate
func (*BarRecordUpdate) Decode ¶
func (s *BarRecordUpdate) Decode(d *jx.Decoder) error
Decode decodes BarRecordUpdate from json.
func (*BarRecordUpdate) Elem ¶
func (br *BarRecordUpdate) Elem() BarRecordUpdate
func (*BarRecordUpdate) Encode ¶
func (s *BarRecordUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarRecordUpdate) GetClose ¶
func (s *BarRecordUpdate) GetClose() float64
GetClose returns the value of Close.
func (*BarRecordUpdate) GetHigh ¶
func (s *BarRecordUpdate) GetHigh() float64
GetHigh returns the value of High.
func (*BarRecordUpdate) GetID ¶
func (s *BarRecordUpdate) GetID() int
GetID returns the value of ID.
func (*BarRecordUpdate) GetLow ¶
func (s *BarRecordUpdate) GetLow() float64
GetLow returns the value of Low.
func (*BarRecordUpdate) GetOpen ¶
func (s *BarRecordUpdate) GetOpen() float64
GetOpen returns the value of Open.
func (*BarRecordUpdate) GetTimestamp ¶
func (s *BarRecordUpdate) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*BarRecordUpdate) GetTransactions ¶
func (s *BarRecordUpdate) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*BarRecordUpdate) GetVolume ¶
func (s *BarRecordUpdate) GetVolume() float64
GetVolume returns the value of Volume.
func (*BarRecordUpdate) MarshalJSON ¶
func (s *BarRecordUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarRecordUpdate) SetClose ¶
func (s *BarRecordUpdate) SetClose(val float64)
SetClose sets the value of Close.
func (*BarRecordUpdate) SetHigh ¶
func (s *BarRecordUpdate) SetHigh(val float64)
SetHigh sets the value of High.
func (*BarRecordUpdate) SetID ¶
func (s *BarRecordUpdate) SetID(val int)
SetID sets the value of ID.
func (*BarRecordUpdate) SetLow ¶
func (s *BarRecordUpdate) SetLow(val float64)
SetLow sets the value of Low.
func (*BarRecordUpdate) SetOpen ¶
func (s *BarRecordUpdate) SetOpen(val float64)
SetOpen sets the value of Open.
func (*BarRecordUpdate) SetTimestamp ¶
func (s *BarRecordUpdate) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*BarRecordUpdate) SetTransactions ¶
func (s *BarRecordUpdate) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*BarRecordUpdate) SetVolume ¶
func (s *BarRecordUpdate) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*BarRecordUpdate) UnmarshalJSON ¶
func (s *BarRecordUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarRecordUpdate) Validate ¶
func (s *BarRecordUpdate) Validate() error
type BarTimeRangeCreate ¶
type BarTimeRangeCreate struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status BarTimeRangeCreateStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/BarTimeRangeCreate
func NewBarTimeRangeCreate ¶
func NewBarTimeRangeCreate(e *ent.BarTimeRange) *BarTimeRangeCreate
func NewBarTimeRangeCreates ¶
func NewBarTimeRangeCreates(es []*ent.BarTimeRange) []BarTimeRangeCreate
func (*BarTimeRangeCreate) Decode ¶
func (s *BarTimeRangeCreate) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeCreate from json.
func (*BarTimeRangeCreate) Elem ¶
func (btr *BarTimeRangeCreate) Elem() BarTimeRangeCreate
func (*BarTimeRangeCreate) Encode ¶
func (s *BarTimeRangeCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeCreate) GetCount ¶
func (s *BarTimeRangeCreate) GetCount() int
GetCount returns the value of Count.
func (*BarTimeRangeCreate) GetEnd ¶
func (s *BarTimeRangeCreate) GetEnd() time.Time
GetEnd returns the value of End.
func (*BarTimeRangeCreate) GetID ¶
func (s *BarTimeRangeCreate) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeCreate) GetIntervalID ¶
func (s *BarTimeRangeCreate) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*BarTimeRangeCreate) GetStart ¶
func (s *BarTimeRangeCreate) GetStart() time.Time
GetStart returns the value of Start.
func (*BarTimeRangeCreate) GetStatus ¶
func (s *BarTimeRangeCreate) GetStatus() BarTimeRangeCreateStatus
GetStatus returns the value of Status.
func (*BarTimeRangeCreate) GetUpdateTime ¶
func (s *BarTimeRangeCreate) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*BarTimeRangeCreate) MarshalJSON ¶
func (s *BarTimeRangeCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeCreate) SetCount ¶
func (s *BarTimeRangeCreate) SetCount(val int)
SetCount sets the value of Count.
func (*BarTimeRangeCreate) SetEnd ¶
func (s *BarTimeRangeCreate) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*BarTimeRangeCreate) SetID ¶
func (s *BarTimeRangeCreate) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeCreate) SetIntervalID ¶
func (s *BarTimeRangeCreate) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*BarTimeRangeCreate) SetStart ¶
func (s *BarTimeRangeCreate) SetStart(val time.Time)
SetStart sets the value of Start.
func (*BarTimeRangeCreate) SetStatus ¶
func (s *BarTimeRangeCreate) SetStatus(val BarTimeRangeCreateStatus)
SetStatus sets the value of Status.
func (*BarTimeRangeCreate) SetUpdateTime ¶
func (s *BarTimeRangeCreate) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*BarTimeRangeCreate) UnmarshalJSON ¶
func (s *BarTimeRangeCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeCreate) Validate ¶
func (s *BarTimeRangeCreate) Validate() error
type BarTimeRangeCreateStatus ¶
type BarTimeRangeCreateStatus string
const ( BarTimeRangeCreateStatusPending BarTimeRangeCreateStatus = "pending" BarTimeRangeCreateStatusCreated BarTimeRangeCreateStatus = "created" BarTimeRangeCreateStatusClean BarTimeRangeCreateStatus = "clean" BarTimeRangeCreateStatusConsolidated BarTimeRangeCreateStatus = "consolidated" )
func (*BarTimeRangeCreateStatus) Decode ¶
func (s *BarTimeRangeCreateStatus) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeCreateStatus from json.
func (BarTimeRangeCreateStatus) Encode ¶
func (s BarTimeRangeCreateStatus) Encode(e *jx.Encoder)
Encode encodes BarTimeRangeCreateStatus as json.
func (BarTimeRangeCreateStatus) MarshalJSON ¶
func (s BarTimeRangeCreateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarTimeRangeCreateStatus) MarshalText ¶
func (s BarTimeRangeCreateStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarTimeRangeCreateStatus) UnmarshalJSON ¶
func (s *BarTimeRangeCreateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeCreateStatus) UnmarshalText ¶
func (s *BarTimeRangeCreateStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarTimeRangeCreateStatus) Validate ¶
func (s BarTimeRangeCreateStatus) Validate() error
type BarTimeRangeGroupsList ¶
type BarTimeRangeGroupsList struct { ID int `json:"id"` First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/BarTimeRange_GroupsList
func NewBarTimeRangeGroupsList ¶
func NewBarTimeRangeGroupsList(e *ent.BarGroup) *BarTimeRangeGroupsList
func NewBarTimeRangeGroupsLists ¶
func NewBarTimeRangeGroupsLists(es []*ent.BarGroup) []BarTimeRangeGroupsList
func (*BarTimeRangeGroupsList) Decode ¶
func (s *BarTimeRangeGroupsList) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeGroupsList from json.
func (*BarTimeRangeGroupsList) Elem ¶
func (bg *BarTimeRangeGroupsList) Elem() BarTimeRangeGroupsList
func (*BarTimeRangeGroupsList) Encode ¶
func (s *BarTimeRangeGroupsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeGroupsList) GetCount ¶
func (s *BarTimeRangeGroupsList) GetCount() int
GetCount returns the value of Count.
func (*BarTimeRangeGroupsList) GetFirst ¶
func (s *BarTimeRangeGroupsList) GetFirst() time.Time
GetFirst returns the value of First.
func (*BarTimeRangeGroupsList) GetID ¶
func (s *BarTimeRangeGroupsList) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeGroupsList) GetLast ¶
func (s *BarTimeRangeGroupsList) GetLast() time.Time
GetLast returns the value of Last.
func (*BarTimeRangeGroupsList) GetTimeRangeID ¶
func (s *BarTimeRangeGroupsList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*BarTimeRangeGroupsList) MarshalJSON ¶
func (s *BarTimeRangeGroupsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeGroupsList) SetCount ¶
func (s *BarTimeRangeGroupsList) SetCount(val int)
SetCount sets the value of Count.
func (*BarTimeRangeGroupsList) SetFirst ¶
func (s *BarTimeRangeGroupsList) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*BarTimeRangeGroupsList) SetID ¶
func (s *BarTimeRangeGroupsList) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeGroupsList) SetLast ¶
func (s *BarTimeRangeGroupsList) SetLast(val time.Time)
SetLast sets the value of Last.
func (*BarTimeRangeGroupsList) SetTimeRangeID ¶
func (s *BarTimeRangeGroupsList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*BarTimeRangeGroupsList) UnmarshalJSON ¶
func (s *BarTimeRangeGroupsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BarTimeRangeIntervalRead ¶
type BarTimeRangeIntervalRead struct { ID int `json:"id"` Active bool `json:"active"` Interval BarTimeRangeIntervalReadInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/BarTimeRange_IntervalRead
func NewBarTimeRangeIntervalRead ¶
func NewBarTimeRangeIntervalRead(e *ent.Interval) *BarTimeRangeIntervalRead
func NewBarTimeRangeIntervalReads ¶
func NewBarTimeRangeIntervalReads(es []*ent.Interval) []BarTimeRangeIntervalRead
func (*BarTimeRangeIntervalRead) Decode ¶
func (s *BarTimeRangeIntervalRead) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeIntervalRead from json.
func (*BarTimeRangeIntervalRead) Elem ¶
func (i *BarTimeRangeIntervalRead) Elem() BarTimeRangeIntervalRead
func (*BarTimeRangeIntervalRead) Encode ¶
func (s *BarTimeRangeIntervalRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeIntervalRead) GetActive ¶
func (s *BarTimeRangeIntervalRead) GetActive() bool
GetActive returns the value of Active.
func (*BarTimeRangeIntervalRead) GetDataSourceID ¶
func (s *BarTimeRangeIntervalRead) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*BarTimeRangeIntervalRead) GetID ¶
func (s *BarTimeRangeIntervalRead) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeIntervalRead) GetInterval ¶
func (s *BarTimeRangeIntervalRead) GetInterval() BarTimeRangeIntervalReadInterval
GetInterval returns the value of Interval.
func (*BarTimeRangeIntervalRead) GetStockID ¶
func (s *BarTimeRangeIntervalRead) GetStockID() int
GetStockID returns the value of StockID.
func (*BarTimeRangeIntervalRead) MarshalJSON ¶
func (s *BarTimeRangeIntervalRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeIntervalRead) SetActive ¶
func (s *BarTimeRangeIntervalRead) SetActive(val bool)
SetActive sets the value of Active.
func (*BarTimeRangeIntervalRead) SetDataSourceID ¶
func (s *BarTimeRangeIntervalRead) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*BarTimeRangeIntervalRead) SetID ¶
func (s *BarTimeRangeIntervalRead) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeIntervalRead) SetInterval ¶
func (s *BarTimeRangeIntervalRead) SetInterval(val BarTimeRangeIntervalReadInterval)
SetInterval sets the value of Interval.
func (*BarTimeRangeIntervalRead) SetStockID ¶
func (s *BarTimeRangeIntervalRead) SetStockID(val int)
SetStockID sets the value of StockID.
func (*BarTimeRangeIntervalRead) UnmarshalJSON ¶
func (s *BarTimeRangeIntervalRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeIntervalRead) Validate ¶
func (s *BarTimeRangeIntervalRead) Validate() error
type BarTimeRangeIntervalReadInterval ¶
type BarTimeRangeIntervalReadInterval string
const ( BarTimeRangeIntervalReadIntervalTrades BarTimeRangeIntervalReadInterval = "trades" BarTimeRangeIntervalReadInterval1min BarTimeRangeIntervalReadInterval = "1min" BarTimeRangeIntervalReadIntervalDaily BarTimeRangeIntervalReadInterval = "daily" BarTimeRangeIntervalReadIntervalMonthly BarTimeRangeIntervalReadInterval = "monthly" BarTimeRangeIntervalReadIntervalYearly BarTimeRangeIntervalReadInterval = "yearly" )
func (*BarTimeRangeIntervalReadInterval) Decode ¶
func (s *BarTimeRangeIntervalReadInterval) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeIntervalReadInterval from json.
func (BarTimeRangeIntervalReadInterval) Encode ¶
func (s BarTimeRangeIntervalReadInterval) Encode(e *jx.Encoder)
Encode encodes BarTimeRangeIntervalReadInterval as json.
func (BarTimeRangeIntervalReadInterval) MarshalJSON ¶
func (s BarTimeRangeIntervalReadInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarTimeRangeIntervalReadInterval) MarshalText ¶
func (s BarTimeRangeIntervalReadInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarTimeRangeIntervalReadInterval) UnmarshalJSON ¶
func (s *BarTimeRangeIntervalReadInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeIntervalReadInterval) UnmarshalText ¶
func (s *BarTimeRangeIntervalReadInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarTimeRangeIntervalReadInterval) Validate ¶
func (s BarTimeRangeIntervalReadInterval) Validate() error
type BarTimeRangeList ¶
type BarTimeRangeList struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status BarTimeRangeListStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/BarTimeRangeList
func NewBarTimeRangeList ¶
func NewBarTimeRangeList(e *ent.BarTimeRange) *BarTimeRangeList
func NewBarTimeRangeLists ¶
func NewBarTimeRangeLists(es []*ent.BarTimeRange) []BarTimeRangeList
func (*BarTimeRangeList) Decode ¶
func (s *BarTimeRangeList) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeList from json.
func (*BarTimeRangeList) Elem ¶
func (btr *BarTimeRangeList) Elem() BarTimeRangeList
func (*BarTimeRangeList) Encode ¶
func (s *BarTimeRangeList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeList) GetCount ¶
func (s *BarTimeRangeList) GetCount() int
GetCount returns the value of Count.
func (*BarTimeRangeList) GetEnd ¶
func (s *BarTimeRangeList) GetEnd() time.Time
GetEnd returns the value of End.
func (*BarTimeRangeList) GetID ¶
func (s *BarTimeRangeList) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeList) GetIntervalID ¶
func (s *BarTimeRangeList) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*BarTimeRangeList) GetStart ¶
func (s *BarTimeRangeList) GetStart() time.Time
GetStart returns the value of Start.
func (*BarTimeRangeList) GetStatus ¶
func (s *BarTimeRangeList) GetStatus() BarTimeRangeListStatus
GetStatus returns the value of Status.
func (*BarTimeRangeList) GetUpdateTime ¶
func (s *BarTimeRangeList) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*BarTimeRangeList) MarshalJSON ¶
func (s *BarTimeRangeList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeList) SetCount ¶
func (s *BarTimeRangeList) SetCount(val int)
SetCount sets the value of Count.
func (*BarTimeRangeList) SetEnd ¶
func (s *BarTimeRangeList) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*BarTimeRangeList) SetID ¶
func (s *BarTimeRangeList) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeList) SetIntervalID ¶
func (s *BarTimeRangeList) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*BarTimeRangeList) SetStart ¶
func (s *BarTimeRangeList) SetStart(val time.Time)
SetStart sets the value of Start.
func (*BarTimeRangeList) SetStatus ¶
func (s *BarTimeRangeList) SetStatus(val BarTimeRangeListStatus)
SetStatus sets the value of Status.
func (*BarTimeRangeList) SetUpdateTime ¶
func (s *BarTimeRangeList) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*BarTimeRangeList) UnmarshalJSON ¶
func (s *BarTimeRangeList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeList) Validate ¶
func (s *BarTimeRangeList) Validate() error
type BarTimeRangeListStatus ¶
type BarTimeRangeListStatus string
const ( BarTimeRangeListStatusPending BarTimeRangeListStatus = "pending" BarTimeRangeListStatusCreated BarTimeRangeListStatus = "created" BarTimeRangeListStatusClean BarTimeRangeListStatus = "clean" BarTimeRangeListStatusConsolidated BarTimeRangeListStatus = "consolidated" )
func (*BarTimeRangeListStatus) Decode ¶
func (s *BarTimeRangeListStatus) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeListStatus from json.
func (BarTimeRangeListStatus) Encode ¶
func (s BarTimeRangeListStatus) Encode(e *jx.Encoder)
Encode encodes BarTimeRangeListStatus as json.
func (BarTimeRangeListStatus) MarshalJSON ¶
func (s BarTimeRangeListStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarTimeRangeListStatus) MarshalText ¶
func (s BarTimeRangeListStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarTimeRangeListStatus) UnmarshalJSON ¶
func (s *BarTimeRangeListStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeListStatus) UnmarshalText ¶
func (s *BarTimeRangeListStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarTimeRangeListStatus) Validate ¶
func (s BarTimeRangeListStatus) Validate() error
type BarTimeRangeRead ¶
type BarTimeRangeRead struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status BarTimeRangeReadStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/BarTimeRangeRead
func NewBarTimeRangeRead ¶
func NewBarTimeRangeRead(e *ent.BarTimeRange) *BarTimeRangeRead
func NewBarTimeRangeReads ¶
func NewBarTimeRangeReads(es []*ent.BarTimeRange) []BarTimeRangeRead
func (*BarTimeRangeRead) Decode ¶
func (s *BarTimeRangeRead) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeRead from json.
func (*BarTimeRangeRead) Elem ¶
func (btr *BarTimeRangeRead) Elem() BarTimeRangeRead
func (*BarTimeRangeRead) Encode ¶
func (s *BarTimeRangeRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeRead) GetCount ¶
func (s *BarTimeRangeRead) GetCount() int
GetCount returns the value of Count.
func (*BarTimeRangeRead) GetEnd ¶
func (s *BarTimeRangeRead) GetEnd() time.Time
GetEnd returns the value of End.
func (*BarTimeRangeRead) GetID ¶
func (s *BarTimeRangeRead) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeRead) GetIntervalID ¶
func (s *BarTimeRangeRead) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*BarTimeRangeRead) GetStart ¶
func (s *BarTimeRangeRead) GetStart() time.Time
GetStart returns the value of Start.
func (*BarTimeRangeRead) GetStatus ¶
func (s *BarTimeRangeRead) GetStatus() BarTimeRangeReadStatus
GetStatus returns the value of Status.
func (*BarTimeRangeRead) GetUpdateTime ¶
func (s *BarTimeRangeRead) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*BarTimeRangeRead) MarshalJSON ¶
func (s *BarTimeRangeRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeRead) SetCount ¶
func (s *BarTimeRangeRead) SetCount(val int)
SetCount sets the value of Count.
func (*BarTimeRangeRead) SetEnd ¶
func (s *BarTimeRangeRead) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*BarTimeRangeRead) SetID ¶
func (s *BarTimeRangeRead) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeRead) SetIntervalID ¶
func (s *BarTimeRangeRead) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*BarTimeRangeRead) SetStart ¶
func (s *BarTimeRangeRead) SetStart(val time.Time)
SetStart sets the value of Start.
func (*BarTimeRangeRead) SetStatus ¶
func (s *BarTimeRangeRead) SetStatus(val BarTimeRangeReadStatus)
SetStatus sets the value of Status.
func (*BarTimeRangeRead) SetUpdateTime ¶
func (s *BarTimeRangeRead) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*BarTimeRangeRead) UnmarshalJSON ¶
func (s *BarTimeRangeRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeRead) Validate ¶
func (s *BarTimeRangeRead) Validate() error
type BarTimeRangeReadStatus ¶
type BarTimeRangeReadStatus string
const ( BarTimeRangeReadStatusPending BarTimeRangeReadStatus = "pending" BarTimeRangeReadStatusCreated BarTimeRangeReadStatus = "created" BarTimeRangeReadStatusClean BarTimeRangeReadStatus = "clean" BarTimeRangeReadStatusConsolidated BarTimeRangeReadStatus = "consolidated" )
func (*BarTimeRangeReadStatus) Decode ¶
func (s *BarTimeRangeReadStatus) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeReadStatus from json.
func (BarTimeRangeReadStatus) Encode ¶
func (s BarTimeRangeReadStatus) Encode(e *jx.Encoder)
Encode encodes BarTimeRangeReadStatus as json.
func (BarTimeRangeReadStatus) MarshalJSON ¶
func (s BarTimeRangeReadStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarTimeRangeReadStatus) MarshalText ¶
func (s BarTimeRangeReadStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarTimeRangeReadStatus) UnmarshalJSON ¶
func (s *BarTimeRangeReadStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeReadStatus) UnmarshalText ¶
func (s *BarTimeRangeReadStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarTimeRangeReadStatus) Validate ¶
func (s BarTimeRangeReadStatus) Validate() error
type BarTimeRangeUpdate ¶
type BarTimeRangeUpdate struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status BarTimeRangeUpdateStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/BarTimeRangeUpdate
func NewBarTimeRangeUpdate ¶
func NewBarTimeRangeUpdate(e *ent.BarTimeRange) *BarTimeRangeUpdate
func NewBarTimeRangeUpdates ¶
func NewBarTimeRangeUpdates(es []*ent.BarTimeRange) []BarTimeRangeUpdate
func (*BarTimeRangeUpdate) Decode ¶
func (s *BarTimeRangeUpdate) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeUpdate from json.
func (*BarTimeRangeUpdate) Elem ¶
func (btr *BarTimeRangeUpdate) Elem() BarTimeRangeUpdate
func (*BarTimeRangeUpdate) Encode ¶
func (s *BarTimeRangeUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BarTimeRangeUpdate) GetCount ¶
func (s *BarTimeRangeUpdate) GetCount() int
GetCount returns the value of Count.
func (*BarTimeRangeUpdate) GetEnd ¶
func (s *BarTimeRangeUpdate) GetEnd() time.Time
GetEnd returns the value of End.
func (*BarTimeRangeUpdate) GetID ¶
func (s *BarTimeRangeUpdate) GetID() int
GetID returns the value of ID.
func (*BarTimeRangeUpdate) GetIntervalID ¶
func (s *BarTimeRangeUpdate) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*BarTimeRangeUpdate) GetStart ¶
func (s *BarTimeRangeUpdate) GetStart() time.Time
GetStart returns the value of Start.
func (*BarTimeRangeUpdate) GetStatus ¶
func (s *BarTimeRangeUpdate) GetStatus() BarTimeRangeUpdateStatus
GetStatus returns the value of Status.
func (*BarTimeRangeUpdate) GetUpdateTime ¶
func (s *BarTimeRangeUpdate) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*BarTimeRangeUpdate) MarshalJSON ¶
func (s *BarTimeRangeUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BarTimeRangeUpdate) SetCount ¶
func (s *BarTimeRangeUpdate) SetCount(val int)
SetCount sets the value of Count.
func (*BarTimeRangeUpdate) SetEnd ¶
func (s *BarTimeRangeUpdate) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*BarTimeRangeUpdate) SetID ¶
func (s *BarTimeRangeUpdate) SetID(val int)
SetID sets the value of ID.
func (*BarTimeRangeUpdate) SetIntervalID ¶
func (s *BarTimeRangeUpdate) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*BarTimeRangeUpdate) SetStart ¶
func (s *BarTimeRangeUpdate) SetStart(val time.Time)
SetStart sets the value of Start.
func (*BarTimeRangeUpdate) SetStatus ¶
func (s *BarTimeRangeUpdate) SetStatus(val BarTimeRangeUpdateStatus)
SetStatus sets the value of Status.
func (*BarTimeRangeUpdate) SetUpdateTime ¶
func (s *BarTimeRangeUpdate) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*BarTimeRangeUpdate) UnmarshalJSON ¶
func (s *BarTimeRangeUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeUpdate) Validate ¶
func (s *BarTimeRangeUpdate) Validate() error
type BarTimeRangeUpdateStatus ¶
type BarTimeRangeUpdateStatus string
const ( BarTimeRangeUpdateStatusPending BarTimeRangeUpdateStatus = "pending" BarTimeRangeUpdateStatusCreated BarTimeRangeUpdateStatus = "created" BarTimeRangeUpdateStatusClean BarTimeRangeUpdateStatus = "clean" BarTimeRangeUpdateStatusConsolidated BarTimeRangeUpdateStatus = "consolidated" )
func (*BarTimeRangeUpdateStatus) Decode ¶
func (s *BarTimeRangeUpdateStatus) Decode(d *jx.Decoder) error
Decode decodes BarTimeRangeUpdateStatus from json.
func (BarTimeRangeUpdateStatus) Encode ¶
func (s BarTimeRangeUpdateStatus) Encode(e *jx.Encoder)
Encode encodes BarTimeRangeUpdateStatus as json.
func (BarTimeRangeUpdateStatus) MarshalJSON ¶
func (s BarTimeRangeUpdateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BarTimeRangeUpdateStatus) MarshalText ¶
func (s BarTimeRangeUpdateStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BarTimeRangeUpdateStatus) UnmarshalJSON ¶
func (s *BarTimeRangeUpdateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BarTimeRangeUpdateStatus) UnmarshalText ¶
func (s *BarTimeRangeUpdateStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BarTimeRangeUpdateStatus) Validate ¶
func (s BarTimeRangeUpdateStatus) Validate() error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) AddTicker ¶
func (c *Client) AddTicker(ctx context.Context, params AddTickerParams) error
AddTicker invokes addTicker operation.
Queue for adding entities by ticker.
POST /rest/entities/add/{ticker}
func (*Client) CreateBarGroup ¶
func (c *Client) CreateBarGroup(ctx context.Context, request *CreateBarGroupReq) (CreateBarGroupRes, error)
CreateBarGroup invokes createBarGroup operation.
Creates a new BarGroup and persists it to storage.
POST /rest/bar-groups
func (*Client) CreateBarRecord ¶
func (c *Client) CreateBarRecord(ctx context.Context, request *CreateBarRecordReq) (CreateBarRecordRes, error)
CreateBarRecord invokes createBarRecord operation.
Creates a new BarRecord and persists it to storage.
POST /rest/bar-records
func (*Client) CreateBarTimeRange ¶
func (c *Client) CreateBarTimeRange(ctx context.Context, request *CreateBarTimeRangeReq) (CreateBarTimeRangeRes, error)
CreateBarTimeRange invokes createBarTimeRange operation.
Creates a new BarTimeRange and persists it to storage.
POST /rest/bar-time-ranges
func (*Client) CreateDataSource ¶
func (c *Client) CreateDataSource(ctx context.Context, request *CreateDataSourceReq) (CreateDataSourceRes, error)
CreateDataSource invokes createDataSource operation.
Creates a new DataSource and persists it to storage.
POST /rest/data-sources
func (*Client) CreateDividend ¶
func (c *Client) CreateDividend(ctx context.Context, request *CreateDividendReq) (CreateDividendRes, error)
CreateDividend invokes createDividend operation.
Creates a new Dividend and persists it to storage.
POST /rest/dividends
func (*Client) CreateEntity ¶
func (c *Client) CreateEntity(ctx context.Context, request *CreateEntityReq) (CreateEntityRes, error)
CreateEntity invokes createEntity operation.
Creates a new Entity and persists it to storage.
POST /rest/entities
func (*Client) CreateExchange ¶
func (c *Client) CreateExchange(ctx context.Context, request *CreateExchangeReq) (CreateExchangeRes, error)
CreateExchange invokes createExchange operation.
Creates a new Exchange and persists it to storage.
POST /rest/exchanges
func (*Client) CreateFinancial ¶
func (c *Client) CreateFinancial(ctx context.Context, request *CreateFinancialReq) (CreateFinancialRes, error)
CreateFinancial invokes createFinancial operation.
Creates a new Financial and persists it to storage.
POST /rest/financials
func (*Client) CreateInterval ¶
func (c *Client) CreateInterval(ctx context.Context, request *CreateIntervalReq) (CreateIntervalRes, error)
CreateInterval invokes createInterval operation.
Creates a new Interval and persists it to storage.
POST /rest/intervals
func (*Client) CreateMarketHours ¶
func (c *Client) CreateMarketHours(ctx context.Context, request *CreateMarketHoursReq) (CreateMarketHoursRes, error)
CreateMarketHours invokes createMarketHours operation.
Creates a new MarketHours and persists it to storage.
POST /rest/market-hours
func (*Client) CreateMarketInfo ¶
func (c *Client) CreateMarketInfo(ctx context.Context, request *CreateMarketInfoReq) (CreateMarketInfoRes, error)
CreateMarketInfo invokes createMarketInfo operation.
Creates a new MarketInfo and persists it to storage.
POST /rest/market-infos
func (*Client) CreateSplit ¶
func (c *Client) CreateSplit(ctx context.Context, request *CreateSplitReq) (CreateSplitRes, error)
CreateSplit invokes createSplit operation.
Creates a new Split and persists it to storage.
POST /rest/splits
func (*Client) CreateTradeCondition ¶
func (c *Client) CreateTradeCondition(ctx context.Context, request *CreateTradeConditionReq) (CreateTradeConditionRes, error)
CreateTradeCondition invokes createTradeCondition operation.
Creates a new TradeCondition and persists it to storage.
POST /rest/trade-conditions
func (*Client) CreateTradeCorrection ¶
func (c *Client) CreateTradeCorrection(ctx context.Context, request *CreateTradeCorrectionReq) (CreateTradeCorrectionRes, error)
CreateTradeCorrection invokes createTradeCorrection operation.
Creates a new TradeCorrection and persists it to storage.
POST /rest/trade-corrections
func (*Client) CreateTradeRecord ¶
func (c *Client) CreateTradeRecord(ctx context.Context, request *CreateTradeRecordReq) (CreateTradeRecordRes, error)
CreateTradeRecord invokes createTradeRecord operation.
Creates a new TradeRecord and persists it to storage.
POST /rest/trade-records
func (*Client) CreateTradeTimeRange ¶
func (c *Client) CreateTradeTimeRange(ctx context.Context, request *CreateTradeTimeRangeReq) (CreateTradeTimeRangeRes, error)
CreateTradeTimeRange invokes createTradeTimeRange operation.
Creates a new TradeTimeRange and persists it to storage.
POST /rest/trade-time-ranges
func (*Client) DeleteBarGroup ¶
func (c *Client) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (DeleteBarGroupRes, error)
DeleteBarGroup invokes deleteBarGroup operation.
Deletes the BarGroup with the requested ID.
DELETE /rest/bar-groups/{id}
func (*Client) DeleteBarRecord ¶
func (c *Client) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (DeleteBarRecordRes, error)
DeleteBarRecord invokes deleteBarRecord operation.
Deletes the BarRecord with the requested ID.
DELETE /rest/bar-records/{id}
func (*Client) DeleteBarTimeRange ¶
func (c *Client) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (DeleteBarTimeRangeRes, error)
DeleteBarTimeRange invokes deleteBarTimeRange operation.
Deletes the BarTimeRange with the requested ID.
DELETE /rest/bar-time-ranges/{id}
func (*Client) DeleteDataSource ¶
func (c *Client) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (DeleteDataSourceRes, error)
DeleteDataSource invokes deleteDataSource operation.
Deletes the DataSource with the requested ID.
DELETE /rest/data-sources/{id}
func (*Client) DeleteDividend ¶
func (c *Client) DeleteDividend(ctx context.Context, params DeleteDividendParams) (DeleteDividendRes, error)
DeleteDividend invokes deleteDividend operation.
Deletes the Dividend with the requested ID.
DELETE /rest/dividends/{id}
func (*Client) DeleteEntity ¶
func (c *Client) DeleteEntity(ctx context.Context, params DeleteEntityParams) (DeleteEntityRes, error)
DeleteEntity invokes deleteEntity operation.
Deletes the Entity with the requested ID.
DELETE /rest/entities/{id}
func (*Client) DeleteExchange ¶
func (c *Client) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (DeleteExchangeRes, error)
DeleteExchange invokes deleteExchange operation.
Deletes the Exchange with the requested ID.
DELETE /rest/exchanges/{id}
func (*Client) DeleteFinancial ¶
func (c *Client) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (DeleteFinancialRes, error)
DeleteFinancial invokes deleteFinancial operation.
Deletes the Financial with the requested ID.
DELETE /rest/financials/{id}
func (*Client) DeleteInterval ¶
func (c *Client) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (DeleteIntervalRes, error)
DeleteInterval invokes deleteInterval operation.
Deletes the Interval with the requested ID.
DELETE /rest/intervals/{id}
func (*Client) DeleteMarketHours ¶
func (c *Client) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (DeleteMarketHoursRes, error)
DeleteMarketHours invokes deleteMarketHours operation.
Deletes the MarketHours with the requested ID.
DELETE /rest/market-hours/{id}
func (*Client) DeleteMarketInfo ¶
func (c *Client) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (DeleteMarketInfoRes, error)
DeleteMarketInfo invokes deleteMarketInfo operation.
Deletes the MarketInfo with the requested ID.
DELETE /rest/market-infos/{id}
func (*Client) DeleteSplit ¶
func (c *Client) DeleteSplit(ctx context.Context, params DeleteSplitParams) (DeleteSplitRes, error)
DeleteSplit invokes deleteSplit operation.
Deletes the Split with the requested ID.
DELETE /rest/splits/{id}
func (*Client) DeleteTradeCondition ¶
func (c *Client) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (DeleteTradeConditionRes, error)
DeleteTradeCondition invokes deleteTradeCondition operation.
Deletes the TradeCondition with the requested ID.
DELETE /rest/trade-conditions/{id}
func (*Client) DeleteTradeCorrection ¶
func (c *Client) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (DeleteTradeCorrectionRes, error)
DeleteTradeCorrection invokes deleteTradeCorrection operation.
Deletes the TradeCorrection with the requested ID.
DELETE /rest/trade-corrections/{id}
func (*Client) DeleteTradeRecord ¶
func (c *Client) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (DeleteTradeRecordRes, error)
DeleteTradeRecord invokes deleteTradeRecord operation.
Deletes the TradeRecord with the requested ID.
DELETE /rest/trade-records/{id}
func (*Client) DeleteTradeTimeRange ¶
func (c *Client) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (DeleteTradeTimeRangeRes, error)
DeleteTradeTimeRange invokes deleteTradeTimeRange operation.
Deletes the TradeTimeRange with the requested ID.
DELETE /rest/trade-time-ranges/{id}
func (*Client) ListBarGroup ¶
func (c *Client) ListBarGroup(ctx context.Context, params ListBarGroupParams) (ListBarGroupRes, error)
ListBarGroup invokes listBarGroup operation.
List BarGroups.
GET /rest/bar-groups
func (*Client) ListBarGroupRecords ¶
func (c *Client) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (ListBarGroupRecordsRes, error)
ListBarGroupRecords invokes listBarGroupRecords operation.
List attached Records.
GET /rest/bar-groups/{id}/records
func (*Client) ListBarRecord ¶
func (c *Client) ListBarRecord(ctx context.Context, params ListBarRecordParams) (ListBarRecordRes, error)
ListBarRecord invokes listBarRecord operation.
List BarRecords.
GET /rest/bar-records
func (*Client) ListBarTimeRange ¶
func (c *Client) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (ListBarTimeRangeRes, error)
ListBarTimeRange invokes listBarTimeRange operation.
List BarTimeRanges.
GET /rest/bar-time-ranges
func (*Client) ListBarTimeRangeGroups ¶
func (c *Client) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (ListBarTimeRangeGroupsRes, error)
ListBarTimeRangeGroups invokes listBarTimeRangeGroups operation.
List attached Groups.
GET /rest/bar-time-ranges/{id}/groups
func (*Client) ListDataSource ¶
func (c *Client) ListDataSource(ctx context.Context, params ListDataSourceParams) (ListDataSourceRes, error)
ListDataSource invokes listDataSource operation.
List DataSources.
GET /rest/data-sources
func (*Client) ListDataSourceIntervals ¶
func (c *Client) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (ListDataSourceIntervalsRes, error)
ListDataSourceIntervals invokes listDataSourceIntervals operation.
List attached Intervals.
GET /rest/data-sources/{id}/intervals
func (*Client) ListDividend ¶
func (c *Client) ListDividend(ctx context.Context, params ListDividendParams) (ListDividendRes, error)
ListDividend invokes listDividend operation.
List Dividends.
GET /rest/dividends
func (*Client) ListDividendStock ¶
func (c *Client) ListDividendStock(ctx context.Context, params ListDividendStockParams) (ListDividendStockRes, error)
ListDividendStock invokes listDividendStock operation.
List attached Stocks.
GET /rest/dividends/{id}/stock
func (*Client) ListEntity ¶
func (c *Client) ListEntity(ctx context.Context, params ListEntityParams) (ListEntityRes, error)
ListEntity invokes listEntity operation.
List Entities.
GET /rest/entities
func (*Client) ListEntityDividends ¶
func (c *Client) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (ListEntityDividendsRes, error)
ListEntityDividends invokes listEntityDividends operation.
List attached Dividends.
GET /rest/entities/{id}/dividends
func (*Client) ListEntityExchanges ¶
func (c *Client) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (ListEntityExchangesRes, error)
ListEntityExchanges invokes listEntityExchanges operation.
List attached Exchanges.
GET /rest/entities/{id}/exchanges
func (*Client) ListEntityFinancials ¶
func (c *Client) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (ListEntityFinancialsRes, error)
ListEntityFinancials invokes listEntityFinancials operation.
List attached Financials.
GET /rest/entities/{id}/financials
func (*Client) ListEntityIntervals ¶
func (c *Client) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (ListEntityIntervalsRes, error)
ListEntityIntervals invokes listEntityIntervals operation.
List attached Intervals.
GET /rest/entities/{id}/intervals
func (*Client) ListEntitySplits ¶
func (c *Client) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (ListEntitySplitsRes, error)
ListEntitySplits invokes listEntitySplits operation.
List attached Splits.
GET /rest/entities/{id}/splits
func (*Client) ListExchange ¶
func (c *Client) ListExchange(ctx context.Context, params ListExchangeParams) (ListExchangeRes, error)
ListExchange invokes listExchange operation.
List Exchanges.
GET /rest/exchanges
func (*Client) ListExchangeStocks ¶
func (c *Client) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (ListExchangeStocksRes, error)
ListExchangeStocks invokes listExchangeStocks operation.
List attached Stocks.
GET /rest/exchanges/{id}/stocks
func (*Client) ListFinancial ¶
func (c *Client) ListFinancial(ctx context.Context, params ListFinancialParams) (ListFinancialRes, error)
ListFinancial invokes listFinancial operation.
List Financials.
GET /rest/financials
func (*Client) ListFinancialStock ¶
func (c *Client) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (ListFinancialStockRes, error)
ListFinancialStock invokes listFinancialStock operation.
List attached Stocks.
GET /rest/financials/{id}/stock
func (*Client) ListInterval ¶
func (c *Client) ListInterval(ctx context.Context, params ListIntervalParams) (ListIntervalRes, error)
ListInterval invokes listInterval operation.
List Intervals.
GET /rest/intervals
func (*Client) ListIntervalBars ¶
func (c *Client) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (ListIntervalBarsRes, error)
ListIntervalBars invokes listIntervalBars operation.
List attached Bars.
GET /rest/intervals/{id}/bars
func (*Client) ListIntervalTrades ¶
func (c *Client) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (ListIntervalTradesRes, error)
ListIntervalTrades invokes listIntervalTrades operation.
List attached Trades.
GET /rest/intervals/{id}/trades
func (*Client) ListMarketHours ¶
func (c *Client) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (ListMarketHoursRes, error)
ListMarketHours invokes listMarketHours operation.
List MarketHours.
GET /rest/market-hours
func (*Client) ListMarketInfo ¶
func (c *Client) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (ListMarketInfoRes, error)
ListMarketInfo invokes listMarketInfo operation.
List MarketInfos.
GET /rest/market-infos
func (*Client) ListMarketInfoHours ¶
func (c *Client) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (ListMarketInfoHoursRes, error)
ListMarketInfoHours invokes listMarketInfoHours operation.
List attached Hours.
GET /rest/market-infos/{id}/hours
func (*Client) ListSplit ¶
func (c *Client) ListSplit(ctx context.Context, params ListSplitParams) (ListSplitRes, error)
ListSplit invokes listSplit operation.
List Splits.
GET /rest/splits
func (*Client) ListTradeCondition ¶
func (c *Client) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (ListTradeConditionRes, error)
ListTradeCondition invokes listTradeCondition operation.
List TradeConditions.
GET /rest/trade-conditions
func (*Client) ListTradeConditionRecord ¶
func (c *Client) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (ListTradeConditionRecordRes, error)
ListTradeConditionRecord invokes listTradeConditionRecord operation.
List attached Records.
GET /rest/trade-conditions/{id}/record
func (*Client) ListTradeCorrection ¶
func (c *Client) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (ListTradeCorrectionRes, error)
ListTradeCorrection invokes listTradeCorrection operation.
List TradeCorrections.
GET /rest/trade-corrections
func (*Client) ListTradeCorrectionRecord ¶
func (c *Client) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (ListTradeCorrectionRecordRes, error)
ListTradeCorrectionRecord invokes listTradeCorrectionRecord operation.
List attached Records.
GET /rest/trade-corrections/{id}/record
func (*Client) ListTradeRecord ¶
func (c *Client) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (ListTradeRecordRes, error)
ListTradeRecord invokes listTradeRecord operation.
List TradeRecords.
GET /rest/trade-records
func (*Client) ListTradeRecordConditions ¶
func (c *Client) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (ListTradeRecordConditionsRes, error)
ListTradeRecordConditions invokes listTradeRecordConditions operation.
List attached Conditions.
GET /rest/trade-records/{id}/conditions
func (*Client) ListTradeRecordCorrection ¶
func (c *Client) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (ListTradeRecordCorrectionRes, error)
ListTradeRecordCorrection invokes listTradeRecordCorrection operation.
List attached Corrections.
GET /rest/trade-records/{id}/correction
func (*Client) ListTradeRecordExchange ¶
func (c *Client) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (ListTradeRecordExchangeRes, error)
ListTradeRecordExchange invokes listTradeRecordExchange operation.
List attached Exchanges.
GET /rest/trade-records/{id}/exchange
func (*Client) ListTradeTimeRange ¶
func (c *Client) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (ListTradeTimeRangeRes, error)
ListTradeTimeRange invokes listTradeTimeRange operation.
List TradeTimeRanges.
GET /rest/trade-time-ranges
func (*Client) ListTradeTimeRangeRecords ¶
func (c *Client) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (ListTradeTimeRangeRecordsRes, error)
ListTradeTimeRangeRecords invokes listTradeTimeRangeRecords operation.
List attached Records.
GET /rest/trade-time-ranges/{id}/records
func (*Client) ReadBarGroup ¶
func (c *Client) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (ReadBarGroupRes, error)
ReadBarGroup invokes readBarGroup operation.
Finds the BarGroup with the requested ID and returns it.
GET /rest/bar-groups/{id}
func (*Client) ReadBarGroupTimeRange ¶
func (c *Client) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (ReadBarGroupTimeRangeRes, error)
ReadBarGroupTimeRange invokes readBarGroupTimeRange operation.
Find the attached BarTimeRange of the BarGroup with the given ID.
GET /rest/bar-groups/{id}/time-range
func (*Client) ReadBarRecord ¶
func (c *Client) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (ReadBarRecordRes, error)
ReadBarRecord invokes readBarRecord operation.
Finds the BarRecord with the requested ID and returns it.
GET /rest/bar-records/{id}
func (*Client) ReadBarRecordGroup ¶
func (c *Client) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (ReadBarRecordGroupRes, error)
ReadBarRecordGroup invokes readBarRecordGroup operation.
Find the attached BarGroup of the BarRecord with the given ID.
GET /rest/bar-records/{id}/group
func (*Client) ReadBarTimeRange ¶
func (c *Client) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (ReadBarTimeRangeRes, error)
ReadBarTimeRange invokes readBarTimeRange operation.
Finds the BarTimeRange with the requested ID and returns it.
GET /rest/bar-time-ranges/{id}
func (*Client) ReadBarTimeRangeInterval ¶
func (c *Client) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (ReadBarTimeRangeIntervalRes, error)
ReadBarTimeRangeInterval invokes readBarTimeRangeInterval operation.
Find the attached Interval of the BarTimeRange with the given ID.
GET /rest/bar-time-ranges/{id}/interval
func (*Client) ReadDataSource ¶
func (c *Client) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (ReadDataSourceRes, error)
ReadDataSource invokes readDataSource operation.
Finds the DataSource with the requested ID and returns it.
GET /rest/data-sources/{id}
func (*Client) ReadDividend ¶
func (c *Client) ReadDividend(ctx context.Context, params ReadDividendParams) (ReadDividendRes, error)
ReadDividend invokes readDividend operation.
Finds the Dividend with the requested ID and returns it.
GET /rest/dividends/{id}
func (*Client) ReadEntity ¶
func (c *Client) ReadEntity(ctx context.Context, params ReadEntityParams) (ReadEntityRes, error)
ReadEntity invokes readEntity operation.
Finds the Entity with the requested ID and returns it.
GET /rest/entities/{id}
func (*Client) ReadExchange ¶
func (c *Client) ReadExchange(ctx context.Context, params ReadExchangeParams) (ReadExchangeRes, error)
ReadExchange invokes readExchange operation.
Finds the Exchange with the requested ID and returns it.
GET /rest/exchanges/{id}
func (*Client) ReadFinancial ¶
func (c *Client) ReadFinancial(ctx context.Context, params ReadFinancialParams) (ReadFinancialRes, error)
ReadFinancial invokes readFinancial operation.
Finds the Financial with the requested ID and returns it.
GET /rest/financials/{id}
func (*Client) ReadInterval ¶
func (c *Client) ReadInterval(ctx context.Context, params ReadIntervalParams) (ReadIntervalRes, error)
ReadInterval invokes readInterval operation.
Finds the Interval with the requested ID and returns it.
GET /rest/intervals/{id}
func (*Client) ReadIntervalDataSource ¶
func (c *Client) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (ReadIntervalDataSourceRes, error)
ReadIntervalDataSource invokes readIntervalDataSource operation.
Find the attached DataSource of the Interval with the given ID.
GET /rest/intervals/{id}/data-source
func (*Client) ReadIntervalStock ¶
func (c *Client) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (ReadIntervalStockRes, error)
ReadIntervalStock invokes readIntervalStock operation.
Find the attached Entity of the Interval with the given ID.
GET /rest/intervals/{id}/stock
func (*Client) ReadMarketHours ¶
func (c *Client) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (ReadMarketHoursRes, error)
ReadMarketHours invokes readMarketHours operation.
Finds the MarketHours with the requested ID and returns it.
GET /rest/market-hours/{id}
func (*Client) ReadMarketHoursMarketInfo ¶
func (c *Client) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (ReadMarketHoursMarketInfoRes, error)
ReadMarketHoursMarketInfo invokes readMarketHoursMarketInfo operation.
Find the attached MarketInfo of the MarketHours with the given ID.
GET /rest/market-hours/{id}/market-info
func (*Client) ReadMarketInfo ¶
func (c *Client) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (ReadMarketInfoRes, error)
ReadMarketInfo invokes readMarketInfo operation.
Finds the MarketInfo with the requested ID and returns it.
GET /rest/market-infos/{id}
func (*Client) ReadSplit ¶
func (c *Client) ReadSplit(ctx context.Context, params ReadSplitParams) (ReadSplitRes, error)
ReadSplit invokes readSplit operation.
Finds the Split with the requested ID and returns it.
GET /rest/splits/{id}
func (*Client) ReadSplitStock ¶
func (c *Client) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (ReadSplitStockRes, error)
ReadSplitStock invokes readSplitStock operation.
Find the attached Entity of the Split with the given ID.
GET /rest/splits/{id}/stock
func (*Client) ReadTradeCondition ¶
func (c *Client) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (ReadTradeConditionRes, error)
ReadTradeCondition invokes readTradeCondition operation.
Finds the TradeCondition with the requested ID and returns it.
GET /rest/trade-conditions/{id}
func (*Client) ReadTradeCorrection ¶
func (c *Client) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (ReadTradeCorrectionRes, error)
ReadTradeCorrection invokes readTradeCorrection operation.
Finds the TradeCorrection with the requested ID and returns it.
GET /rest/trade-corrections/{id}
func (*Client) ReadTradeRecord ¶
func (c *Client) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (ReadTradeRecordRes, error)
ReadTradeRecord invokes readTradeRecord operation.
Finds the TradeRecord with the requested ID and returns it.
GET /rest/trade-records/{id}
func (*Client) ReadTradeRecordTimeRange ¶
func (c *Client) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (ReadTradeRecordTimeRangeRes, error)
ReadTradeRecordTimeRange invokes readTradeRecordTimeRange operation.
Find the attached TradeTimeRange of the TradeRecord with the given ID.
GET /rest/trade-records/{id}/time-range
func (*Client) ReadTradeTimeRange ¶
func (c *Client) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (ReadTradeTimeRangeRes, error)
ReadTradeTimeRange invokes readTradeTimeRange operation.
Finds the TradeTimeRange with the requested ID and returns it.
GET /rest/trade-time-ranges/{id}
func (*Client) ReadTradeTimeRangeInterval ¶
func (c *Client) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (ReadTradeTimeRangeIntervalRes, error)
ReadTradeTimeRangeInterval invokes readTradeTimeRangeInterval operation.
Find the attached Interval of the TradeTimeRange with the given ID.
GET /rest/trade-time-ranges/{id}/interval
func (*Client) SearchTicker ¶
func (c *Client) SearchTicker(ctx context.Context, params SearchTickerParams) (*SearchTickerOK, error)
SearchTicker invokes searchTicker operation.
Searches for entities by ticker.
GET /rest/search/{ticker}
func (*Client) UpdateBarGroup ¶
func (c *Client) UpdateBarGroup(ctx context.Context, request *UpdateBarGroupReq, params UpdateBarGroupParams) (UpdateBarGroupRes, error)
UpdateBarGroup invokes updateBarGroup operation.
Updates a BarGroup and persists changes to storage.
PATCH /rest/bar-groups/{id}
func (*Client) UpdateBarRecord ¶
func (c *Client) UpdateBarRecord(ctx context.Context, request *UpdateBarRecordReq, params UpdateBarRecordParams) (UpdateBarRecordRes, error)
UpdateBarRecord invokes updateBarRecord operation.
Updates a BarRecord and persists changes to storage.
PATCH /rest/bar-records/{id}
func (*Client) UpdateBarTimeRange ¶
func (c *Client) UpdateBarTimeRange(ctx context.Context, request *UpdateBarTimeRangeReq, params UpdateBarTimeRangeParams) (UpdateBarTimeRangeRes, error)
UpdateBarTimeRange invokes updateBarTimeRange operation.
Updates a BarTimeRange and persists changes to storage.
PATCH /rest/bar-time-ranges/{id}
func (*Client) UpdateDataSource ¶
func (c *Client) UpdateDataSource(ctx context.Context, request *UpdateDataSourceReq, params UpdateDataSourceParams) (UpdateDataSourceRes, error)
UpdateDataSource invokes updateDataSource operation.
Updates a DataSource and persists changes to storage.
PATCH /rest/data-sources/{id}
func (*Client) UpdateDividend ¶
func (c *Client) UpdateDividend(ctx context.Context, request *UpdateDividendReq, params UpdateDividendParams) (UpdateDividendRes, error)
UpdateDividend invokes updateDividend operation.
Updates a Dividend and persists changes to storage.
PATCH /rest/dividends/{id}
func (*Client) UpdateEntity ¶
func (c *Client) UpdateEntity(ctx context.Context, request *UpdateEntityReq, params UpdateEntityParams) (UpdateEntityRes, error)
UpdateEntity invokes updateEntity operation.
Updates a Entity and persists changes to storage.
PATCH /rest/entities/{id}
func (*Client) UpdateExchange ¶
func (c *Client) UpdateExchange(ctx context.Context, request *UpdateExchangeReq, params UpdateExchangeParams) (UpdateExchangeRes, error)
UpdateExchange invokes updateExchange operation.
Updates a Exchange and persists changes to storage.
PATCH /rest/exchanges/{id}
func (*Client) UpdateFinancial ¶
func (c *Client) UpdateFinancial(ctx context.Context, request *UpdateFinancialReq, params UpdateFinancialParams) (UpdateFinancialRes, error)
UpdateFinancial invokes updateFinancial operation.
Updates a Financial and persists changes to storage.
PATCH /rest/financials/{id}
func (*Client) UpdateInterval ¶
func (c *Client) UpdateInterval(ctx context.Context, request *UpdateIntervalReq, params UpdateIntervalParams) (UpdateIntervalRes, error)
UpdateInterval invokes updateInterval operation.
Updates a Interval and persists changes to storage.
PATCH /rest/intervals/{id}
func (*Client) UpdateMarketHours ¶
func (c *Client) UpdateMarketHours(ctx context.Context, request *UpdateMarketHoursReq, params UpdateMarketHoursParams) (UpdateMarketHoursRes, error)
UpdateMarketHours invokes updateMarketHours operation.
Updates a MarketHours and persists changes to storage.
PATCH /rest/market-hours/{id}
func (*Client) UpdateMarketInfo ¶
func (c *Client) UpdateMarketInfo(ctx context.Context, request *UpdateMarketInfoReq, params UpdateMarketInfoParams) (UpdateMarketInfoRes, error)
UpdateMarketInfo invokes updateMarketInfo operation.
Updates a MarketInfo and persists changes to storage.
PATCH /rest/market-infos/{id}
func (*Client) UpdateSplit ¶
func (c *Client) UpdateSplit(ctx context.Context, request *UpdateSplitReq, params UpdateSplitParams) (UpdateSplitRes, error)
UpdateSplit invokes updateSplit operation.
Updates a Split and persists changes to storage.
PATCH /rest/splits/{id}
func (*Client) UpdateTradeCondition ¶
func (c *Client) UpdateTradeCondition(ctx context.Context, request *UpdateTradeConditionReq, params UpdateTradeConditionParams) (UpdateTradeConditionRes, error)
UpdateTradeCondition invokes updateTradeCondition operation.
Updates a TradeCondition and persists changes to storage.
PATCH /rest/trade-conditions/{id}
func (*Client) UpdateTradeCorrection ¶
func (c *Client) UpdateTradeCorrection(ctx context.Context, request *UpdateTradeCorrectionReq, params UpdateTradeCorrectionParams) (UpdateTradeCorrectionRes, error)
UpdateTradeCorrection invokes updateTradeCorrection operation.
Updates a TradeCorrection and persists changes to storage.
PATCH /rest/trade-corrections/{id}
func (*Client) UpdateTradeRecord ¶
func (c *Client) UpdateTradeRecord(ctx context.Context, request *UpdateTradeRecordReq, params UpdateTradeRecordParams) (UpdateTradeRecordRes, error)
UpdateTradeRecord invokes updateTradeRecord operation.
Updates a TradeRecord and persists changes to storage.
PATCH /rest/trade-records/{id}
func (*Client) UpdateTradeTimeRange ¶
func (c *Client) UpdateTradeTimeRange(ctx context.Context, request *UpdateTradeTimeRangeReq, params UpdateTradeTimeRangeParams) (UpdateTradeTimeRangeRes, error)
UpdateTradeTimeRange invokes updateTradeTimeRange operation.
Updates a TradeTimeRange and persists changes to storage.
PATCH /rest/trade-time-ranges/{id}
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CreateBarGroupReq ¶
type CreateBarGroupReq struct { First time.Time `json:"first"` Last time.Time `json:"last"` Count int `json:"count"` TimeRangeID int `json:"time_range_id"` TimeRange int `json:"time_range"` Records []int `json:"records"` }
func (*CreateBarGroupReq) Decode ¶
func (s *CreateBarGroupReq) Decode(d *jx.Decoder) error
Decode decodes CreateBarGroupReq from json.
func (*CreateBarGroupReq) Encode ¶
func (s *CreateBarGroupReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateBarGroupReq) GetCount ¶
func (s *CreateBarGroupReq) GetCount() int
GetCount returns the value of Count.
func (*CreateBarGroupReq) GetFirst ¶
func (s *CreateBarGroupReq) GetFirst() time.Time
GetFirst returns the value of First.
func (*CreateBarGroupReq) GetLast ¶
func (s *CreateBarGroupReq) GetLast() time.Time
GetLast returns the value of Last.
func (*CreateBarGroupReq) GetRecords ¶
func (s *CreateBarGroupReq) GetRecords() []int
GetRecords returns the value of Records.
func (*CreateBarGroupReq) GetTimeRange ¶
func (s *CreateBarGroupReq) GetTimeRange() int
GetTimeRange returns the value of TimeRange.
func (*CreateBarGroupReq) GetTimeRangeID ¶
func (s *CreateBarGroupReq) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*CreateBarGroupReq) MarshalJSON ¶
func (s *CreateBarGroupReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateBarGroupReq) SetCount ¶
func (s *CreateBarGroupReq) SetCount(val int)
SetCount sets the value of Count.
func (*CreateBarGroupReq) SetFirst ¶
func (s *CreateBarGroupReq) SetFirst(val time.Time)
SetFirst sets the value of First.
func (*CreateBarGroupReq) SetLast ¶
func (s *CreateBarGroupReq) SetLast(val time.Time)
SetLast sets the value of Last.
func (*CreateBarGroupReq) SetRecords ¶
func (s *CreateBarGroupReq) SetRecords(val []int)
SetRecords sets the value of Records.
func (*CreateBarGroupReq) SetTimeRange ¶
func (s *CreateBarGroupReq) SetTimeRange(val int)
SetTimeRange sets the value of TimeRange.
func (*CreateBarGroupReq) SetTimeRangeID ¶
func (s *CreateBarGroupReq) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*CreateBarGroupReq) UnmarshalJSON ¶
func (s *CreateBarGroupReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateBarGroupRes ¶
type CreateBarGroupRes interface {
// contains filtered or unexported methods
}
type CreateBarRecordReq ¶
type CreateBarRecordReq struct { Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Open float64 `json:"open"` Timestamp time.Time `json:"timestamp"` Volume float64 `json:"volume"` Transactions int32 `json:"transactions"` Group OptInt `json:"group"` }
func (*CreateBarRecordReq) Decode ¶
func (s *CreateBarRecordReq) Decode(d *jx.Decoder) error
Decode decodes CreateBarRecordReq from json.
func (*CreateBarRecordReq) Encode ¶
func (s *CreateBarRecordReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateBarRecordReq) GetClose ¶
func (s *CreateBarRecordReq) GetClose() float64
GetClose returns the value of Close.
func (*CreateBarRecordReq) GetGroup ¶
func (s *CreateBarRecordReq) GetGroup() OptInt
GetGroup returns the value of Group.
func (*CreateBarRecordReq) GetHigh ¶
func (s *CreateBarRecordReq) GetHigh() float64
GetHigh returns the value of High.
func (*CreateBarRecordReq) GetLow ¶
func (s *CreateBarRecordReq) GetLow() float64
GetLow returns the value of Low.
func (*CreateBarRecordReq) GetOpen ¶
func (s *CreateBarRecordReq) GetOpen() float64
GetOpen returns the value of Open.
func (*CreateBarRecordReq) GetTimestamp ¶
func (s *CreateBarRecordReq) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*CreateBarRecordReq) GetTransactions ¶
func (s *CreateBarRecordReq) GetTransactions() int32
GetTransactions returns the value of Transactions.
func (*CreateBarRecordReq) GetVolume ¶
func (s *CreateBarRecordReq) GetVolume() float64
GetVolume returns the value of Volume.
func (*CreateBarRecordReq) MarshalJSON ¶
func (s *CreateBarRecordReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateBarRecordReq) SetClose ¶
func (s *CreateBarRecordReq) SetClose(val float64)
SetClose sets the value of Close.
func (*CreateBarRecordReq) SetGroup ¶
func (s *CreateBarRecordReq) SetGroup(val OptInt)
SetGroup sets the value of Group.
func (*CreateBarRecordReq) SetHigh ¶
func (s *CreateBarRecordReq) SetHigh(val float64)
SetHigh sets the value of High.
func (*CreateBarRecordReq) SetLow ¶
func (s *CreateBarRecordReq) SetLow(val float64)
SetLow sets the value of Low.
func (*CreateBarRecordReq) SetOpen ¶
func (s *CreateBarRecordReq) SetOpen(val float64)
SetOpen sets the value of Open.
func (*CreateBarRecordReq) SetTimestamp ¶
func (s *CreateBarRecordReq) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*CreateBarRecordReq) SetTransactions ¶
func (s *CreateBarRecordReq) SetTransactions(val int32)
SetTransactions sets the value of Transactions.
func (*CreateBarRecordReq) SetVolume ¶
func (s *CreateBarRecordReq) SetVolume(val float64)
SetVolume sets the value of Volume.
func (*CreateBarRecordReq) UnmarshalJSON ¶
func (s *CreateBarRecordReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateBarRecordReq) Validate ¶
func (s *CreateBarRecordReq) Validate() error
type CreateBarRecordRes ¶
type CreateBarRecordRes interface {
// contains filtered or unexported methods
}
type CreateBarTimeRangeReq ¶
type CreateBarTimeRangeReq struct { Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status CreateBarTimeRangeReqStatus `json:"status"` UpdateTime time.Time `json:"update_time"` Interval int `json:"interval"` Groups []int `json:"groups"` }
func (*CreateBarTimeRangeReq) Decode ¶
func (s *CreateBarTimeRangeReq) Decode(d *jx.Decoder) error
Decode decodes CreateBarTimeRangeReq from json.
func (*CreateBarTimeRangeReq) Encode ¶
func (s *CreateBarTimeRangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateBarTimeRangeReq) GetCount ¶
func (s *CreateBarTimeRangeReq) GetCount() int
GetCount returns the value of Count.
func (*CreateBarTimeRangeReq) GetEnd ¶
func (s *CreateBarTimeRangeReq) GetEnd() time.Time
GetEnd returns the value of End.
func (*CreateBarTimeRangeReq) GetGroups ¶
func (s *CreateBarTimeRangeReq) GetGroups() []int
GetGroups returns the value of Groups.
func (*CreateBarTimeRangeReq) GetInterval ¶
func (s *CreateBarTimeRangeReq) GetInterval() int
GetInterval returns the value of Interval.
func (*CreateBarTimeRangeReq) GetIntervalID ¶
func (s *CreateBarTimeRangeReq) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*CreateBarTimeRangeReq) GetStart ¶
func (s *CreateBarTimeRangeReq) GetStart() time.Time
GetStart returns the value of Start.
func (*CreateBarTimeRangeReq) GetStatus ¶
func (s *CreateBarTimeRangeReq) GetStatus() CreateBarTimeRangeReqStatus
GetStatus returns the value of Status.
func (*CreateBarTimeRangeReq) GetUpdateTime ¶
func (s *CreateBarTimeRangeReq) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*CreateBarTimeRangeReq) MarshalJSON ¶
func (s *CreateBarTimeRangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateBarTimeRangeReq) SetCount ¶
func (s *CreateBarTimeRangeReq) SetCount(val int)
SetCount sets the value of Count.
func (*CreateBarTimeRangeReq) SetEnd ¶
func (s *CreateBarTimeRangeReq) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*CreateBarTimeRangeReq) SetGroups ¶
func (s *CreateBarTimeRangeReq) SetGroups(val []int)
SetGroups sets the value of Groups.
func (*CreateBarTimeRangeReq) SetInterval ¶
func (s *CreateBarTimeRangeReq) SetInterval(val int)
SetInterval sets the value of Interval.
func (*CreateBarTimeRangeReq) SetIntervalID ¶
func (s *CreateBarTimeRangeReq) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*CreateBarTimeRangeReq) SetStart ¶
func (s *CreateBarTimeRangeReq) SetStart(val time.Time)
SetStart sets the value of Start.
func (*CreateBarTimeRangeReq) SetStatus ¶
func (s *CreateBarTimeRangeReq) SetStatus(val CreateBarTimeRangeReqStatus)
SetStatus sets the value of Status.
func (*CreateBarTimeRangeReq) SetUpdateTime ¶
func (s *CreateBarTimeRangeReq) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*CreateBarTimeRangeReq) UnmarshalJSON ¶
func (s *CreateBarTimeRangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateBarTimeRangeReq) Validate ¶
func (s *CreateBarTimeRangeReq) Validate() error
type CreateBarTimeRangeReqStatus ¶
type CreateBarTimeRangeReqStatus string
const ( CreateBarTimeRangeReqStatusPending CreateBarTimeRangeReqStatus = "pending" CreateBarTimeRangeReqStatusCreated CreateBarTimeRangeReqStatus = "created" CreateBarTimeRangeReqStatusClean CreateBarTimeRangeReqStatus = "clean" CreateBarTimeRangeReqStatusConsolidated CreateBarTimeRangeReqStatus = "consolidated" )
func (*CreateBarTimeRangeReqStatus) Decode ¶
func (s *CreateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
Decode decodes CreateBarTimeRangeReqStatus from json.
func (CreateBarTimeRangeReqStatus) Encode ¶
func (s CreateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
Encode encodes CreateBarTimeRangeReqStatus as json.
func (CreateBarTimeRangeReqStatus) MarshalJSON ¶
func (s CreateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateBarTimeRangeReqStatus) MarshalText ¶
func (s CreateBarTimeRangeReqStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateBarTimeRangeReqStatus) UnmarshalJSON ¶
func (s *CreateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateBarTimeRangeReqStatus) UnmarshalText ¶
func (s *CreateBarTimeRangeReqStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateBarTimeRangeReqStatus) Validate ¶
func (s CreateBarTimeRangeReqStatus) Validate() error
type CreateBarTimeRangeRes ¶
type CreateBarTimeRangeRes interface {
// contains filtered or unexported methods
}
type CreateDataSourceReq ¶
type CreateDataSourceReq struct { Name string `json:"name"` Address string `json:"address"` Intervals []int `json:"intervals"` }
func (*CreateDataSourceReq) Decode ¶
func (s *CreateDataSourceReq) Decode(d *jx.Decoder) error
Decode decodes CreateDataSourceReq from json.
func (*CreateDataSourceReq) Encode ¶
func (s *CreateDataSourceReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateDataSourceReq) GetAddress ¶
func (s *CreateDataSourceReq) GetAddress() string
GetAddress returns the value of Address.
func (*CreateDataSourceReq) GetIntervals ¶
func (s *CreateDataSourceReq) GetIntervals() []int
GetIntervals returns the value of Intervals.
func (*CreateDataSourceReq) GetName ¶
func (s *CreateDataSourceReq) GetName() string
GetName returns the value of Name.
func (*CreateDataSourceReq) MarshalJSON ¶
func (s *CreateDataSourceReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateDataSourceReq) SetAddress ¶
func (s *CreateDataSourceReq) SetAddress(val string)
SetAddress sets the value of Address.
func (*CreateDataSourceReq) SetIntervals ¶
func (s *CreateDataSourceReq) SetIntervals(val []int)
SetIntervals sets the value of Intervals.
func (*CreateDataSourceReq) SetName ¶
func (s *CreateDataSourceReq) SetName(val string)
SetName sets the value of Name.
func (*CreateDataSourceReq) UnmarshalJSON ¶
func (s *CreateDataSourceReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateDataSourceRes ¶
type CreateDataSourceRes interface {
// contains filtered or unexported methods
}
type CreateDividendReq ¶
type CreateDividendReq struct { CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType CreateDividendReqDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` Stock []int `json:"stock"` }
func (*CreateDividendReq) Decode ¶
func (s *CreateDividendReq) Decode(d *jx.Decoder) error
Decode decodes CreateDividendReq from json.
func (*CreateDividendReq) Encode ¶
func (s *CreateDividendReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateDividendReq) GetCashAmount ¶
func (s *CreateDividendReq) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*CreateDividendReq) GetDeclarationDate ¶
func (s *CreateDividendReq) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*CreateDividendReq) GetDividendType ¶
func (s *CreateDividendReq) GetDividendType() CreateDividendReqDividendType
GetDividendType returns the value of DividendType.
func (*CreateDividendReq) GetExDividendDate ¶
func (s *CreateDividendReq) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*CreateDividendReq) GetFrequency ¶
func (s *CreateDividendReq) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*CreateDividendReq) GetPayDate ¶
func (s *CreateDividendReq) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*CreateDividendReq) GetRecordDate ¶
func (s *CreateDividendReq) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*CreateDividendReq) GetStock ¶
func (s *CreateDividendReq) GetStock() []int
GetStock returns the value of Stock.
func (*CreateDividendReq) MarshalJSON ¶
func (s *CreateDividendReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateDividendReq) SetCashAmount ¶
func (s *CreateDividendReq) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*CreateDividendReq) SetDeclarationDate ¶
func (s *CreateDividendReq) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*CreateDividendReq) SetDividendType ¶
func (s *CreateDividendReq) SetDividendType(val CreateDividendReqDividendType)
SetDividendType sets the value of DividendType.
func (*CreateDividendReq) SetExDividendDate ¶
func (s *CreateDividendReq) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*CreateDividendReq) SetFrequency ¶
func (s *CreateDividendReq) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*CreateDividendReq) SetPayDate ¶
func (s *CreateDividendReq) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*CreateDividendReq) SetRecordDate ¶
func (s *CreateDividendReq) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*CreateDividendReq) SetStock ¶
func (s *CreateDividendReq) SetStock(val []int)
SetStock sets the value of Stock.
func (*CreateDividendReq) UnmarshalJSON ¶
func (s *CreateDividendReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateDividendReq) Validate ¶
func (s *CreateDividendReq) Validate() error
type CreateDividendReqDividendType ¶
type CreateDividendReqDividendType string
const ( CreateDividendReqDividendTypeCD CreateDividendReqDividendType = "CD" CreateDividendReqDividendTypeSC CreateDividendReqDividendType = "SC" CreateDividendReqDividendTypeLT CreateDividendReqDividendType = "LT" CreateDividendReqDividendTypeST CreateDividendReqDividendType = "ST" )
func (*CreateDividendReqDividendType) Decode ¶
func (s *CreateDividendReqDividendType) Decode(d *jx.Decoder) error
Decode decodes CreateDividendReqDividendType from json.
func (CreateDividendReqDividendType) Encode ¶
func (s CreateDividendReqDividendType) Encode(e *jx.Encoder)
Encode encodes CreateDividendReqDividendType as json.
func (CreateDividendReqDividendType) MarshalJSON ¶
func (s CreateDividendReqDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateDividendReqDividendType) MarshalText ¶
func (s CreateDividendReqDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateDividendReqDividendType) UnmarshalJSON ¶
func (s *CreateDividendReqDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateDividendReqDividendType) UnmarshalText ¶
func (s *CreateDividendReqDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateDividendReqDividendType) Validate ¶
func (s CreateDividendReqDividendType) Validate() error
type CreateDividendRes ¶
type CreateDividendRes interface {
// contains filtered or unexported methods
}
type CreateEntityReq ¶
type CreateEntityReq struct { Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` Exchanges []int `json:"exchanges"` Intervals []int `json:"intervals"` Dividends []int `json:"dividends"` Splits []int `json:"splits"` Financials []int `json:"financials"` }
func (*CreateEntityReq) Decode ¶
func (s *CreateEntityReq) Decode(d *jx.Decoder) error
Decode decodes CreateEntityReq from json.
func (*CreateEntityReq) Encode ¶
func (s *CreateEntityReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateEntityReq) GetActive ¶
func (s *CreateEntityReq) GetActive() bool
GetActive returns the value of Active.
func (*CreateEntityReq) GetDelisted ¶
func (s *CreateEntityReq) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*CreateEntityReq) GetDescription ¶
func (s *CreateEntityReq) GetDescription() string
GetDescription returns the value of Description.
func (*CreateEntityReq) GetDividends ¶
func (s *CreateEntityReq) GetDividends() []int
GetDividends returns the value of Dividends.
func (*CreateEntityReq) GetExchanges ¶
func (s *CreateEntityReq) GetExchanges() []int
GetExchanges returns the value of Exchanges.
func (*CreateEntityReq) GetFinancials ¶
func (s *CreateEntityReq) GetFinancials() []int
GetFinancials returns the value of Financials.
func (*CreateEntityReq) GetIntervals ¶
func (s *CreateEntityReq) GetIntervals() []int
GetIntervals returns the value of Intervals.
func (*CreateEntityReq) GetListDate ¶
func (s *CreateEntityReq) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*CreateEntityReq) GetName ¶
func (s *CreateEntityReq) GetName() string
GetName returns the value of Name.
func (*CreateEntityReq) GetSplits ¶
func (s *CreateEntityReq) GetSplits() []int
GetSplits returns the value of Splits.
func (*CreateEntityReq) GetTicker ¶
func (s *CreateEntityReq) GetTicker() string
GetTicker returns the value of Ticker.
func (*CreateEntityReq) MarshalJSON ¶
func (s *CreateEntityReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateEntityReq) SetActive ¶
func (s *CreateEntityReq) SetActive(val bool)
SetActive sets the value of Active.
func (*CreateEntityReq) SetDelisted ¶
func (s *CreateEntityReq) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*CreateEntityReq) SetDescription ¶
func (s *CreateEntityReq) SetDescription(val string)
SetDescription sets the value of Description.
func (*CreateEntityReq) SetDividends ¶
func (s *CreateEntityReq) SetDividends(val []int)
SetDividends sets the value of Dividends.
func (*CreateEntityReq) SetExchanges ¶
func (s *CreateEntityReq) SetExchanges(val []int)
SetExchanges sets the value of Exchanges.
func (*CreateEntityReq) SetFinancials ¶
func (s *CreateEntityReq) SetFinancials(val []int)
SetFinancials sets the value of Financials.
func (*CreateEntityReq) SetIntervals ¶
func (s *CreateEntityReq) SetIntervals(val []int)
SetIntervals sets the value of Intervals.
func (*CreateEntityReq) SetListDate ¶
func (s *CreateEntityReq) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*CreateEntityReq) SetName ¶
func (s *CreateEntityReq) SetName(val string)
SetName sets the value of Name.
func (*CreateEntityReq) SetSplits ¶
func (s *CreateEntityReq) SetSplits(val []int)
SetSplits sets the value of Splits.
func (*CreateEntityReq) SetTicker ¶
func (s *CreateEntityReq) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*CreateEntityReq) UnmarshalJSON ¶
func (s *CreateEntityReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateEntityRes ¶
type CreateEntityRes interface {
// contains filtered or unexported methods
}
type CreateExchangeReq ¶
type CreateExchangeReq struct { Code string `json:"code"` Name string `json:"name"` Stocks []int `json:"stocks"` }
func (*CreateExchangeReq) Decode ¶
func (s *CreateExchangeReq) Decode(d *jx.Decoder) error
Decode decodes CreateExchangeReq from json.
func (*CreateExchangeReq) Encode ¶
func (s *CreateExchangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateExchangeReq) GetCode ¶
func (s *CreateExchangeReq) GetCode() string
GetCode returns the value of Code.
func (*CreateExchangeReq) GetName ¶
func (s *CreateExchangeReq) GetName() string
GetName returns the value of Name.
func (*CreateExchangeReq) GetStocks ¶
func (s *CreateExchangeReq) GetStocks() []int
GetStocks returns the value of Stocks.
func (*CreateExchangeReq) MarshalJSON ¶
func (s *CreateExchangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateExchangeReq) SetCode ¶
func (s *CreateExchangeReq) SetCode(val string)
SetCode sets the value of Code.
func (*CreateExchangeReq) SetName ¶
func (s *CreateExchangeReq) SetName(val string)
SetName sets the value of Name.
func (*CreateExchangeReq) SetStocks ¶
func (s *CreateExchangeReq) SetStocks(val []int)
SetStocks sets the value of Stocks.
func (*CreateExchangeReq) UnmarshalJSON ¶
func (s *CreateExchangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateExchangeRes ¶
type CreateExchangeRes interface {
// contains filtered or unexported methods
}
type CreateFinancialReq ¶
type CreateFinancialReq struct {
Stock []int `json:"stock"`
}
func (*CreateFinancialReq) Decode ¶
func (s *CreateFinancialReq) Decode(d *jx.Decoder) error
Decode decodes CreateFinancialReq from json.
func (*CreateFinancialReq) Encode ¶
func (s *CreateFinancialReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateFinancialReq) GetStock ¶
func (s *CreateFinancialReq) GetStock() []int
GetStock returns the value of Stock.
func (*CreateFinancialReq) MarshalJSON ¶
func (s *CreateFinancialReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateFinancialReq) SetStock ¶
func (s *CreateFinancialReq) SetStock(val []int)
SetStock sets the value of Stock.
func (*CreateFinancialReq) UnmarshalJSON ¶
func (s *CreateFinancialReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateFinancialRes ¶
type CreateFinancialRes interface {
// contains filtered or unexported methods
}
type CreateIntervalReq ¶
type CreateIntervalReq struct { Active bool `json:"active"` Interval CreateIntervalReqInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` DataSource int `json:"data_source"` Stock int `json:"stock"` Bars []int `json:"bars"` Trades []int `json:"trades"` }
func (*CreateIntervalReq) Decode ¶
func (s *CreateIntervalReq) Decode(d *jx.Decoder) error
Decode decodes CreateIntervalReq from json.
func (*CreateIntervalReq) Encode ¶
func (s *CreateIntervalReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateIntervalReq) GetActive ¶
func (s *CreateIntervalReq) GetActive() bool
GetActive returns the value of Active.
func (*CreateIntervalReq) GetBars ¶
func (s *CreateIntervalReq) GetBars() []int
GetBars returns the value of Bars.
func (*CreateIntervalReq) GetDataSource ¶
func (s *CreateIntervalReq) GetDataSource() int
GetDataSource returns the value of DataSource.
func (*CreateIntervalReq) GetDataSourceID ¶
func (s *CreateIntervalReq) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*CreateIntervalReq) GetInterval ¶
func (s *CreateIntervalReq) GetInterval() CreateIntervalReqInterval
GetInterval returns the value of Interval.
func (*CreateIntervalReq) GetStock ¶
func (s *CreateIntervalReq) GetStock() int
GetStock returns the value of Stock.
func (*CreateIntervalReq) GetStockID ¶
func (s *CreateIntervalReq) GetStockID() int
GetStockID returns the value of StockID.
func (*CreateIntervalReq) GetTrades ¶
func (s *CreateIntervalReq) GetTrades() []int
GetTrades returns the value of Trades.
func (*CreateIntervalReq) MarshalJSON ¶
func (s *CreateIntervalReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateIntervalReq) SetActive ¶
func (s *CreateIntervalReq) SetActive(val bool)
SetActive sets the value of Active.
func (*CreateIntervalReq) SetBars ¶
func (s *CreateIntervalReq) SetBars(val []int)
SetBars sets the value of Bars.
func (*CreateIntervalReq) SetDataSource ¶
func (s *CreateIntervalReq) SetDataSource(val int)
SetDataSource sets the value of DataSource.
func (*CreateIntervalReq) SetDataSourceID ¶
func (s *CreateIntervalReq) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*CreateIntervalReq) SetInterval ¶
func (s *CreateIntervalReq) SetInterval(val CreateIntervalReqInterval)
SetInterval sets the value of Interval.
func (*CreateIntervalReq) SetStock ¶
func (s *CreateIntervalReq) SetStock(val int)
SetStock sets the value of Stock.
func (*CreateIntervalReq) SetStockID ¶
func (s *CreateIntervalReq) SetStockID(val int)
SetStockID sets the value of StockID.
func (*CreateIntervalReq) SetTrades ¶
func (s *CreateIntervalReq) SetTrades(val []int)
SetTrades sets the value of Trades.
func (*CreateIntervalReq) UnmarshalJSON ¶
func (s *CreateIntervalReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateIntervalReq) Validate ¶
func (s *CreateIntervalReq) Validate() error
type CreateIntervalReqInterval ¶
type CreateIntervalReqInterval string
const ( CreateIntervalReqIntervalTrades CreateIntervalReqInterval = "trades" CreateIntervalReqInterval1min CreateIntervalReqInterval = "1min" CreateIntervalReqIntervalDaily CreateIntervalReqInterval = "daily" CreateIntervalReqIntervalMonthly CreateIntervalReqInterval = "monthly" CreateIntervalReqIntervalYearly CreateIntervalReqInterval = "yearly" )
func (*CreateIntervalReqInterval) Decode ¶
func (s *CreateIntervalReqInterval) Decode(d *jx.Decoder) error
Decode decodes CreateIntervalReqInterval from json.
func (CreateIntervalReqInterval) Encode ¶
func (s CreateIntervalReqInterval) Encode(e *jx.Encoder)
Encode encodes CreateIntervalReqInterval as json.
func (CreateIntervalReqInterval) MarshalJSON ¶
func (s CreateIntervalReqInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateIntervalReqInterval) MarshalText ¶
func (s CreateIntervalReqInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateIntervalReqInterval) UnmarshalJSON ¶
func (s *CreateIntervalReqInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateIntervalReqInterval) UnmarshalText ¶
func (s *CreateIntervalReqInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateIntervalReqInterval) Validate ¶
func (s CreateIntervalReqInterval) Validate() error
type CreateIntervalRes ¶
type CreateIntervalRes interface {
// contains filtered or unexported methods
}
type CreateMarketHoursReq ¶
type CreateMarketHoursReq struct { Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` MarketInfo OptInt `json:"market_info"` }
func (*CreateMarketHoursReq) Decode ¶
func (s *CreateMarketHoursReq) Decode(d *jx.Decoder) error
Decode decodes CreateMarketHoursReq from json.
func (*CreateMarketHoursReq) Encode ¶
func (s *CreateMarketHoursReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateMarketHoursReq) GetDate ¶
func (s *CreateMarketHoursReq) GetDate() time.Time
GetDate returns the value of Date.
func (*CreateMarketHoursReq) GetEndTime ¶
func (s *CreateMarketHoursReq) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*CreateMarketHoursReq) GetMarketInfo ¶
func (s *CreateMarketHoursReq) GetMarketInfo() OptInt
GetMarketInfo returns the value of MarketInfo.
func (*CreateMarketHoursReq) GetStartTime ¶
func (s *CreateMarketHoursReq) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*CreateMarketHoursReq) MarshalJSON ¶
func (s *CreateMarketHoursReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMarketHoursReq) SetDate ¶
func (s *CreateMarketHoursReq) SetDate(val time.Time)
SetDate sets the value of Date.
func (*CreateMarketHoursReq) SetEndTime ¶
func (s *CreateMarketHoursReq) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*CreateMarketHoursReq) SetMarketInfo ¶
func (s *CreateMarketHoursReq) SetMarketInfo(val OptInt)
SetMarketInfo sets the value of MarketInfo.
func (*CreateMarketHoursReq) SetStartTime ¶
func (s *CreateMarketHoursReq) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*CreateMarketHoursReq) UnmarshalJSON ¶
func (s *CreateMarketHoursReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateMarketHoursRes ¶
type CreateMarketHoursRes interface {
// contains filtered or unexported methods
}
type CreateMarketInfoReq ¶
type CreateMarketInfoReq struct { HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` Hours []int `json:"hours"` }
func (*CreateMarketInfoReq) Decode ¶
func (s *CreateMarketInfoReq) Decode(d *jx.Decoder) error
Decode decodes CreateMarketInfoReq from json.
func (*CreateMarketInfoReq) Encode ¶
func (s *CreateMarketInfoReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateMarketInfoReq) GetHours ¶
func (s *CreateMarketInfoReq) GetHours() []int
GetHours returns the value of Hours.
func (*CreateMarketInfoReq) GetHoursEnd ¶
func (s *CreateMarketInfoReq) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*CreateMarketInfoReq) GetHoursStart ¶
func (s *CreateMarketInfoReq) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*CreateMarketInfoReq) MarshalJSON ¶
func (s *CreateMarketInfoReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMarketInfoReq) SetHours ¶
func (s *CreateMarketInfoReq) SetHours(val []int)
SetHours sets the value of Hours.
func (*CreateMarketInfoReq) SetHoursEnd ¶
func (s *CreateMarketInfoReq) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*CreateMarketInfoReq) SetHoursStart ¶
func (s *CreateMarketInfoReq) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*CreateMarketInfoReq) UnmarshalJSON ¶
func (s *CreateMarketInfoReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateMarketInfoRes ¶
type CreateMarketInfoRes interface {
// contains filtered or unexported methods
}
type CreateSplitReq ¶
type CreateSplitReq struct { ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` Stock OptInt `json:"stock"` }
func (*CreateSplitReq) Decode ¶
func (s *CreateSplitReq) Decode(d *jx.Decoder) error
Decode decodes CreateSplitReq from json.
func (*CreateSplitReq) Encode ¶
func (s *CreateSplitReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSplitReq) GetExecutionDate ¶
func (s *CreateSplitReq) GetExecutionDate() time.Time
GetExecutionDate returns the value of ExecutionDate.
func (*CreateSplitReq) GetFrom ¶
func (s *CreateSplitReq) GetFrom() float64
GetFrom returns the value of From.
func (*CreateSplitReq) GetStock ¶
func (s *CreateSplitReq) GetStock() OptInt
GetStock returns the value of Stock.
func (*CreateSplitReq) GetTo ¶
func (s *CreateSplitReq) GetTo() float64
GetTo returns the value of To.
func (*CreateSplitReq) MarshalJSON ¶
func (s *CreateSplitReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSplitReq) SetExecutionDate ¶
func (s *CreateSplitReq) SetExecutionDate(val time.Time)
SetExecutionDate sets the value of ExecutionDate.
func (*CreateSplitReq) SetFrom ¶
func (s *CreateSplitReq) SetFrom(val float64)
SetFrom sets the value of From.
func (*CreateSplitReq) SetStock ¶
func (s *CreateSplitReq) SetStock(val OptInt)
SetStock sets the value of Stock.
func (*CreateSplitReq) SetTo ¶
func (s *CreateSplitReq) SetTo(val float64)
SetTo sets the value of To.
func (*CreateSplitReq) UnmarshalJSON ¶
func (s *CreateSplitReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateSplitReq) Validate ¶
func (s *CreateSplitReq) Validate() error
type CreateSplitRes ¶
type CreateSplitRes interface {
// contains filtered or unexported methods
}
type CreateTradeConditionReq ¶
type CreateTradeConditionReq struct { Condition string `json:"condition"` Record []int `json:"record"` }
func (*CreateTradeConditionReq) Decode ¶
func (s *CreateTradeConditionReq) Decode(d *jx.Decoder) error
Decode decodes CreateTradeConditionReq from json.
func (*CreateTradeConditionReq) Encode ¶
func (s *CreateTradeConditionReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTradeConditionReq) GetCondition ¶
func (s *CreateTradeConditionReq) GetCondition() string
GetCondition returns the value of Condition.
func (*CreateTradeConditionReq) GetRecord ¶
func (s *CreateTradeConditionReq) GetRecord() []int
GetRecord returns the value of Record.
func (*CreateTradeConditionReq) MarshalJSON ¶
func (s *CreateTradeConditionReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTradeConditionReq) SetCondition ¶
func (s *CreateTradeConditionReq) SetCondition(val string)
SetCondition sets the value of Condition.
func (*CreateTradeConditionReq) SetRecord ¶
func (s *CreateTradeConditionReq) SetRecord(val []int)
SetRecord sets the value of Record.
func (*CreateTradeConditionReq) UnmarshalJSON ¶
func (s *CreateTradeConditionReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTradeConditionRes ¶
type CreateTradeConditionRes interface {
// contains filtered or unexported methods
}
type CreateTradeCorrectionReq ¶
type CreateTradeCorrectionReq struct { Correction string `json:"correction"` Record []int `json:"record"` }
func (*CreateTradeCorrectionReq) Decode ¶
func (s *CreateTradeCorrectionReq) Decode(d *jx.Decoder) error
Decode decodes CreateTradeCorrectionReq from json.
func (*CreateTradeCorrectionReq) Encode ¶
func (s *CreateTradeCorrectionReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTradeCorrectionReq) GetCorrection ¶
func (s *CreateTradeCorrectionReq) GetCorrection() string
GetCorrection returns the value of Correction.
func (*CreateTradeCorrectionReq) GetRecord ¶
func (s *CreateTradeCorrectionReq) GetRecord() []int
GetRecord returns the value of Record.
func (*CreateTradeCorrectionReq) MarshalJSON ¶
func (s *CreateTradeCorrectionReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTradeCorrectionReq) SetCorrection ¶
func (s *CreateTradeCorrectionReq) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*CreateTradeCorrectionReq) SetRecord ¶
func (s *CreateTradeCorrectionReq) SetRecord(val []int)
SetRecord sets the value of Record.
func (*CreateTradeCorrectionReq) UnmarshalJSON ¶
func (s *CreateTradeCorrectionReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTradeCorrectionRes ¶
type CreateTradeCorrectionRes interface {
// contains filtered or unexported methods
}
type CreateTradeRecordReq ¶
type CreateTradeRecordReq struct { Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` TimeRange int `json:"time_range"` Conditions []int `json:"conditions"` Correction []int `json:"correction"` Exchange []int `json:"exchange"` }
func (*CreateTradeRecordReq) Decode ¶
func (s *CreateTradeRecordReq) Decode(d *jx.Decoder) error
Decode decodes CreateTradeRecordReq from json.
func (*CreateTradeRecordReq) Encode ¶
func (s *CreateTradeRecordReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTradeRecordReq) GetConditions ¶
func (s *CreateTradeRecordReq) GetConditions() []int
GetConditions returns the value of Conditions.
func (*CreateTradeRecordReq) GetCorrection ¶
func (s *CreateTradeRecordReq) GetCorrection() []int
GetCorrection returns the value of Correction.
func (*CreateTradeRecordReq) GetExchange ¶
func (s *CreateTradeRecordReq) GetExchange() []int
GetExchange returns the value of Exchange.
func (*CreateTradeRecordReq) GetPrice ¶
func (s *CreateTradeRecordReq) GetPrice() float64
GetPrice returns the value of Price.
func (*CreateTradeRecordReq) GetTimeRange ¶
func (s *CreateTradeRecordReq) GetTimeRange() int
GetTimeRange returns the value of TimeRange.
func (*CreateTradeRecordReq) GetTimeRangeID ¶
func (s *CreateTradeRecordReq) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*CreateTradeRecordReq) GetTimestamp ¶
func (s *CreateTradeRecordReq) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*CreateTradeRecordReq) GetVolume ¶
func (s *CreateTradeRecordReq) GetVolume() int32
GetVolume returns the value of Volume.
func (*CreateTradeRecordReq) MarshalJSON ¶
func (s *CreateTradeRecordReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTradeRecordReq) SetConditions ¶
func (s *CreateTradeRecordReq) SetConditions(val []int)
SetConditions sets the value of Conditions.
func (*CreateTradeRecordReq) SetCorrection ¶
func (s *CreateTradeRecordReq) SetCorrection(val []int)
SetCorrection sets the value of Correction.
func (*CreateTradeRecordReq) SetExchange ¶
func (s *CreateTradeRecordReq) SetExchange(val []int)
SetExchange sets the value of Exchange.
func (*CreateTradeRecordReq) SetPrice ¶
func (s *CreateTradeRecordReq) SetPrice(val float64)
SetPrice sets the value of Price.
func (*CreateTradeRecordReq) SetTimeRange ¶
func (s *CreateTradeRecordReq) SetTimeRange(val int)
SetTimeRange sets the value of TimeRange.
func (*CreateTradeRecordReq) SetTimeRangeID ¶
func (s *CreateTradeRecordReq) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*CreateTradeRecordReq) SetTimestamp ¶
func (s *CreateTradeRecordReq) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*CreateTradeRecordReq) SetVolume ¶
func (s *CreateTradeRecordReq) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*CreateTradeRecordReq) UnmarshalJSON ¶
func (s *CreateTradeRecordReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateTradeRecordReq) Validate ¶
func (s *CreateTradeRecordReq) Validate() error
type CreateTradeRecordRes ¶
type CreateTradeRecordRes interface {
// contains filtered or unexported methods
}
type CreateTradeTimeRangeReq ¶
type CreateTradeTimeRangeReq struct { Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` Interval int `json:"interval"` Records []int `json:"records"` }
func (*CreateTradeTimeRangeReq) Decode ¶
func (s *CreateTradeTimeRangeReq) Decode(d *jx.Decoder) error
Decode decodes CreateTradeTimeRangeReq from json.
func (*CreateTradeTimeRangeReq) Encode ¶
func (s *CreateTradeTimeRangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTradeTimeRangeReq) GetEnd ¶
func (s *CreateTradeTimeRangeReq) GetEnd() time.Time
GetEnd returns the value of End.
func (*CreateTradeTimeRangeReq) GetInterval ¶
func (s *CreateTradeTimeRangeReq) GetInterval() int
GetInterval returns the value of Interval.
func (*CreateTradeTimeRangeReq) GetIntervalID ¶
func (s *CreateTradeTimeRangeReq) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*CreateTradeTimeRangeReq) GetRecords ¶
func (s *CreateTradeTimeRangeReq) GetRecords() []int
GetRecords returns the value of Records.
func (*CreateTradeTimeRangeReq) GetStart ¶
func (s *CreateTradeTimeRangeReq) GetStart() time.Time
GetStart returns the value of Start.
func (*CreateTradeTimeRangeReq) MarshalJSON ¶
func (s *CreateTradeTimeRangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTradeTimeRangeReq) SetEnd ¶
func (s *CreateTradeTimeRangeReq) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*CreateTradeTimeRangeReq) SetInterval ¶
func (s *CreateTradeTimeRangeReq) SetInterval(val int)
SetInterval sets the value of Interval.
func (*CreateTradeTimeRangeReq) SetIntervalID ¶
func (s *CreateTradeTimeRangeReq) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*CreateTradeTimeRangeReq) SetRecords ¶
func (s *CreateTradeTimeRangeReq) SetRecords(val []int)
SetRecords sets the value of Records.
func (*CreateTradeTimeRangeReq) SetStart ¶
func (s *CreateTradeTimeRangeReq) SetStart(val time.Time)
SetStart sets the value of Start.
func (*CreateTradeTimeRangeReq) UnmarshalJSON ¶
func (s *CreateTradeTimeRangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTradeTimeRangeRes ¶
type CreateTradeTimeRangeRes interface {
// contains filtered or unexported methods
}
type DataSourceCreate ¶
type DataSourceCreate struct { ID int `json:"id"` Name string `json:"name"` Address string `json:"address"` }
Ref: #/components/schemas/DataSourceCreate
func NewDataSourceCreate ¶
func NewDataSourceCreate(e *ent.DataSource) *DataSourceCreate
func NewDataSourceCreates ¶
func NewDataSourceCreates(es []*ent.DataSource) []DataSourceCreate
func (*DataSourceCreate) Decode ¶
func (s *DataSourceCreate) Decode(d *jx.Decoder) error
Decode decodes DataSourceCreate from json.
func (*DataSourceCreate) Elem ¶
func (ds *DataSourceCreate) Elem() DataSourceCreate
func (*DataSourceCreate) Encode ¶
func (s *DataSourceCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataSourceCreate) GetAddress ¶
func (s *DataSourceCreate) GetAddress() string
GetAddress returns the value of Address.
func (*DataSourceCreate) GetID ¶
func (s *DataSourceCreate) GetID() int
GetID returns the value of ID.
func (*DataSourceCreate) GetName ¶
func (s *DataSourceCreate) GetName() string
GetName returns the value of Name.
func (*DataSourceCreate) MarshalJSON ¶
func (s *DataSourceCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataSourceCreate) SetAddress ¶
func (s *DataSourceCreate) SetAddress(val string)
SetAddress sets the value of Address.
func (*DataSourceCreate) SetID ¶
func (s *DataSourceCreate) SetID(val int)
SetID sets the value of ID.
func (*DataSourceCreate) SetName ¶
func (s *DataSourceCreate) SetName(val string)
SetName sets the value of Name.
func (*DataSourceCreate) UnmarshalJSON ¶
func (s *DataSourceCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DataSourceIntervalsList ¶
type DataSourceIntervalsList struct { ID int `json:"id"` Active bool `json:"active"` Interval DataSourceIntervalsListInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/DataSource_IntervalsList
func NewDataSourceIntervalsList ¶
func NewDataSourceIntervalsList(e *ent.Interval) *DataSourceIntervalsList
func NewDataSourceIntervalsLists ¶
func NewDataSourceIntervalsLists(es []*ent.Interval) []DataSourceIntervalsList
func (*DataSourceIntervalsList) Decode ¶
func (s *DataSourceIntervalsList) Decode(d *jx.Decoder) error
Decode decodes DataSourceIntervalsList from json.
func (*DataSourceIntervalsList) Elem ¶
func (i *DataSourceIntervalsList) Elem() DataSourceIntervalsList
func (*DataSourceIntervalsList) Encode ¶
func (s *DataSourceIntervalsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataSourceIntervalsList) GetActive ¶
func (s *DataSourceIntervalsList) GetActive() bool
GetActive returns the value of Active.
func (*DataSourceIntervalsList) GetDataSourceID ¶
func (s *DataSourceIntervalsList) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*DataSourceIntervalsList) GetID ¶
func (s *DataSourceIntervalsList) GetID() int
GetID returns the value of ID.
func (*DataSourceIntervalsList) GetInterval ¶
func (s *DataSourceIntervalsList) GetInterval() DataSourceIntervalsListInterval
GetInterval returns the value of Interval.
func (*DataSourceIntervalsList) GetStockID ¶
func (s *DataSourceIntervalsList) GetStockID() int
GetStockID returns the value of StockID.
func (*DataSourceIntervalsList) MarshalJSON ¶
func (s *DataSourceIntervalsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataSourceIntervalsList) SetActive ¶
func (s *DataSourceIntervalsList) SetActive(val bool)
SetActive sets the value of Active.
func (*DataSourceIntervalsList) SetDataSourceID ¶
func (s *DataSourceIntervalsList) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*DataSourceIntervalsList) SetID ¶
func (s *DataSourceIntervalsList) SetID(val int)
SetID sets the value of ID.
func (*DataSourceIntervalsList) SetInterval ¶
func (s *DataSourceIntervalsList) SetInterval(val DataSourceIntervalsListInterval)
SetInterval sets the value of Interval.
func (*DataSourceIntervalsList) SetStockID ¶
func (s *DataSourceIntervalsList) SetStockID(val int)
SetStockID sets the value of StockID.
func (*DataSourceIntervalsList) UnmarshalJSON ¶
func (s *DataSourceIntervalsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DataSourceIntervalsList) Validate ¶
func (s *DataSourceIntervalsList) Validate() error
type DataSourceIntervalsListInterval ¶
type DataSourceIntervalsListInterval string
const ( DataSourceIntervalsListIntervalTrades DataSourceIntervalsListInterval = "trades" DataSourceIntervalsListInterval1min DataSourceIntervalsListInterval = "1min" DataSourceIntervalsListIntervalDaily DataSourceIntervalsListInterval = "daily" DataSourceIntervalsListIntervalMonthly DataSourceIntervalsListInterval = "monthly" DataSourceIntervalsListIntervalYearly DataSourceIntervalsListInterval = "yearly" )
func (*DataSourceIntervalsListInterval) Decode ¶
func (s *DataSourceIntervalsListInterval) Decode(d *jx.Decoder) error
Decode decodes DataSourceIntervalsListInterval from json.
func (DataSourceIntervalsListInterval) Encode ¶
func (s DataSourceIntervalsListInterval) Encode(e *jx.Encoder)
Encode encodes DataSourceIntervalsListInterval as json.
func (DataSourceIntervalsListInterval) MarshalJSON ¶
func (s DataSourceIntervalsListInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DataSourceIntervalsListInterval) MarshalText ¶
func (s DataSourceIntervalsListInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DataSourceIntervalsListInterval) UnmarshalJSON ¶
func (s *DataSourceIntervalsListInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DataSourceIntervalsListInterval) UnmarshalText ¶
func (s *DataSourceIntervalsListInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DataSourceIntervalsListInterval) Validate ¶
func (s DataSourceIntervalsListInterval) Validate() error
type DataSourceList ¶
type DataSourceList struct { ID int `json:"id"` Name string `json:"name"` Address string `json:"address"` }
Ref: #/components/schemas/DataSourceList
func NewDataSourceList ¶
func NewDataSourceList(e *ent.DataSource) *DataSourceList
func NewDataSourceLists ¶
func NewDataSourceLists(es []*ent.DataSource) []DataSourceList
func (*DataSourceList) Decode ¶
func (s *DataSourceList) Decode(d *jx.Decoder) error
Decode decodes DataSourceList from json.
func (*DataSourceList) Elem ¶
func (ds *DataSourceList) Elem() DataSourceList
func (*DataSourceList) Encode ¶
func (s *DataSourceList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataSourceList) GetAddress ¶
func (s *DataSourceList) GetAddress() string
GetAddress returns the value of Address.
func (*DataSourceList) GetName ¶
func (s *DataSourceList) GetName() string
GetName returns the value of Name.
func (*DataSourceList) MarshalJSON ¶
func (s *DataSourceList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataSourceList) SetAddress ¶
func (s *DataSourceList) SetAddress(val string)
SetAddress sets the value of Address.
func (*DataSourceList) SetName ¶
func (s *DataSourceList) SetName(val string)
SetName sets the value of Name.
func (*DataSourceList) UnmarshalJSON ¶
func (s *DataSourceList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DataSourceRead ¶
type DataSourceRead struct { ID int `json:"id"` Name string `json:"name"` Address string `json:"address"` }
Ref: #/components/schemas/DataSourceRead
func NewDataSourceRead ¶
func NewDataSourceRead(e *ent.DataSource) *DataSourceRead
func NewDataSourceReads ¶
func NewDataSourceReads(es []*ent.DataSource) []DataSourceRead
func (*DataSourceRead) Decode ¶
func (s *DataSourceRead) Decode(d *jx.Decoder) error
Decode decodes DataSourceRead from json.
func (*DataSourceRead) Elem ¶
func (ds *DataSourceRead) Elem() DataSourceRead
func (*DataSourceRead) Encode ¶
func (s *DataSourceRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataSourceRead) GetAddress ¶
func (s *DataSourceRead) GetAddress() string
GetAddress returns the value of Address.
func (*DataSourceRead) GetName ¶
func (s *DataSourceRead) GetName() string
GetName returns the value of Name.
func (*DataSourceRead) MarshalJSON ¶
func (s *DataSourceRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataSourceRead) SetAddress ¶
func (s *DataSourceRead) SetAddress(val string)
SetAddress sets the value of Address.
func (*DataSourceRead) SetName ¶
func (s *DataSourceRead) SetName(val string)
SetName sets the value of Name.
func (*DataSourceRead) UnmarshalJSON ¶
func (s *DataSourceRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DataSourceUpdate ¶
type DataSourceUpdate struct { ID int `json:"id"` Name string `json:"name"` Address string `json:"address"` }
Ref: #/components/schemas/DataSourceUpdate
func NewDataSourceUpdate ¶
func NewDataSourceUpdate(e *ent.DataSource) *DataSourceUpdate
func NewDataSourceUpdates ¶
func NewDataSourceUpdates(es []*ent.DataSource) []DataSourceUpdate
func (*DataSourceUpdate) Decode ¶
func (s *DataSourceUpdate) Decode(d *jx.Decoder) error
Decode decodes DataSourceUpdate from json.
func (*DataSourceUpdate) Elem ¶
func (ds *DataSourceUpdate) Elem() DataSourceUpdate
func (*DataSourceUpdate) Encode ¶
func (s *DataSourceUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataSourceUpdate) GetAddress ¶
func (s *DataSourceUpdate) GetAddress() string
GetAddress returns the value of Address.
func (*DataSourceUpdate) GetID ¶
func (s *DataSourceUpdate) GetID() int
GetID returns the value of ID.
func (*DataSourceUpdate) GetName ¶
func (s *DataSourceUpdate) GetName() string
GetName returns the value of Name.
func (*DataSourceUpdate) MarshalJSON ¶
func (s *DataSourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataSourceUpdate) SetAddress ¶
func (s *DataSourceUpdate) SetAddress(val string)
SetAddress sets the value of Address.
func (*DataSourceUpdate) SetID ¶
func (s *DataSourceUpdate) SetID(val int)
SetID sets the value of ID.
func (*DataSourceUpdate) SetName ¶
func (s *DataSourceUpdate) SetName(val string)
SetName sets the value of Name.
func (*DataSourceUpdate) UnmarshalJSON ¶
func (s *DataSourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteBarGroupNoContent ¶
type DeleteBarGroupNoContent struct{}
DeleteBarGroupNoContent is response for DeleteBarGroup operation.
type DeleteBarGroupParams ¶
type DeleteBarGroupParams struct { // ID of the BarGroup. ID int }
DeleteBarGroupParams is parameters of deleteBarGroup operation.
type DeleteBarGroupRes ¶
type DeleteBarGroupRes interface {
// contains filtered or unexported methods
}
type DeleteBarRecordNoContent ¶
type DeleteBarRecordNoContent struct{}
DeleteBarRecordNoContent is response for DeleteBarRecord operation.
type DeleteBarRecordParams ¶
type DeleteBarRecordParams struct { // ID of the BarRecord. ID int }
DeleteBarRecordParams is parameters of deleteBarRecord operation.
type DeleteBarRecordRes ¶
type DeleteBarRecordRes interface {
// contains filtered or unexported methods
}
type DeleteBarTimeRangeNoContent ¶
type DeleteBarTimeRangeNoContent struct{}
DeleteBarTimeRangeNoContent is response for DeleteBarTimeRange operation.
type DeleteBarTimeRangeParams ¶
type DeleteBarTimeRangeParams struct { // ID of the BarTimeRange. ID int }
DeleteBarTimeRangeParams is parameters of deleteBarTimeRange operation.
type DeleteBarTimeRangeRes ¶
type DeleteBarTimeRangeRes interface {
// contains filtered or unexported methods
}
type DeleteDataSourceNoContent ¶
type DeleteDataSourceNoContent struct{}
DeleteDataSourceNoContent is response for DeleteDataSource operation.
type DeleteDataSourceParams ¶
type DeleteDataSourceParams struct { // ID of the DataSource. ID int }
DeleteDataSourceParams is parameters of deleteDataSource operation.
type DeleteDataSourceRes ¶
type DeleteDataSourceRes interface {
// contains filtered or unexported methods
}
type DeleteDividendNoContent ¶
type DeleteDividendNoContent struct{}
DeleteDividendNoContent is response for DeleteDividend operation.
type DeleteDividendParams ¶
type DeleteDividendParams struct { // ID of the Dividend. ID int }
DeleteDividendParams is parameters of deleteDividend operation.
type DeleteDividendRes ¶
type DeleteDividendRes interface {
// contains filtered or unexported methods
}
type DeleteEntityNoContent ¶
type DeleteEntityNoContent struct{}
DeleteEntityNoContent is response for DeleteEntity operation.
type DeleteEntityParams ¶
type DeleteEntityParams struct { // ID of the Entity. ID int }
DeleteEntityParams is parameters of deleteEntity operation.
type DeleteEntityRes ¶
type DeleteEntityRes interface {
// contains filtered or unexported methods
}
type DeleteExchangeNoContent ¶
type DeleteExchangeNoContent struct{}
DeleteExchangeNoContent is response for DeleteExchange operation.
type DeleteExchangeParams ¶
type DeleteExchangeParams struct { // ID of the Exchange. ID int }
DeleteExchangeParams is parameters of deleteExchange operation.
type DeleteExchangeRes ¶
type DeleteExchangeRes interface {
// contains filtered or unexported methods
}
type DeleteFinancialNoContent ¶
type DeleteFinancialNoContent struct{}
DeleteFinancialNoContent is response for DeleteFinancial operation.
type DeleteFinancialParams ¶
type DeleteFinancialParams struct { // ID of the Financial. ID int }
DeleteFinancialParams is parameters of deleteFinancial operation.
type DeleteFinancialRes ¶
type DeleteFinancialRes interface {
// contains filtered or unexported methods
}
type DeleteIntervalNoContent ¶
type DeleteIntervalNoContent struct{}
DeleteIntervalNoContent is response for DeleteInterval operation.
type DeleteIntervalParams ¶
type DeleteIntervalParams struct { // ID of the Interval. ID int }
DeleteIntervalParams is parameters of deleteInterval operation.
type DeleteIntervalRes ¶
type DeleteIntervalRes interface {
// contains filtered or unexported methods
}
type DeleteMarketHoursNoContent ¶
type DeleteMarketHoursNoContent struct{}
DeleteMarketHoursNoContent is response for DeleteMarketHours operation.
type DeleteMarketHoursParams ¶
type DeleteMarketHoursParams struct { // ID of the MarketHours. ID int }
DeleteMarketHoursParams is parameters of deleteMarketHours operation.
type DeleteMarketHoursRes ¶
type DeleteMarketHoursRes interface {
// contains filtered or unexported methods
}
type DeleteMarketInfoNoContent ¶
type DeleteMarketInfoNoContent struct{}
DeleteMarketInfoNoContent is response for DeleteMarketInfo operation.
type DeleteMarketInfoParams ¶
type DeleteMarketInfoParams struct { // ID of the MarketInfo. ID int }
DeleteMarketInfoParams is parameters of deleteMarketInfo operation.
type DeleteMarketInfoRes ¶
type DeleteMarketInfoRes interface {
// contains filtered or unexported methods
}
type DeleteSplitNoContent ¶
type DeleteSplitNoContent struct{}
DeleteSplitNoContent is response for DeleteSplit operation.
type DeleteSplitParams ¶
type DeleteSplitParams struct { // ID of the Split. ID int }
DeleteSplitParams is parameters of deleteSplit operation.
type DeleteSplitRes ¶
type DeleteSplitRes interface {
// contains filtered or unexported methods
}
type DeleteTradeConditionNoContent ¶
type DeleteTradeConditionNoContent struct{}
DeleteTradeConditionNoContent is response for DeleteTradeCondition operation.
type DeleteTradeConditionParams ¶
type DeleteTradeConditionParams struct { // ID of the TradeCondition. ID int }
DeleteTradeConditionParams is parameters of deleteTradeCondition operation.
type DeleteTradeConditionRes ¶
type DeleteTradeConditionRes interface {
// contains filtered or unexported methods
}
type DeleteTradeCorrectionNoContent ¶
type DeleteTradeCorrectionNoContent struct{}
DeleteTradeCorrectionNoContent is response for DeleteTradeCorrection operation.
type DeleteTradeCorrectionParams ¶
type DeleteTradeCorrectionParams struct { // ID of the TradeCorrection. ID int }
DeleteTradeCorrectionParams is parameters of deleteTradeCorrection operation.
type DeleteTradeCorrectionRes ¶
type DeleteTradeCorrectionRes interface {
// contains filtered or unexported methods
}
type DeleteTradeRecordNoContent ¶
type DeleteTradeRecordNoContent struct{}
DeleteTradeRecordNoContent is response for DeleteTradeRecord operation.
type DeleteTradeRecordParams ¶
type DeleteTradeRecordParams struct { // ID of the TradeRecord. ID int }
DeleteTradeRecordParams is parameters of deleteTradeRecord operation.
type DeleteTradeRecordRes ¶
type DeleteTradeRecordRes interface {
// contains filtered or unexported methods
}
type DeleteTradeTimeRangeNoContent ¶
type DeleteTradeTimeRangeNoContent struct{}
DeleteTradeTimeRangeNoContent is response for DeleteTradeTimeRange operation.
type DeleteTradeTimeRangeParams ¶
type DeleteTradeTimeRangeParams struct { // ID of the TradeTimeRange. ID int }
DeleteTradeTimeRangeParams is parameters of deleteTradeTimeRange operation.
type DeleteTradeTimeRangeRes ¶
type DeleteTradeTimeRangeRes interface {
// contains filtered or unexported methods
}
type DividendCreate ¶
type DividendCreate struct { ID int `json:"id"` CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType DividendCreateDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` }
Ref: #/components/schemas/DividendCreate
func NewDividendCreate ¶
func NewDividendCreate(e *ent.Dividend) *DividendCreate
func NewDividendCreates ¶
func NewDividendCreates(es []*ent.Dividend) []DividendCreate
func (*DividendCreate) Decode ¶
func (s *DividendCreate) Decode(d *jx.Decoder) error
Decode decodes DividendCreate from json.
func (*DividendCreate) Elem ¶
func (d *DividendCreate) Elem() DividendCreate
func (*DividendCreate) Encode ¶
func (s *DividendCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DividendCreate) GetCashAmount ¶
func (s *DividendCreate) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*DividendCreate) GetDeclarationDate ¶
func (s *DividendCreate) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*DividendCreate) GetDividendType ¶
func (s *DividendCreate) GetDividendType() DividendCreateDividendType
GetDividendType returns the value of DividendType.
func (*DividendCreate) GetExDividendDate ¶
func (s *DividendCreate) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*DividendCreate) GetFrequency ¶
func (s *DividendCreate) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*DividendCreate) GetPayDate ¶
func (s *DividendCreate) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*DividendCreate) GetRecordDate ¶
func (s *DividendCreate) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*DividendCreate) MarshalJSON ¶
func (s *DividendCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DividendCreate) SetCashAmount ¶
func (s *DividendCreate) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*DividendCreate) SetDeclarationDate ¶
func (s *DividendCreate) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*DividendCreate) SetDividendType ¶
func (s *DividendCreate) SetDividendType(val DividendCreateDividendType)
SetDividendType sets the value of DividendType.
func (*DividendCreate) SetExDividendDate ¶
func (s *DividendCreate) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*DividendCreate) SetFrequency ¶
func (s *DividendCreate) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*DividendCreate) SetPayDate ¶
func (s *DividendCreate) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*DividendCreate) SetRecordDate ¶
func (s *DividendCreate) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*DividendCreate) UnmarshalJSON ¶
func (s *DividendCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendCreate) Validate ¶
func (s *DividendCreate) Validate() error
type DividendCreateDividendType ¶
type DividendCreateDividendType string
const ( DividendCreateDividendTypeCD DividendCreateDividendType = "CD" DividendCreateDividendTypeSC DividendCreateDividendType = "SC" DividendCreateDividendTypeLT DividendCreateDividendType = "LT" DividendCreateDividendTypeST DividendCreateDividendType = "ST" )
func (*DividendCreateDividendType) Decode ¶
func (s *DividendCreateDividendType) Decode(d *jx.Decoder) error
Decode decodes DividendCreateDividendType from json.
func (DividendCreateDividendType) Encode ¶
func (s DividendCreateDividendType) Encode(e *jx.Encoder)
Encode encodes DividendCreateDividendType as json.
func (DividendCreateDividendType) MarshalJSON ¶
func (s DividendCreateDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DividendCreateDividendType) MarshalText ¶
func (s DividendCreateDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DividendCreateDividendType) UnmarshalJSON ¶
func (s *DividendCreateDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendCreateDividendType) UnmarshalText ¶
func (s *DividendCreateDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DividendCreateDividendType) Validate ¶
func (s DividendCreateDividendType) Validate() error
type DividendList ¶
type DividendList struct { ID int `json:"id"` CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType DividendListDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` }
Ref: #/components/schemas/DividendList
func NewDividendList ¶
func NewDividendList(e *ent.Dividend) *DividendList
func NewDividendLists ¶
func NewDividendLists(es []*ent.Dividend) []DividendList
func (*DividendList) Decode ¶
func (s *DividendList) Decode(d *jx.Decoder) error
Decode decodes DividendList from json.
func (*DividendList) Elem ¶
func (d *DividendList) Elem() DividendList
func (*DividendList) Encode ¶
func (s *DividendList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DividendList) GetCashAmount ¶
func (s *DividendList) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*DividendList) GetDeclarationDate ¶
func (s *DividendList) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*DividendList) GetDividendType ¶
func (s *DividendList) GetDividendType() DividendListDividendType
GetDividendType returns the value of DividendType.
func (*DividendList) GetExDividendDate ¶
func (s *DividendList) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*DividendList) GetFrequency ¶
func (s *DividendList) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*DividendList) GetPayDate ¶
func (s *DividendList) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*DividendList) GetRecordDate ¶
func (s *DividendList) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*DividendList) MarshalJSON ¶
func (s *DividendList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DividendList) SetCashAmount ¶
func (s *DividendList) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*DividendList) SetDeclarationDate ¶
func (s *DividendList) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*DividendList) SetDividendType ¶
func (s *DividendList) SetDividendType(val DividendListDividendType)
SetDividendType sets the value of DividendType.
func (*DividendList) SetExDividendDate ¶
func (s *DividendList) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*DividendList) SetFrequency ¶
func (s *DividendList) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*DividendList) SetPayDate ¶
func (s *DividendList) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*DividendList) SetRecordDate ¶
func (s *DividendList) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*DividendList) UnmarshalJSON ¶
func (s *DividendList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendList) Validate ¶
func (s *DividendList) Validate() error
type DividendListDividendType ¶
type DividendListDividendType string
const ( DividendListDividendTypeCD DividendListDividendType = "CD" DividendListDividendTypeSC DividendListDividendType = "SC" DividendListDividendTypeLT DividendListDividendType = "LT" DividendListDividendTypeST DividendListDividendType = "ST" )
func (*DividendListDividendType) Decode ¶
func (s *DividendListDividendType) Decode(d *jx.Decoder) error
Decode decodes DividendListDividendType from json.
func (DividendListDividendType) Encode ¶
func (s DividendListDividendType) Encode(e *jx.Encoder)
Encode encodes DividendListDividendType as json.
func (DividendListDividendType) MarshalJSON ¶
func (s DividendListDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DividendListDividendType) MarshalText ¶
func (s DividendListDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DividendListDividendType) UnmarshalJSON ¶
func (s *DividendListDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendListDividendType) UnmarshalText ¶
func (s *DividendListDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DividendListDividendType) Validate ¶
func (s DividendListDividendType) Validate() error
type DividendRead ¶
type DividendRead struct { ID int `json:"id"` CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType DividendReadDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` }
Ref: #/components/schemas/DividendRead
func NewDividendRead ¶
func NewDividendRead(e *ent.Dividend) *DividendRead
func NewDividendReads ¶
func NewDividendReads(es []*ent.Dividend) []DividendRead
func (*DividendRead) Decode ¶
func (s *DividendRead) Decode(d *jx.Decoder) error
Decode decodes DividendRead from json.
func (*DividendRead) Elem ¶
func (d *DividendRead) Elem() DividendRead
func (*DividendRead) Encode ¶
func (s *DividendRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DividendRead) GetCashAmount ¶
func (s *DividendRead) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*DividendRead) GetDeclarationDate ¶
func (s *DividendRead) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*DividendRead) GetDividendType ¶
func (s *DividendRead) GetDividendType() DividendReadDividendType
GetDividendType returns the value of DividendType.
func (*DividendRead) GetExDividendDate ¶
func (s *DividendRead) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*DividendRead) GetFrequency ¶
func (s *DividendRead) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*DividendRead) GetPayDate ¶
func (s *DividendRead) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*DividendRead) GetRecordDate ¶
func (s *DividendRead) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*DividendRead) MarshalJSON ¶
func (s *DividendRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DividendRead) SetCashAmount ¶
func (s *DividendRead) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*DividendRead) SetDeclarationDate ¶
func (s *DividendRead) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*DividendRead) SetDividendType ¶
func (s *DividendRead) SetDividendType(val DividendReadDividendType)
SetDividendType sets the value of DividendType.
func (*DividendRead) SetExDividendDate ¶
func (s *DividendRead) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*DividendRead) SetFrequency ¶
func (s *DividendRead) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*DividendRead) SetPayDate ¶
func (s *DividendRead) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*DividendRead) SetRecordDate ¶
func (s *DividendRead) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*DividendRead) UnmarshalJSON ¶
func (s *DividendRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendRead) Validate ¶
func (s *DividendRead) Validate() error
type DividendReadDividendType ¶
type DividendReadDividendType string
const ( DividendReadDividendTypeCD DividendReadDividendType = "CD" DividendReadDividendTypeSC DividendReadDividendType = "SC" DividendReadDividendTypeLT DividendReadDividendType = "LT" DividendReadDividendTypeST DividendReadDividendType = "ST" )
func (*DividendReadDividendType) Decode ¶
func (s *DividendReadDividendType) Decode(d *jx.Decoder) error
Decode decodes DividendReadDividendType from json.
func (DividendReadDividendType) Encode ¶
func (s DividendReadDividendType) Encode(e *jx.Encoder)
Encode encodes DividendReadDividendType as json.
func (DividendReadDividendType) MarshalJSON ¶
func (s DividendReadDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DividendReadDividendType) MarshalText ¶
func (s DividendReadDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DividendReadDividendType) UnmarshalJSON ¶
func (s *DividendReadDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendReadDividendType) UnmarshalText ¶
func (s *DividendReadDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DividendReadDividendType) Validate ¶
func (s DividendReadDividendType) Validate() error
type DividendStockList ¶
type DividendStockList struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/Dividend_StockList
func NewDividendStockList ¶
func NewDividendStockList(e *ent.Entity) *DividendStockList
func NewDividendStockLists ¶
func NewDividendStockLists(es []*ent.Entity) []DividendStockList
func (*DividendStockList) Decode ¶
func (s *DividendStockList) Decode(d *jx.Decoder) error
Decode decodes DividendStockList from json.
func (*DividendStockList) Elem ¶
func (e *DividendStockList) Elem() DividendStockList
func (*DividendStockList) Encode ¶
func (s *DividendStockList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DividendStockList) GetActive ¶
func (s *DividendStockList) GetActive() bool
GetActive returns the value of Active.
func (*DividendStockList) GetDelisted ¶
func (s *DividendStockList) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*DividendStockList) GetDescription ¶
func (s *DividendStockList) GetDescription() string
GetDescription returns the value of Description.
func (*DividendStockList) GetID ¶
func (s *DividendStockList) GetID() int
GetID returns the value of ID.
func (*DividendStockList) GetListDate ¶
func (s *DividendStockList) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*DividendStockList) GetName ¶
func (s *DividendStockList) GetName() string
GetName returns the value of Name.
func (*DividendStockList) GetTicker ¶
func (s *DividendStockList) GetTicker() string
GetTicker returns the value of Ticker.
func (*DividendStockList) MarshalJSON ¶
func (s *DividendStockList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DividendStockList) SetActive ¶
func (s *DividendStockList) SetActive(val bool)
SetActive sets the value of Active.
func (*DividendStockList) SetDelisted ¶
func (s *DividendStockList) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*DividendStockList) SetDescription ¶
func (s *DividendStockList) SetDescription(val string)
SetDescription sets the value of Description.
func (*DividendStockList) SetID ¶
func (s *DividendStockList) SetID(val int)
SetID sets the value of ID.
func (*DividendStockList) SetListDate ¶
func (s *DividendStockList) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*DividendStockList) SetName ¶
func (s *DividendStockList) SetName(val string)
SetName sets the value of Name.
func (*DividendStockList) SetTicker ¶
func (s *DividendStockList) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*DividendStockList) UnmarshalJSON ¶
func (s *DividendStockList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DividendUpdate ¶
type DividendUpdate struct { ID int `json:"id"` CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType DividendUpdateDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` }
Ref: #/components/schemas/DividendUpdate
func NewDividendUpdate ¶
func NewDividendUpdate(e *ent.Dividend) *DividendUpdate
func NewDividendUpdates ¶
func NewDividendUpdates(es []*ent.Dividend) []DividendUpdate
func (*DividendUpdate) Decode ¶
func (s *DividendUpdate) Decode(d *jx.Decoder) error
Decode decodes DividendUpdate from json.
func (*DividendUpdate) Elem ¶
func (d *DividendUpdate) Elem() DividendUpdate
func (*DividendUpdate) Encode ¶
func (s *DividendUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DividendUpdate) GetCashAmount ¶
func (s *DividendUpdate) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*DividendUpdate) GetDeclarationDate ¶
func (s *DividendUpdate) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*DividendUpdate) GetDividendType ¶
func (s *DividendUpdate) GetDividendType() DividendUpdateDividendType
GetDividendType returns the value of DividendType.
func (*DividendUpdate) GetExDividendDate ¶
func (s *DividendUpdate) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*DividendUpdate) GetFrequency ¶
func (s *DividendUpdate) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*DividendUpdate) GetPayDate ¶
func (s *DividendUpdate) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*DividendUpdate) GetRecordDate ¶
func (s *DividendUpdate) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*DividendUpdate) MarshalJSON ¶
func (s *DividendUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DividendUpdate) SetCashAmount ¶
func (s *DividendUpdate) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*DividendUpdate) SetDeclarationDate ¶
func (s *DividendUpdate) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*DividendUpdate) SetDividendType ¶
func (s *DividendUpdate) SetDividendType(val DividendUpdateDividendType)
SetDividendType sets the value of DividendType.
func (*DividendUpdate) SetExDividendDate ¶
func (s *DividendUpdate) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*DividendUpdate) SetFrequency ¶
func (s *DividendUpdate) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*DividendUpdate) SetPayDate ¶
func (s *DividendUpdate) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*DividendUpdate) SetRecordDate ¶
func (s *DividendUpdate) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*DividendUpdate) UnmarshalJSON ¶
func (s *DividendUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendUpdate) Validate ¶
func (s *DividendUpdate) Validate() error
type DividendUpdateDividendType ¶
type DividendUpdateDividendType string
const ( DividendUpdateDividendTypeCD DividendUpdateDividendType = "CD" DividendUpdateDividendTypeSC DividendUpdateDividendType = "SC" DividendUpdateDividendTypeLT DividendUpdateDividendType = "LT" DividendUpdateDividendTypeST DividendUpdateDividendType = "ST" )
func (*DividendUpdateDividendType) Decode ¶
func (s *DividendUpdateDividendType) Decode(d *jx.Decoder) error
Decode decodes DividendUpdateDividendType from json.
func (DividendUpdateDividendType) Encode ¶
func (s DividendUpdateDividendType) Encode(e *jx.Encoder)
Encode encodes DividendUpdateDividendType as json.
func (DividendUpdateDividendType) MarshalJSON ¶
func (s DividendUpdateDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DividendUpdateDividendType) MarshalText ¶
func (s DividendUpdateDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DividendUpdateDividendType) UnmarshalJSON ¶
func (s *DividendUpdateDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DividendUpdateDividendType) UnmarshalText ¶
func (s *DividendUpdateDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DividendUpdateDividendType) Validate ¶
func (s DividendUpdateDividendType) Validate() error
type EntityCreate ¶
type EntityCreate struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/EntityCreate
func NewEntityCreate ¶
func NewEntityCreate(e *ent.Entity) *EntityCreate
func NewEntityCreates ¶
func NewEntityCreates(es []*ent.Entity) []EntityCreate
func (*EntityCreate) Decode ¶
func (s *EntityCreate) Decode(d *jx.Decoder) error
Decode decodes EntityCreate from json.
func (*EntityCreate) Elem ¶
func (e *EntityCreate) Elem() EntityCreate
func (*EntityCreate) Encode ¶
func (s *EntityCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityCreate) GetActive ¶
func (s *EntityCreate) GetActive() bool
GetActive returns the value of Active.
func (*EntityCreate) GetDelisted ¶
func (s *EntityCreate) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*EntityCreate) GetDescription ¶
func (s *EntityCreate) GetDescription() string
GetDescription returns the value of Description.
func (*EntityCreate) GetListDate ¶
func (s *EntityCreate) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*EntityCreate) GetName ¶
func (s *EntityCreate) GetName() string
GetName returns the value of Name.
func (*EntityCreate) GetTicker ¶
func (s *EntityCreate) GetTicker() string
GetTicker returns the value of Ticker.
func (*EntityCreate) MarshalJSON ¶
func (s *EntityCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityCreate) SetActive ¶
func (s *EntityCreate) SetActive(val bool)
SetActive sets the value of Active.
func (*EntityCreate) SetDelisted ¶
func (s *EntityCreate) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*EntityCreate) SetDescription ¶
func (s *EntityCreate) SetDescription(val string)
SetDescription sets the value of Description.
func (*EntityCreate) SetListDate ¶
func (s *EntityCreate) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*EntityCreate) SetName ¶
func (s *EntityCreate) SetName(val string)
SetName sets the value of Name.
func (*EntityCreate) SetTicker ¶
func (s *EntityCreate) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*EntityCreate) UnmarshalJSON ¶
func (s *EntityCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntityDividendsList ¶
type EntityDividendsList struct { ID int `json:"id"` CashAmount float64 `json:"cash_amount"` DeclarationDate time.Time `json:"declaration_date"` DividendType EntityDividendsListDividendType `json:"dividend_type"` ExDividendDate time.Time `json:"ex_dividend_date"` Frequency int `json:"frequency"` RecordDate time.Time `json:"record_date"` PayDate time.Time `json:"pay_date"` }
Ref: #/components/schemas/Entity_DividendsList
func NewEntityDividendsList ¶
func NewEntityDividendsList(e *ent.Dividend) *EntityDividendsList
func NewEntityDividendsLists ¶
func NewEntityDividendsLists(es []*ent.Dividend) []EntityDividendsList
func (*EntityDividendsList) Decode ¶
func (s *EntityDividendsList) Decode(d *jx.Decoder) error
Decode decodes EntityDividendsList from json.
func (*EntityDividendsList) Elem ¶
func (d *EntityDividendsList) Elem() EntityDividendsList
func (*EntityDividendsList) Encode ¶
func (s *EntityDividendsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityDividendsList) GetCashAmount ¶
func (s *EntityDividendsList) GetCashAmount() float64
GetCashAmount returns the value of CashAmount.
func (*EntityDividendsList) GetDeclarationDate ¶
func (s *EntityDividendsList) GetDeclarationDate() time.Time
GetDeclarationDate returns the value of DeclarationDate.
func (*EntityDividendsList) GetDividendType ¶
func (s *EntityDividendsList) GetDividendType() EntityDividendsListDividendType
GetDividendType returns the value of DividendType.
func (*EntityDividendsList) GetExDividendDate ¶
func (s *EntityDividendsList) GetExDividendDate() time.Time
GetExDividendDate returns the value of ExDividendDate.
func (*EntityDividendsList) GetFrequency ¶
func (s *EntityDividendsList) GetFrequency() int
GetFrequency returns the value of Frequency.
func (*EntityDividendsList) GetID ¶
func (s *EntityDividendsList) GetID() int
GetID returns the value of ID.
func (*EntityDividendsList) GetPayDate ¶
func (s *EntityDividendsList) GetPayDate() time.Time
GetPayDate returns the value of PayDate.
func (*EntityDividendsList) GetRecordDate ¶
func (s *EntityDividendsList) GetRecordDate() time.Time
GetRecordDate returns the value of RecordDate.
func (*EntityDividendsList) MarshalJSON ¶
func (s *EntityDividendsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityDividendsList) SetCashAmount ¶
func (s *EntityDividendsList) SetCashAmount(val float64)
SetCashAmount sets the value of CashAmount.
func (*EntityDividendsList) SetDeclarationDate ¶
func (s *EntityDividendsList) SetDeclarationDate(val time.Time)
SetDeclarationDate sets the value of DeclarationDate.
func (*EntityDividendsList) SetDividendType ¶
func (s *EntityDividendsList) SetDividendType(val EntityDividendsListDividendType)
SetDividendType sets the value of DividendType.
func (*EntityDividendsList) SetExDividendDate ¶
func (s *EntityDividendsList) SetExDividendDate(val time.Time)
SetExDividendDate sets the value of ExDividendDate.
func (*EntityDividendsList) SetFrequency ¶
func (s *EntityDividendsList) SetFrequency(val int)
SetFrequency sets the value of Frequency.
func (*EntityDividendsList) SetID ¶
func (s *EntityDividendsList) SetID(val int)
SetID sets the value of ID.
func (*EntityDividendsList) SetPayDate ¶
func (s *EntityDividendsList) SetPayDate(val time.Time)
SetPayDate sets the value of PayDate.
func (*EntityDividendsList) SetRecordDate ¶
func (s *EntityDividendsList) SetRecordDate(val time.Time)
SetRecordDate sets the value of RecordDate.
func (*EntityDividendsList) UnmarshalJSON ¶
func (s *EntityDividendsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntityDividendsList) Validate ¶
func (s *EntityDividendsList) Validate() error
type EntityDividendsListDividendType ¶
type EntityDividendsListDividendType string
const ( EntityDividendsListDividendTypeCD EntityDividendsListDividendType = "CD" EntityDividendsListDividendTypeSC EntityDividendsListDividendType = "SC" EntityDividendsListDividendTypeLT EntityDividendsListDividendType = "LT" EntityDividendsListDividendTypeST EntityDividendsListDividendType = "ST" )
func (*EntityDividendsListDividendType) Decode ¶
func (s *EntityDividendsListDividendType) Decode(d *jx.Decoder) error
Decode decodes EntityDividendsListDividendType from json.
func (EntityDividendsListDividendType) Encode ¶
func (s EntityDividendsListDividendType) Encode(e *jx.Encoder)
Encode encodes EntityDividendsListDividendType as json.
func (EntityDividendsListDividendType) MarshalJSON ¶
func (s EntityDividendsListDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EntityDividendsListDividendType) MarshalText ¶
func (s EntityDividendsListDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EntityDividendsListDividendType) UnmarshalJSON ¶
func (s *EntityDividendsListDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntityDividendsListDividendType) UnmarshalText ¶
func (s *EntityDividendsListDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EntityDividendsListDividendType) Validate ¶
func (s EntityDividendsListDividendType) Validate() error
type EntityExchangesList ¶
type EntityExchangesList struct { ID int `json:"id"` Code string `json:"code"` Name string `json:"name"` }
Ref: #/components/schemas/Entity_ExchangesList
func NewEntityExchangesList ¶
func NewEntityExchangesList(e *ent.Exchange) *EntityExchangesList
func NewEntityExchangesLists ¶
func NewEntityExchangesLists(es []*ent.Exchange) []EntityExchangesList
func (*EntityExchangesList) Decode ¶
func (s *EntityExchangesList) Decode(d *jx.Decoder) error
Decode decodes EntityExchangesList from json.
func (*EntityExchangesList) Elem ¶
func (e *EntityExchangesList) Elem() EntityExchangesList
func (*EntityExchangesList) Encode ¶
func (s *EntityExchangesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityExchangesList) GetCode ¶
func (s *EntityExchangesList) GetCode() string
GetCode returns the value of Code.
func (*EntityExchangesList) GetID ¶
func (s *EntityExchangesList) GetID() int
GetID returns the value of ID.
func (*EntityExchangesList) GetName ¶
func (s *EntityExchangesList) GetName() string
GetName returns the value of Name.
func (*EntityExchangesList) MarshalJSON ¶
func (s *EntityExchangesList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityExchangesList) SetCode ¶
func (s *EntityExchangesList) SetCode(val string)
SetCode sets the value of Code.
func (*EntityExchangesList) SetID ¶
func (s *EntityExchangesList) SetID(val int)
SetID sets the value of ID.
func (*EntityExchangesList) SetName ¶
func (s *EntityExchangesList) SetName(val string)
SetName sets the value of Name.
func (*EntityExchangesList) UnmarshalJSON ¶
func (s *EntityExchangesList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntityFinancialsList ¶
type EntityFinancialsList struct {
ID int `json:"id"`
}
Ref: #/components/schemas/Entity_FinancialsList
func NewEntityFinancialsList ¶
func NewEntityFinancialsList(e *ent.Financial) *EntityFinancialsList
func NewEntityFinancialsLists ¶
func NewEntityFinancialsLists(es []*ent.Financial) []EntityFinancialsList
func (*EntityFinancialsList) Decode ¶
func (s *EntityFinancialsList) Decode(d *jx.Decoder) error
Decode decodes EntityFinancialsList from json.
func (*EntityFinancialsList) Elem ¶
func (f *EntityFinancialsList) Elem() EntityFinancialsList
func (*EntityFinancialsList) Encode ¶
func (s *EntityFinancialsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityFinancialsList) GetID ¶
func (s *EntityFinancialsList) GetID() int
GetID returns the value of ID.
func (*EntityFinancialsList) MarshalJSON ¶
func (s *EntityFinancialsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityFinancialsList) SetID ¶
func (s *EntityFinancialsList) SetID(val int)
SetID sets the value of ID.
func (*EntityFinancialsList) UnmarshalJSON ¶
func (s *EntityFinancialsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntityIntervalsList ¶
type EntityIntervalsList struct { ID int `json:"id"` Active bool `json:"active"` Interval EntityIntervalsListInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/Entity_IntervalsList
func NewEntityIntervalsList ¶
func NewEntityIntervalsList(e *ent.Interval) *EntityIntervalsList
func NewEntityIntervalsLists ¶
func NewEntityIntervalsLists(es []*ent.Interval) []EntityIntervalsList
func (*EntityIntervalsList) Decode ¶
func (s *EntityIntervalsList) Decode(d *jx.Decoder) error
Decode decodes EntityIntervalsList from json.
func (*EntityIntervalsList) Elem ¶
func (i *EntityIntervalsList) Elem() EntityIntervalsList
func (*EntityIntervalsList) Encode ¶
func (s *EntityIntervalsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityIntervalsList) GetActive ¶
func (s *EntityIntervalsList) GetActive() bool
GetActive returns the value of Active.
func (*EntityIntervalsList) GetDataSourceID ¶
func (s *EntityIntervalsList) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*EntityIntervalsList) GetID ¶
func (s *EntityIntervalsList) GetID() int
GetID returns the value of ID.
func (*EntityIntervalsList) GetInterval ¶
func (s *EntityIntervalsList) GetInterval() EntityIntervalsListInterval
GetInterval returns the value of Interval.
func (*EntityIntervalsList) GetStockID ¶
func (s *EntityIntervalsList) GetStockID() int
GetStockID returns the value of StockID.
func (*EntityIntervalsList) MarshalJSON ¶
func (s *EntityIntervalsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityIntervalsList) SetActive ¶
func (s *EntityIntervalsList) SetActive(val bool)
SetActive sets the value of Active.
func (*EntityIntervalsList) SetDataSourceID ¶
func (s *EntityIntervalsList) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*EntityIntervalsList) SetID ¶
func (s *EntityIntervalsList) SetID(val int)
SetID sets the value of ID.
func (*EntityIntervalsList) SetInterval ¶
func (s *EntityIntervalsList) SetInterval(val EntityIntervalsListInterval)
SetInterval sets the value of Interval.
func (*EntityIntervalsList) SetStockID ¶
func (s *EntityIntervalsList) SetStockID(val int)
SetStockID sets the value of StockID.
func (*EntityIntervalsList) UnmarshalJSON ¶
func (s *EntityIntervalsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntityIntervalsList) Validate ¶
func (s *EntityIntervalsList) Validate() error
type EntityIntervalsListInterval ¶
type EntityIntervalsListInterval string
const ( EntityIntervalsListIntervalTrades EntityIntervalsListInterval = "trades" EntityIntervalsListInterval1min EntityIntervalsListInterval = "1min" EntityIntervalsListIntervalDaily EntityIntervalsListInterval = "daily" EntityIntervalsListIntervalMonthly EntityIntervalsListInterval = "monthly" EntityIntervalsListIntervalYearly EntityIntervalsListInterval = "yearly" )
func (*EntityIntervalsListInterval) Decode ¶
func (s *EntityIntervalsListInterval) Decode(d *jx.Decoder) error
Decode decodes EntityIntervalsListInterval from json.
func (EntityIntervalsListInterval) Encode ¶
func (s EntityIntervalsListInterval) Encode(e *jx.Encoder)
Encode encodes EntityIntervalsListInterval as json.
func (EntityIntervalsListInterval) MarshalJSON ¶
func (s EntityIntervalsListInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EntityIntervalsListInterval) MarshalText ¶
func (s EntityIntervalsListInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EntityIntervalsListInterval) UnmarshalJSON ¶
func (s *EntityIntervalsListInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntityIntervalsListInterval) UnmarshalText ¶
func (s *EntityIntervalsListInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EntityIntervalsListInterval) Validate ¶
func (s EntityIntervalsListInterval) Validate() error
type EntityList ¶
type EntityList struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/EntityList
func NewEntityList ¶
func NewEntityList(e *ent.Entity) *EntityList
func NewEntityLists ¶
func NewEntityLists(es []*ent.Entity) []EntityList
func (*EntityList) Decode ¶
func (s *EntityList) Decode(d *jx.Decoder) error
Decode decodes EntityList from json.
func (*EntityList) Elem ¶
func (e *EntityList) Elem() EntityList
func (*EntityList) Encode ¶
func (s *EntityList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityList) GetActive ¶
func (s *EntityList) GetActive() bool
GetActive returns the value of Active.
func (*EntityList) GetDelisted ¶
func (s *EntityList) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*EntityList) GetDescription ¶
func (s *EntityList) GetDescription() string
GetDescription returns the value of Description.
func (*EntityList) GetListDate ¶
func (s *EntityList) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*EntityList) GetName ¶
func (s *EntityList) GetName() string
GetName returns the value of Name.
func (*EntityList) GetTicker ¶
func (s *EntityList) GetTicker() string
GetTicker returns the value of Ticker.
func (*EntityList) MarshalJSON ¶
func (s *EntityList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityList) SetActive ¶
func (s *EntityList) SetActive(val bool)
SetActive sets the value of Active.
func (*EntityList) SetDelisted ¶
func (s *EntityList) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*EntityList) SetDescription ¶
func (s *EntityList) SetDescription(val string)
SetDescription sets the value of Description.
func (*EntityList) SetListDate ¶
func (s *EntityList) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*EntityList) SetName ¶
func (s *EntityList) SetName(val string)
SetName sets the value of Name.
func (*EntityList) SetTicker ¶
func (s *EntityList) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*EntityList) UnmarshalJSON ¶
func (s *EntityList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntityRead ¶
type EntityRead struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/EntityRead
func NewEntityRead ¶
func NewEntityRead(e *ent.Entity) *EntityRead
func NewEntityReads ¶
func NewEntityReads(es []*ent.Entity) []EntityRead
func (*EntityRead) Decode ¶
func (s *EntityRead) Decode(d *jx.Decoder) error
Decode decodes EntityRead from json.
func (*EntityRead) Elem ¶
func (e *EntityRead) Elem() EntityRead
func (*EntityRead) Encode ¶
func (s *EntityRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityRead) GetActive ¶
func (s *EntityRead) GetActive() bool
GetActive returns the value of Active.
func (*EntityRead) GetDelisted ¶
func (s *EntityRead) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*EntityRead) GetDescription ¶
func (s *EntityRead) GetDescription() string
GetDescription returns the value of Description.
func (*EntityRead) GetListDate ¶
func (s *EntityRead) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*EntityRead) GetName ¶
func (s *EntityRead) GetName() string
GetName returns the value of Name.
func (*EntityRead) GetTicker ¶
func (s *EntityRead) GetTicker() string
GetTicker returns the value of Ticker.
func (*EntityRead) MarshalJSON ¶
func (s *EntityRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityRead) SetActive ¶
func (s *EntityRead) SetActive(val bool)
SetActive sets the value of Active.
func (*EntityRead) SetDelisted ¶
func (s *EntityRead) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*EntityRead) SetDescription ¶
func (s *EntityRead) SetDescription(val string)
SetDescription sets the value of Description.
func (*EntityRead) SetListDate ¶
func (s *EntityRead) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*EntityRead) SetName ¶
func (s *EntityRead) SetName(val string)
SetName sets the value of Name.
func (*EntityRead) SetTicker ¶
func (s *EntityRead) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*EntityRead) UnmarshalJSON ¶
func (s *EntityRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntitySplitsList ¶
type EntitySplitsList struct { ID int `json:"id"` ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` }
Ref: #/components/schemas/Entity_SplitsList
func NewEntitySplitsList ¶
func NewEntitySplitsList(e *ent.Split) *EntitySplitsList
func NewEntitySplitsLists ¶
func NewEntitySplitsLists(es []*ent.Split) []EntitySplitsList
func (*EntitySplitsList) Decode ¶
func (s *EntitySplitsList) Decode(d *jx.Decoder) error
Decode decodes EntitySplitsList from json.
func (*EntitySplitsList) Elem ¶
func (s *EntitySplitsList) Elem() EntitySplitsList
func (*EntitySplitsList) Encode ¶
func (s *EntitySplitsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntitySplitsList) GetExecutionDate ¶
func (s *EntitySplitsList) GetExecutionDate() time.Time
GetExecutionDate returns the value of ExecutionDate.
func (*EntitySplitsList) GetFrom ¶
func (s *EntitySplitsList) GetFrom() float64
GetFrom returns the value of From.
func (*EntitySplitsList) GetID ¶
func (s *EntitySplitsList) GetID() int
GetID returns the value of ID.
func (*EntitySplitsList) GetTo ¶
func (s *EntitySplitsList) GetTo() float64
GetTo returns the value of To.
func (*EntitySplitsList) MarshalJSON ¶
func (s *EntitySplitsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntitySplitsList) SetExecutionDate ¶
func (s *EntitySplitsList) SetExecutionDate(val time.Time)
SetExecutionDate sets the value of ExecutionDate.
func (*EntitySplitsList) SetFrom ¶
func (s *EntitySplitsList) SetFrom(val float64)
SetFrom sets the value of From.
func (*EntitySplitsList) SetID ¶
func (s *EntitySplitsList) SetID(val int)
SetID sets the value of ID.
func (*EntitySplitsList) SetTo ¶
func (s *EntitySplitsList) SetTo(val float64)
SetTo sets the value of To.
func (*EntitySplitsList) UnmarshalJSON ¶
func (s *EntitySplitsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntitySplitsList) Validate ¶
func (s *EntitySplitsList) Validate() error
type EntityUpdate ¶
type EntityUpdate struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/EntityUpdate
func NewEntityUpdate ¶
func NewEntityUpdate(e *ent.Entity) *EntityUpdate
func NewEntityUpdates ¶
func NewEntityUpdates(es []*ent.Entity) []EntityUpdate
func (*EntityUpdate) Decode ¶
func (s *EntityUpdate) Decode(d *jx.Decoder) error
Decode decodes EntityUpdate from json.
func (*EntityUpdate) Elem ¶
func (e *EntityUpdate) Elem() EntityUpdate
func (*EntityUpdate) Encode ¶
func (s *EntityUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntityUpdate) GetActive ¶
func (s *EntityUpdate) GetActive() bool
GetActive returns the value of Active.
func (*EntityUpdate) GetDelisted ¶
func (s *EntityUpdate) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*EntityUpdate) GetDescription ¶
func (s *EntityUpdate) GetDescription() string
GetDescription returns the value of Description.
func (*EntityUpdate) GetListDate ¶
func (s *EntityUpdate) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*EntityUpdate) GetName ¶
func (s *EntityUpdate) GetName() string
GetName returns the value of Name.
func (*EntityUpdate) GetTicker ¶
func (s *EntityUpdate) GetTicker() string
GetTicker returns the value of Ticker.
func (*EntityUpdate) MarshalJSON ¶
func (s *EntityUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntityUpdate) SetActive ¶
func (s *EntityUpdate) SetActive(val bool)
SetActive sets the value of Active.
func (*EntityUpdate) SetDelisted ¶
func (s *EntityUpdate) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*EntityUpdate) SetDescription ¶
func (s *EntityUpdate) SetDescription(val string)
SetDescription sets the value of Description.
func (*EntityUpdate) SetListDate ¶
func (s *EntityUpdate) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*EntityUpdate) SetName ¶
func (s *EntityUpdate) SetName(val string)
SetName sets the value of Name.
func (*EntityUpdate) SetTicker ¶
func (s *EntityUpdate) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*EntityUpdate) UnmarshalJSON ¶
func (s *EntityUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeCreate ¶
type ExchangeCreate struct { ID int `json:"id"` Code string `json:"code"` Name string `json:"name"` }
Ref: #/components/schemas/ExchangeCreate
func NewExchangeCreate ¶
func NewExchangeCreate(e *ent.Exchange) *ExchangeCreate
func NewExchangeCreates ¶
func NewExchangeCreates(es []*ent.Exchange) []ExchangeCreate
func (*ExchangeCreate) Decode ¶
func (s *ExchangeCreate) Decode(d *jx.Decoder) error
Decode decodes ExchangeCreate from json.
func (*ExchangeCreate) Elem ¶
func (e *ExchangeCreate) Elem() ExchangeCreate
func (*ExchangeCreate) Encode ¶
func (s *ExchangeCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeCreate) GetCode ¶
func (s *ExchangeCreate) GetCode() string
GetCode returns the value of Code.
func (*ExchangeCreate) GetName ¶
func (s *ExchangeCreate) GetName() string
GetName returns the value of Name.
func (*ExchangeCreate) MarshalJSON ¶
func (s *ExchangeCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeCreate) SetCode ¶
func (s *ExchangeCreate) SetCode(val string)
SetCode sets the value of Code.
func (*ExchangeCreate) SetName ¶
func (s *ExchangeCreate) SetName(val string)
SetName sets the value of Name.
func (*ExchangeCreate) UnmarshalJSON ¶
func (s *ExchangeCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeList ¶
Ref: #/components/schemas/ExchangeList
func NewExchangeList ¶
func NewExchangeList(e *ent.Exchange) *ExchangeList
func NewExchangeLists ¶
func NewExchangeLists(es []*ent.Exchange) []ExchangeList
func (*ExchangeList) Decode ¶
func (s *ExchangeList) Decode(d *jx.Decoder) error
Decode decodes ExchangeList from json.
func (*ExchangeList) Elem ¶
func (e *ExchangeList) Elem() ExchangeList
func (*ExchangeList) Encode ¶
func (s *ExchangeList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeList) GetCode ¶
func (s *ExchangeList) GetCode() string
GetCode returns the value of Code.
func (*ExchangeList) GetName ¶
func (s *ExchangeList) GetName() string
GetName returns the value of Name.
func (*ExchangeList) MarshalJSON ¶
func (s *ExchangeList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeList) SetCode ¶
func (s *ExchangeList) SetCode(val string)
SetCode sets the value of Code.
func (*ExchangeList) SetName ¶
func (s *ExchangeList) SetName(val string)
SetName sets the value of Name.
func (*ExchangeList) UnmarshalJSON ¶
func (s *ExchangeList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeRead ¶
Ref: #/components/schemas/ExchangeRead
func NewExchangeRead ¶
func NewExchangeRead(e *ent.Exchange) *ExchangeRead
func NewExchangeReads ¶
func NewExchangeReads(es []*ent.Exchange) []ExchangeRead
func (*ExchangeRead) Decode ¶
func (s *ExchangeRead) Decode(d *jx.Decoder) error
Decode decodes ExchangeRead from json.
func (*ExchangeRead) Elem ¶
func (e *ExchangeRead) Elem() ExchangeRead
func (*ExchangeRead) Encode ¶
func (s *ExchangeRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeRead) GetCode ¶
func (s *ExchangeRead) GetCode() string
GetCode returns the value of Code.
func (*ExchangeRead) GetName ¶
func (s *ExchangeRead) GetName() string
GetName returns the value of Name.
func (*ExchangeRead) MarshalJSON ¶
func (s *ExchangeRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeRead) SetCode ¶
func (s *ExchangeRead) SetCode(val string)
SetCode sets the value of Code.
func (*ExchangeRead) SetName ¶
func (s *ExchangeRead) SetName(val string)
SetName sets the value of Name.
func (*ExchangeRead) UnmarshalJSON ¶
func (s *ExchangeRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeStocksList ¶
type ExchangeStocksList struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/Exchange_StocksList
func NewExchangeStocksList ¶
func NewExchangeStocksList(e *ent.Entity) *ExchangeStocksList
func NewExchangeStocksLists ¶
func NewExchangeStocksLists(es []*ent.Entity) []ExchangeStocksList
func (*ExchangeStocksList) Decode ¶
func (s *ExchangeStocksList) Decode(d *jx.Decoder) error
Decode decodes ExchangeStocksList from json.
func (*ExchangeStocksList) Elem ¶
func (e *ExchangeStocksList) Elem() ExchangeStocksList
func (*ExchangeStocksList) Encode ¶
func (s *ExchangeStocksList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeStocksList) GetActive ¶
func (s *ExchangeStocksList) GetActive() bool
GetActive returns the value of Active.
func (*ExchangeStocksList) GetDelisted ¶
func (s *ExchangeStocksList) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*ExchangeStocksList) GetDescription ¶
func (s *ExchangeStocksList) GetDescription() string
GetDescription returns the value of Description.
func (*ExchangeStocksList) GetID ¶
func (s *ExchangeStocksList) GetID() int
GetID returns the value of ID.
func (*ExchangeStocksList) GetListDate ¶
func (s *ExchangeStocksList) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*ExchangeStocksList) GetName ¶
func (s *ExchangeStocksList) GetName() string
GetName returns the value of Name.
func (*ExchangeStocksList) GetTicker ¶
func (s *ExchangeStocksList) GetTicker() string
GetTicker returns the value of Ticker.
func (*ExchangeStocksList) MarshalJSON ¶
func (s *ExchangeStocksList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeStocksList) SetActive ¶
func (s *ExchangeStocksList) SetActive(val bool)
SetActive sets the value of Active.
func (*ExchangeStocksList) SetDelisted ¶
func (s *ExchangeStocksList) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*ExchangeStocksList) SetDescription ¶
func (s *ExchangeStocksList) SetDescription(val string)
SetDescription sets the value of Description.
func (*ExchangeStocksList) SetID ¶
func (s *ExchangeStocksList) SetID(val int)
SetID sets the value of ID.
func (*ExchangeStocksList) SetListDate ¶
func (s *ExchangeStocksList) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*ExchangeStocksList) SetName ¶
func (s *ExchangeStocksList) SetName(val string)
SetName sets the value of Name.
func (*ExchangeStocksList) SetTicker ¶
func (s *ExchangeStocksList) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*ExchangeStocksList) UnmarshalJSON ¶
func (s *ExchangeStocksList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeUpdate ¶
type ExchangeUpdate struct { ID int `json:"id"` Code string `json:"code"` Name string `json:"name"` }
Ref: #/components/schemas/ExchangeUpdate
func NewExchangeUpdate ¶
func NewExchangeUpdate(e *ent.Exchange) *ExchangeUpdate
func NewExchangeUpdates ¶
func NewExchangeUpdates(es []*ent.Exchange) []ExchangeUpdate
func (*ExchangeUpdate) Decode ¶
func (s *ExchangeUpdate) Decode(d *jx.Decoder) error
Decode decodes ExchangeUpdate from json.
func (*ExchangeUpdate) Elem ¶
func (e *ExchangeUpdate) Elem() ExchangeUpdate
func (*ExchangeUpdate) Encode ¶
func (s *ExchangeUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeUpdate) GetCode ¶
func (s *ExchangeUpdate) GetCode() string
GetCode returns the value of Code.
func (*ExchangeUpdate) GetName ¶
func (s *ExchangeUpdate) GetName() string
GetName returns the value of Name.
func (*ExchangeUpdate) MarshalJSON ¶
func (s *ExchangeUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeUpdate) SetCode ¶
func (s *ExchangeUpdate) SetCode(val string)
SetCode sets the value of Code.
func (*ExchangeUpdate) SetName ¶
func (s *ExchangeUpdate) SetName(val string)
SetName sets the value of Name.
func (*ExchangeUpdate) UnmarshalJSON ¶
func (s *ExchangeUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FinancialCreate ¶
type FinancialCreate struct {
ID int `json:"id"`
}
Ref: #/components/schemas/FinancialCreate
func NewFinancialCreate ¶
func NewFinancialCreate(e *ent.Financial) *FinancialCreate
func NewFinancialCreates ¶
func NewFinancialCreates(es []*ent.Financial) []FinancialCreate
func (*FinancialCreate) Decode ¶
func (s *FinancialCreate) Decode(d *jx.Decoder) error
Decode decodes FinancialCreate from json.
func (*FinancialCreate) Elem ¶
func (f *FinancialCreate) Elem() FinancialCreate
func (*FinancialCreate) Encode ¶
func (s *FinancialCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinancialCreate) GetID ¶
func (s *FinancialCreate) GetID() int
GetID returns the value of ID.
func (*FinancialCreate) MarshalJSON ¶
func (s *FinancialCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinancialCreate) SetID ¶
func (s *FinancialCreate) SetID(val int)
SetID sets the value of ID.
func (*FinancialCreate) UnmarshalJSON ¶
func (s *FinancialCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FinancialList ¶
type FinancialList struct {
ID int `json:"id"`
}
Ref: #/components/schemas/FinancialList
func NewFinancialList ¶
func NewFinancialList(e *ent.Financial) *FinancialList
func NewFinancialLists ¶
func NewFinancialLists(es []*ent.Financial) []FinancialList
func (*FinancialList) Decode ¶
func (s *FinancialList) Decode(d *jx.Decoder) error
Decode decodes FinancialList from json.
func (*FinancialList) Elem ¶
func (f *FinancialList) Elem() FinancialList
func (*FinancialList) Encode ¶
func (s *FinancialList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinancialList) MarshalJSON ¶
func (s *FinancialList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinancialList) UnmarshalJSON ¶
func (s *FinancialList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FinancialRead ¶
type FinancialRead struct {
ID int `json:"id"`
}
Ref: #/components/schemas/FinancialRead
func NewFinancialRead ¶
func NewFinancialRead(e *ent.Financial) *FinancialRead
func NewFinancialReads ¶
func NewFinancialReads(es []*ent.Financial) []FinancialRead
func (*FinancialRead) Decode ¶
func (s *FinancialRead) Decode(d *jx.Decoder) error
Decode decodes FinancialRead from json.
func (*FinancialRead) Elem ¶
func (f *FinancialRead) Elem() FinancialRead
func (*FinancialRead) Encode ¶
func (s *FinancialRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinancialRead) MarshalJSON ¶
func (s *FinancialRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinancialRead) UnmarshalJSON ¶
func (s *FinancialRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FinancialStockList ¶
type FinancialStockList struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/Financial_StockList
func NewFinancialStockList ¶
func NewFinancialStockList(e *ent.Entity) *FinancialStockList
func NewFinancialStockLists ¶
func NewFinancialStockLists(es []*ent.Entity) []FinancialStockList
func (*FinancialStockList) Decode ¶
func (s *FinancialStockList) Decode(d *jx.Decoder) error
Decode decodes FinancialStockList from json.
func (*FinancialStockList) Elem ¶
func (e *FinancialStockList) Elem() FinancialStockList
func (*FinancialStockList) Encode ¶
func (s *FinancialStockList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinancialStockList) GetActive ¶
func (s *FinancialStockList) GetActive() bool
GetActive returns the value of Active.
func (*FinancialStockList) GetDelisted ¶
func (s *FinancialStockList) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*FinancialStockList) GetDescription ¶
func (s *FinancialStockList) GetDescription() string
GetDescription returns the value of Description.
func (*FinancialStockList) GetID ¶
func (s *FinancialStockList) GetID() int
GetID returns the value of ID.
func (*FinancialStockList) GetListDate ¶
func (s *FinancialStockList) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*FinancialStockList) GetName ¶
func (s *FinancialStockList) GetName() string
GetName returns the value of Name.
func (*FinancialStockList) GetTicker ¶
func (s *FinancialStockList) GetTicker() string
GetTicker returns the value of Ticker.
func (*FinancialStockList) MarshalJSON ¶
func (s *FinancialStockList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinancialStockList) SetActive ¶
func (s *FinancialStockList) SetActive(val bool)
SetActive sets the value of Active.
func (*FinancialStockList) SetDelisted ¶
func (s *FinancialStockList) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*FinancialStockList) SetDescription ¶
func (s *FinancialStockList) SetDescription(val string)
SetDescription sets the value of Description.
func (*FinancialStockList) SetID ¶
func (s *FinancialStockList) SetID(val int)
SetID sets the value of ID.
func (*FinancialStockList) SetListDate ¶
func (s *FinancialStockList) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*FinancialStockList) SetName ¶
func (s *FinancialStockList) SetName(val string)
SetName sets the value of Name.
func (*FinancialStockList) SetTicker ¶
func (s *FinancialStockList) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*FinancialStockList) UnmarshalJSON ¶
func (s *FinancialStockList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FinancialUpdate ¶
type FinancialUpdate struct {
ID int `json:"id"`
}
Ref: #/components/schemas/FinancialUpdate
func NewFinancialUpdate ¶
func NewFinancialUpdate(e *ent.Financial) *FinancialUpdate
func NewFinancialUpdates ¶
func NewFinancialUpdates(es []*ent.Financial) []FinancialUpdate
func (*FinancialUpdate) Decode ¶
func (s *FinancialUpdate) Decode(d *jx.Decoder) error
Decode decodes FinancialUpdate from json.
func (*FinancialUpdate) Elem ¶
func (f *FinancialUpdate) Elem() FinancialUpdate
func (*FinancialUpdate) Encode ¶
func (s *FinancialUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinancialUpdate) GetID ¶
func (s *FinancialUpdate) GetID() int
GetID returns the value of ID.
func (*FinancialUpdate) MarshalJSON ¶
func (s *FinancialUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinancialUpdate) SetID ¶
func (s *FinancialUpdate) SetID(val int)
SetID sets the value of ID.
func (*FinancialUpdate) UnmarshalJSON ¶
func (s *FinancialUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Handler ¶
type Handler interface { // AddTicker implements addTicker operation. // // Queue for adding entities by ticker. // // POST /rest/entities/add/{ticker} AddTicker(ctx context.Context, params AddTickerParams) error // CreateBarGroup implements createBarGroup operation. // // Creates a new BarGroup and persists it to storage. // // POST /rest/bar-groups CreateBarGroup(ctx context.Context, req *CreateBarGroupReq) (CreateBarGroupRes, error) // CreateBarRecord implements createBarRecord operation. // // Creates a new BarRecord and persists it to storage. // // POST /rest/bar-records CreateBarRecord(ctx context.Context, req *CreateBarRecordReq) (CreateBarRecordRes, error) // CreateBarTimeRange implements createBarTimeRange operation. // // Creates a new BarTimeRange and persists it to storage. // // POST /rest/bar-time-ranges CreateBarTimeRange(ctx context.Context, req *CreateBarTimeRangeReq) (CreateBarTimeRangeRes, error) // CreateDataSource implements createDataSource operation. // // Creates a new DataSource and persists it to storage. // // POST /rest/data-sources CreateDataSource(ctx context.Context, req *CreateDataSourceReq) (CreateDataSourceRes, error) // CreateDividend implements createDividend operation. // // Creates a new Dividend and persists it to storage. // // POST /rest/dividends CreateDividend(ctx context.Context, req *CreateDividendReq) (CreateDividendRes, error) // CreateEntity implements createEntity operation. // // Creates a new Entity and persists it to storage. // // POST /rest/entities CreateEntity(ctx context.Context, req *CreateEntityReq) (CreateEntityRes, error) // CreateExchange implements createExchange operation. // // Creates a new Exchange and persists it to storage. // // POST /rest/exchanges CreateExchange(ctx context.Context, req *CreateExchangeReq) (CreateExchangeRes, error) // CreateFinancial implements createFinancial operation. // // Creates a new Financial and persists it to storage. // // POST /rest/financials CreateFinancial(ctx context.Context, req *CreateFinancialReq) (CreateFinancialRes, error) // CreateInterval implements createInterval operation. // // Creates a new Interval and persists it to storage. // // POST /rest/intervals CreateInterval(ctx context.Context, req *CreateIntervalReq) (CreateIntervalRes, error) // CreateMarketHours implements createMarketHours operation. // // Creates a new MarketHours and persists it to storage. // // POST /rest/market-hours CreateMarketHours(ctx context.Context, req *CreateMarketHoursReq) (CreateMarketHoursRes, error) // CreateMarketInfo implements createMarketInfo operation. // // Creates a new MarketInfo and persists it to storage. // // POST /rest/market-infos CreateMarketInfo(ctx context.Context, req *CreateMarketInfoReq) (CreateMarketInfoRes, error) // CreateSplit implements createSplit operation. // // Creates a new Split and persists it to storage. // // POST /rest/splits CreateSplit(ctx context.Context, req *CreateSplitReq) (CreateSplitRes, error) // CreateTradeCondition implements createTradeCondition operation. // // Creates a new TradeCondition and persists it to storage. // // POST /rest/trade-conditions CreateTradeCondition(ctx context.Context, req *CreateTradeConditionReq) (CreateTradeConditionRes, error) // CreateTradeCorrection implements createTradeCorrection operation. // // Creates a new TradeCorrection and persists it to storage. // // POST /rest/trade-corrections CreateTradeCorrection(ctx context.Context, req *CreateTradeCorrectionReq) (CreateTradeCorrectionRes, error) // CreateTradeRecord implements createTradeRecord operation. // // Creates a new TradeRecord and persists it to storage. // // POST /rest/trade-records CreateTradeRecord(ctx context.Context, req *CreateTradeRecordReq) (CreateTradeRecordRes, error) // CreateTradeTimeRange implements createTradeTimeRange operation. // // Creates a new TradeTimeRange and persists it to storage. // // POST /rest/trade-time-ranges CreateTradeTimeRange(ctx context.Context, req *CreateTradeTimeRangeReq) (CreateTradeTimeRangeRes, error) // DeleteBarGroup implements deleteBarGroup operation. // // Deletes the BarGroup with the requested ID. // // DELETE /rest/bar-groups/{id} DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (DeleteBarGroupRes, error) // DeleteBarRecord implements deleteBarRecord operation. // // Deletes the BarRecord with the requested ID. // // DELETE /rest/bar-records/{id} DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (DeleteBarRecordRes, error) // DeleteBarTimeRange implements deleteBarTimeRange operation. // // Deletes the BarTimeRange with the requested ID. // // DELETE /rest/bar-time-ranges/{id} DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (DeleteBarTimeRangeRes, error) // DeleteDataSource implements deleteDataSource operation. // // Deletes the DataSource with the requested ID. // // DELETE /rest/data-sources/{id} DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (DeleteDataSourceRes, error) // DeleteDividend implements deleteDividend operation. // // Deletes the Dividend with the requested ID. // // DELETE /rest/dividends/{id} DeleteDividend(ctx context.Context, params DeleteDividendParams) (DeleteDividendRes, error) // DeleteEntity implements deleteEntity operation. // // Deletes the Entity with the requested ID. // // DELETE /rest/entities/{id} DeleteEntity(ctx context.Context, params DeleteEntityParams) (DeleteEntityRes, error) // DeleteExchange implements deleteExchange operation. // // Deletes the Exchange with the requested ID. // // DELETE /rest/exchanges/{id} DeleteExchange(ctx context.Context, params DeleteExchangeParams) (DeleteExchangeRes, error) // DeleteFinancial implements deleteFinancial operation. // // Deletes the Financial with the requested ID. // // DELETE /rest/financials/{id} DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (DeleteFinancialRes, error) // DeleteInterval implements deleteInterval operation. // // Deletes the Interval with the requested ID. // // DELETE /rest/intervals/{id} DeleteInterval(ctx context.Context, params DeleteIntervalParams) (DeleteIntervalRes, error) // DeleteMarketHours implements deleteMarketHours operation. // // Deletes the MarketHours with the requested ID. // // DELETE /rest/market-hours/{id} DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (DeleteMarketHoursRes, error) // DeleteMarketInfo implements deleteMarketInfo operation. // // Deletes the MarketInfo with the requested ID. // // DELETE /rest/market-infos/{id} DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (DeleteMarketInfoRes, error) // DeleteSplit implements deleteSplit operation. // // Deletes the Split with the requested ID. // // DELETE /rest/splits/{id} DeleteSplit(ctx context.Context, params DeleteSplitParams) (DeleteSplitRes, error) // DeleteTradeCondition implements deleteTradeCondition operation. // // Deletes the TradeCondition with the requested ID. // // DELETE /rest/trade-conditions/{id} DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (DeleteTradeConditionRes, error) // DeleteTradeCorrection implements deleteTradeCorrection operation. // // Deletes the TradeCorrection with the requested ID. // // DELETE /rest/trade-corrections/{id} DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (DeleteTradeCorrectionRes, error) // DeleteTradeRecord implements deleteTradeRecord operation. // // Deletes the TradeRecord with the requested ID. // // DELETE /rest/trade-records/{id} DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (DeleteTradeRecordRes, error) // DeleteTradeTimeRange implements deleteTradeTimeRange operation. // // Deletes the TradeTimeRange with the requested ID. // // DELETE /rest/trade-time-ranges/{id} DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (DeleteTradeTimeRangeRes, error) // ListBarGroup implements listBarGroup operation. // // List BarGroups. // // GET /rest/bar-groups ListBarGroup(ctx context.Context, params ListBarGroupParams) (ListBarGroupRes, error) // ListBarGroupRecords implements listBarGroupRecords operation. // // List attached Records. // // GET /rest/bar-groups/{id}/records ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (ListBarGroupRecordsRes, error) // ListBarRecord implements listBarRecord operation. // // List BarRecords. // // GET /rest/bar-records ListBarRecord(ctx context.Context, params ListBarRecordParams) (ListBarRecordRes, error) // ListBarTimeRange implements listBarTimeRange operation. // // List BarTimeRanges. // // GET /rest/bar-time-ranges ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (ListBarTimeRangeRes, error) // ListBarTimeRangeGroups implements listBarTimeRangeGroups operation. // // List attached Groups. // // GET /rest/bar-time-ranges/{id}/groups ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (ListBarTimeRangeGroupsRes, error) // ListDataSource implements listDataSource operation. // // List DataSources. // // GET /rest/data-sources ListDataSource(ctx context.Context, params ListDataSourceParams) (ListDataSourceRes, error) // ListDataSourceIntervals implements listDataSourceIntervals operation. // // List attached Intervals. // // GET /rest/data-sources/{id}/intervals ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (ListDataSourceIntervalsRes, error) // ListDividend implements listDividend operation. // // List Dividends. // // GET /rest/dividends ListDividend(ctx context.Context, params ListDividendParams) (ListDividendRes, error) // ListDividendStock implements listDividendStock operation. // // List attached Stocks. // // GET /rest/dividends/{id}/stock ListDividendStock(ctx context.Context, params ListDividendStockParams) (ListDividendStockRes, error) // ListEntity implements listEntity operation. // // List Entities. // // GET /rest/entities ListEntity(ctx context.Context, params ListEntityParams) (ListEntityRes, error) // ListEntityDividends implements listEntityDividends operation. // // List attached Dividends. // // GET /rest/entities/{id}/dividends ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (ListEntityDividendsRes, error) // ListEntityExchanges implements listEntityExchanges operation. // // List attached Exchanges. // // GET /rest/entities/{id}/exchanges ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (ListEntityExchangesRes, error) // ListEntityFinancials implements listEntityFinancials operation. // // List attached Financials. // // GET /rest/entities/{id}/financials ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (ListEntityFinancialsRes, error) // ListEntityIntervals implements listEntityIntervals operation. // // List attached Intervals. // // GET /rest/entities/{id}/intervals ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (ListEntityIntervalsRes, error) // ListEntitySplits implements listEntitySplits operation. // // List attached Splits. // // GET /rest/entities/{id}/splits ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (ListEntitySplitsRes, error) // ListExchange implements listExchange operation. // // List Exchanges. // // GET /rest/exchanges ListExchange(ctx context.Context, params ListExchangeParams) (ListExchangeRes, error) // ListExchangeStocks implements listExchangeStocks operation. // // List attached Stocks. // // GET /rest/exchanges/{id}/stocks ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (ListExchangeStocksRes, error) // ListFinancial implements listFinancial operation. // // List Financials. // // GET /rest/financials ListFinancial(ctx context.Context, params ListFinancialParams) (ListFinancialRes, error) // ListFinancialStock implements listFinancialStock operation. // // List attached Stocks. // // GET /rest/financials/{id}/stock ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (ListFinancialStockRes, error) // ListInterval implements listInterval operation. // // List Intervals. // // GET /rest/intervals ListInterval(ctx context.Context, params ListIntervalParams) (ListIntervalRes, error) // ListIntervalBars implements listIntervalBars operation. // // List attached Bars. // // GET /rest/intervals/{id}/bars ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (ListIntervalBarsRes, error) // ListIntervalTrades implements listIntervalTrades operation. // // List attached Trades. // // GET /rest/intervals/{id}/trades ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (ListIntervalTradesRes, error) // ListMarketHours implements listMarketHours operation. // // List MarketHours. // // GET /rest/market-hours ListMarketHours(ctx context.Context, params ListMarketHoursParams) (ListMarketHoursRes, error) // ListMarketInfo implements listMarketInfo operation. // // List MarketInfos. // // GET /rest/market-infos ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (ListMarketInfoRes, error) // ListMarketInfoHours implements listMarketInfoHours operation. // // List attached Hours. // // GET /rest/market-infos/{id}/hours ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (ListMarketInfoHoursRes, error) // ListSplit implements listSplit operation. // // List Splits. // // GET /rest/splits ListSplit(ctx context.Context, params ListSplitParams) (ListSplitRes, error) // ListTradeCondition implements listTradeCondition operation. // // List TradeConditions. // // GET /rest/trade-conditions ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (ListTradeConditionRes, error) // ListTradeConditionRecord implements listTradeConditionRecord operation. // // List attached Records. // // GET /rest/trade-conditions/{id}/record ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (ListTradeConditionRecordRes, error) // ListTradeCorrection implements listTradeCorrection operation. // // List TradeCorrections. // // GET /rest/trade-corrections ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (ListTradeCorrectionRes, error) // ListTradeCorrectionRecord implements listTradeCorrectionRecord operation. // // List attached Records. // // GET /rest/trade-corrections/{id}/record ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (ListTradeCorrectionRecordRes, error) // ListTradeRecord implements listTradeRecord operation. // // List TradeRecords. // // GET /rest/trade-records ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (ListTradeRecordRes, error) // ListTradeRecordConditions implements listTradeRecordConditions operation. // // List attached Conditions. // // GET /rest/trade-records/{id}/conditions ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (ListTradeRecordConditionsRes, error) // ListTradeRecordCorrection implements listTradeRecordCorrection operation. // // List attached Corrections. // // GET /rest/trade-records/{id}/correction ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (ListTradeRecordCorrectionRes, error) // ListTradeRecordExchange implements listTradeRecordExchange operation. // // List attached Exchanges. // // GET /rest/trade-records/{id}/exchange ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (ListTradeRecordExchangeRes, error) // ListTradeTimeRange implements listTradeTimeRange operation. // // List TradeTimeRanges. // // GET /rest/trade-time-ranges ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (ListTradeTimeRangeRes, error) // ListTradeTimeRangeRecords implements listTradeTimeRangeRecords operation. // // List attached Records. // // GET /rest/trade-time-ranges/{id}/records ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (ListTradeTimeRangeRecordsRes, error) // ReadBarGroup implements readBarGroup operation. // // Finds the BarGroup with the requested ID and returns it. // // GET /rest/bar-groups/{id} ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (ReadBarGroupRes, error) // ReadBarGroupTimeRange implements readBarGroupTimeRange operation. // // Find the attached BarTimeRange of the BarGroup with the given ID. // // GET /rest/bar-groups/{id}/time-range ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (ReadBarGroupTimeRangeRes, error) // ReadBarRecord implements readBarRecord operation. // // Finds the BarRecord with the requested ID and returns it. // // GET /rest/bar-records/{id} ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (ReadBarRecordRes, error) // ReadBarRecordGroup implements readBarRecordGroup operation. // // Find the attached BarGroup of the BarRecord with the given ID. // // GET /rest/bar-records/{id}/group ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (ReadBarRecordGroupRes, error) // ReadBarTimeRange implements readBarTimeRange operation. // // Finds the BarTimeRange with the requested ID and returns it. // // GET /rest/bar-time-ranges/{id} ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (ReadBarTimeRangeRes, error) // ReadBarTimeRangeInterval implements readBarTimeRangeInterval operation. // // Find the attached Interval of the BarTimeRange with the given ID. // // GET /rest/bar-time-ranges/{id}/interval ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (ReadBarTimeRangeIntervalRes, error) // ReadDataSource implements readDataSource operation. // // Finds the DataSource with the requested ID and returns it. // // GET /rest/data-sources/{id} ReadDataSource(ctx context.Context, params ReadDataSourceParams) (ReadDataSourceRes, error) // ReadDividend implements readDividend operation. // // Finds the Dividend with the requested ID and returns it. // // GET /rest/dividends/{id} ReadDividend(ctx context.Context, params ReadDividendParams) (ReadDividendRes, error) // ReadEntity implements readEntity operation. // // Finds the Entity with the requested ID and returns it. // // GET /rest/entities/{id} ReadEntity(ctx context.Context, params ReadEntityParams) (ReadEntityRes, error) // ReadExchange implements readExchange operation. // // Finds the Exchange with the requested ID and returns it. // // GET /rest/exchanges/{id} ReadExchange(ctx context.Context, params ReadExchangeParams) (ReadExchangeRes, error) // ReadFinancial implements readFinancial operation. // // Finds the Financial with the requested ID and returns it. // // GET /rest/financials/{id} ReadFinancial(ctx context.Context, params ReadFinancialParams) (ReadFinancialRes, error) // ReadInterval implements readInterval operation. // // Finds the Interval with the requested ID and returns it. // // GET /rest/intervals/{id} ReadInterval(ctx context.Context, params ReadIntervalParams) (ReadIntervalRes, error) // ReadIntervalDataSource implements readIntervalDataSource operation. // // Find the attached DataSource of the Interval with the given ID. // // GET /rest/intervals/{id}/data-source ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (ReadIntervalDataSourceRes, error) // ReadIntervalStock implements readIntervalStock operation. // // Find the attached Entity of the Interval with the given ID. // // GET /rest/intervals/{id}/stock ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (ReadIntervalStockRes, error) // ReadMarketHours implements readMarketHours operation. // // Finds the MarketHours with the requested ID and returns it. // // GET /rest/market-hours/{id} ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (ReadMarketHoursRes, error) // ReadMarketHoursMarketInfo implements readMarketHoursMarketInfo operation. // // Find the attached MarketInfo of the MarketHours with the given ID. // // GET /rest/market-hours/{id}/market-info ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (ReadMarketHoursMarketInfoRes, error) // ReadMarketInfo implements readMarketInfo operation. // // Finds the MarketInfo with the requested ID and returns it. // // GET /rest/market-infos/{id} ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (ReadMarketInfoRes, error) // ReadSplit implements readSplit operation. // // Finds the Split with the requested ID and returns it. // // GET /rest/splits/{id} ReadSplit(ctx context.Context, params ReadSplitParams) (ReadSplitRes, error) // ReadSplitStock implements readSplitStock operation. // // Find the attached Entity of the Split with the given ID. // // GET /rest/splits/{id}/stock ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (ReadSplitStockRes, error) // ReadTradeCondition implements readTradeCondition operation. // // Finds the TradeCondition with the requested ID and returns it. // // GET /rest/trade-conditions/{id} ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (ReadTradeConditionRes, error) // ReadTradeCorrection implements readTradeCorrection operation. // // Finds the TradeCorrection with the requested ID and returns it. // // GET /rest/trade-corrections/{id} ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (ReadTradeCorrectionRes, error) // ReadTradeRecord implements readTradeRecord operation. // // Finds the TradeRecord with the requested ID and returns it. // // GET /rest/trade-records/{id} ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (ReadTradeRecordRes, error) // ReadTradeRecordTimeRange implements readTradeRecordTimeRange operation. // // Find the attached TradeTimeRange of the TradeRecord with the given ID. // // GET /rest/trade-records/{id}/time-range ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (ReadTradeRecordTimeRangeRes, error) // ReadTradeTimeRange implements readTradeTimeRange operation. // // Finds the TradeTimeRange with the requested ID and returns it. // // GET /rest/trade-time-ranges/{id} ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (ReadTradeTimeRangeRes, error) // ReadTradeTimeRangeInterval implements readTradeTimeRangeInterval operation. // // Find the attached Interval of the TradeTimeRange with the given ID. // // GET /rest/trade-time-ranges/{id}/interval ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (ReadTradeTimeRangeIntervalRes, error) // SearchTicker implements searchTicker operation. // // Searches for entities by ticker. // // GET /rest/search/{ticker} SearchTicker(ctx context.Context, params SearchTickerParams) (*SearchTickerOK, error) // UpdateBarGroup implements updateBarGroup operation. // // Updates a BarGroup and persists changes to storage. // // PATCH /rest/bar-groups/{id} UpdateBarGroup(ctx context.Context, req *UpdateBarGroupReq, params UpdateBarGroupParams) (UpdateBarGroupRes, error) // UpdateBarRecord implements updateBarRecord operation. // // Updates a BarRecord and persists changes to storage. // // PATCH /rest/bar-records/{id} UpdateBarRecord(ctx context.Context, req *UpdateBarRecordReq, params UpdateBarRecordParams) (UpdateBarRecordRes, error) // UpdateBarTimeRange implements updateBarTimeRange operation. // // Updates a BarTimeRange and persists changes to storage. // // PATCH /rest/bar-time-ranges/{id} UpdateBarTimeRange(ctx context.Context, req *UpdateBarTimeRangeReq, params UpdateBarTimeRangeParams) (UpdateBarTimeRangeRes, error) // UpdateDataSource implements updateDataSource operation. // // Updates a DataSource and persists changes to storage. // // PATCH /rest/data-sources/{id} UpdateDataSource(ctx context.Context, req *UpdateDataSourceReq, params UpdateDataSourceParams) (UpdateDataSourceRes, error) // UpdateDividend implements updateDividend operation. // // Updates a Dividend and persists changes to storage. // // PATCH /rest/dividends/{id} UpdateDividend(ctx context.Context, req *UpdateDividendReq, params UpdateDividendParams) (UpdateDividendRes, error) // UpdateEntity implements updateEntity operation. // // Updates a Entity and persists changes to storage. // // PATCH /rest/entities/{id} UpdateEntity(ctx context.Context, req *UpdateEntityReq, params UpdateEntityParams) (UpdateEntityRes, error) // UpdateExchange implements updateExchange operation. // // Updates a Exchange and persists changes to storage. // // PATCH /rest/exchanges/{id} UpdateExchange(ctx context.Context, req *UpdateExchangeReq, params UpdateExchangeParams) (UpdateExchangeRes, error) // UpdateFinancial implements updateFinancial operation. // // Updates a Financial and persists changes to storage. // // PATCH /rest/financials/{id} UpdateFinancial(ctx context.Context, req *UpdateFinancialReq, params UpdateFinancialParams) (UpdateFinancialRes, error) // UpdateInterval implements updateInterval operation. // // Updates a Interval and persists changes to storage. // // PATCH /rest/intervals/{id} UpdateInterval(ctx context.Context, req *UpdateIntervalReq, params UpdateIntervalParams) (UpdateIntervalRes, error) // UpdateMarketHours implements updateMarketHours operation. // // Updates a MarketHours and persists changes to storage. // // PATCH /rest/market-hours/{id} UpdateMarketHours(ctx context.Context, req *UpdateMarketHoursReq, params UpdateMarketHoursParams) (UpdateMarketHoursRes, error) // UpdateMarketInfo implements updateMarketInfo operation. // // Updates a MarketInfo and persists changes to storage. // // PATCH /rest/market-infos/{id} UpdateMarketInfo(ctx context.Context, req *UpdateMarketInfoReq, params UpdateMarketInfoParams) (UpdateMarketInfoRes, error) // UpdateSplit implements updateSplit operation. // // Updates a Split and persists changes to storage. // // PATCH /rest/splits/{id} UpdateSplit(ctx context.Context, req *UpdateSplitReq, params UpdateSplitParams) (UpdateSplitRes, error) // UpdateTradeCondition implements updateTradeCondition operation. // // Updates a TradeCondition and persists changes to storage. // // PATCH /rest/trade-conditions/{id} UpdateTradeCondition(ctx context.Context, req *UpdateTradeConditionReq, params UpdateTradeConditionParams) (UpdateTradeConditionRes, error) // UpdateTradeCorrection implements updateTradeCorrection operation. // // Updates a TradeCorrection and persists changes to storage. // // PATCH /rest/trade-corrections/{id} UpdateTradeCorrection(ctx context.Context, req *UpdateTradeCorrectionReq, params UpdateTradeCorrectionParams) (UpdateTradeCorrectionRes, error) // UpdateTradeRecord implements updateTradeRecord operation. // // Updates a TradeRecord and persists changes to storage. // // PATCH /rest/trade-records/{id} UpdateTradeRecord(ctx context.Context, req *UpdateTradeRecordReq, params UpdateTradeRecordParams) (UpdateTradeRecordRes, error) // UpdateTradeTimeRange implements updateTradeTimeRange operation. // // Updates a TradeTimeRange and persists changes to storage. // // PATCH /rest/trade-time-ranges/{id} UpdateTradeTimeRange(ctx context.Context, req *UpdateTradeTimeRangeReq, params UpdateTradeTimeRangeParams) (UpdateTradeTimeRangeRes, error) }
Handler handles operations described by OpenAPI v3 specification.
type IntervalBarsList ¶
type IntervalBarsList struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` Count int `json:"count"` IntervalID int `json:"interval_id"` Status IntervalBarsListStatus `json:"status"` UpdateTime time.Time `json:"update_time"` }
Ref: #/components/schemas/Interval_BarsList
func NewIntervalBarsList ¶
func NewIntervalBarsList(e *ent.BarTimeRange) *IntervalBarsList
func NewIntervalBarsLists ¶
func NewIntervalBarsLists(es []*ent.BarTimeRange) []IntervalBarsList
func (*IntervalBarsList) Decode ¶
func (s *IntervalBarsList) Decode(d *jx.Decoder) error
Decode decodes IntervalBarsList from json.
func (*IntervalBarsList) Elem ¶
func (btr *IntervalBarsList) Elem() IntervalBarsList
func (*IntervalBarsList) Encode ¶
func (s *IntervalBarsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalBarsList) GetCount ¶
func (s *IntervalBarsList) GetCount() int
GetCount returns the value of Count.
func (*IntervalBarsList) GetEnd ¶
func (s *IntervalBarsList) GetEnd() time.Time
GetEnd returns the value of End.
func (*IntervalBarsList) GetID ¶
func (s *IntervalBarsList) GetID() int
GetID returns the value of ID.
func (*IntervalBarsList) GetIntervalID ¶
func (s *IntervalBarsList) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*IntervalBarsList) GetStart ¶
func (s *IntervalBarsList) GetStart() time.Time
GetStart returns the value of Start.
func (*IntervalBarsList) GetStatus ¶
func (s *IntervalBarsList) GetStatus() IntervalBarsListStatus
GetStatus returns the value of Status.
func (*IntervalBarsList) GetUpdateTime ¶
func (s *IntervalBarsList) GetUpdateTime() time.Time
GetUpdateTime returns the value of UpdateTime.
func (*IntervalBarsList) MarshalJSON ¶
func (s *IntervalBarsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalBarsList) SetCount ¶
func (s *IntervalBarsList) SetCount(val int)
SetCount sets the value of Count.
func (*IntervalBarsList) SetEnd ¶
func (s *IntervalBarsList) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*IntervalBarsList) SetID ¶
func (s *IntervalBarsList) SetID(val int)
SetID sets the value of ID.
func (*IntervalBarsList) SetIntervalID ¶
func (s *IntervalBarsList) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*IntervalBarsList) SetStart ¶
func (s *IntervalBarsList) SetStart(val time.Time)
SetStart sets the value of Start.
func (*IntervalBarsList) SetStatus ¶
func (s *IntervalBarsList) SetStatus(val IntervalBarsListStatus)
SetStatus sets the value of Status.
func (*IntervalBarsList) SetUpdateTime ¶
func (s *IntervalBarsList) SetUpdateTime(val time.Time)
SetUpdateTime sets the value of UpdateTime.
func (*IntervalBarsList) UnmarshalJSON ¶
func (s *IntervalBarsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalBarsList) Validate ¶
func (s *IntervalBarsList) Validate() error
type IntervalBarsListStatus ¶
type IntervalBarsListStatus string
const ( IntervalBarsListStatusPending IntervalBarsListStatus = "pending" IntervalBarsListStatusCreated IntervalBarsListStatus = "created" IntervalBarsListStatusClean IntervalBarsListStatus = "clean" IntervalBarsListStatusConsolidated IntervalBarsListStatus = "consolidated" )
func (*IntervalBarsListStatus) Decode ¶
func (s *IntervalBarsListStatus) Decode(d *jx.Decoder) error
Decode decodes IntervalBarsListStatus from json.
func (IntervalBarsListStatus) Encode ¶
func (s IntervalBarsListStatus) Encode(e *jx.Encoder)
Encode encodes IntervalBarsListStatus as json.
func (IntervalBarsListStatus) MarshalJSON ¶
func (s IntervalBarsListStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IntervalBarsListStatus) MarshalText ¶
func (s IntervalBarsListStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IntervalBarsListStatus) UnmarshalJSON ¶
func (s *IntervalBarsListStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalBarsListStatus) UnmarshalText ¶
func (s *IntervalBarsListStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IntervalBarsListStatus) Validate ¶
func (s IntervalBarsListStatus) Validate() error
type IntervalCreate ¶
type IntervalCreate struct { ID int `json:"id"` Active bool `json:"active"` Interval IntervalCreateInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/IntervalCreate
func NewIntervalCreate ¶
func NewIntervalCreate(e *ent.Interval) *IntervalCreate
func NewIntervalCreates ¶
func NewIntervalCreates(es []*ent.Interval) []IntervalCreate
func (*IntervalCreate) Decode ¶
func (s *IntervalCreate) Decode(d *jx.Decoder) error
Decode decodes IntervalCreate from json.
func (*IntervalCreate) Elem ¶
func (i *IntervalCreate) Elem() IntervalCreate
func (*IntervalCreate) Encode ¶
func (s *IntervalCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalCreate) GetActive ¶
func (s *IntervalCreate) GetActive() bool
GetActive returns the value of Active.
func (*IntervalCreate) GetDataSourceID ¶
func (s *IntervalCreate) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*IntervalCreate) GetInterval ¶
func (s *IntervalCreate) GetInterval() IntervalCreateInterval
GetInterval returns the value of Interval.
func (*IntervalCreate) GetStockID ¶
func (s *IntervalCreate) GetStockID() int
GetStockID returns the value of StockID.
func (*IntervalCreate) MarshalJSON ¶
func (s *IntervalCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalCreate) SetActive ¶
func (s *IntervalCreate) SetActive(val bool)
SetActive sets the value of Active.
func (*IntervalCreate) SetDataSourceID ¶
func (s *IntervalCreate) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*IntervalCreate) SetInterval ¶
func (s *IntervalCreate) SetInterval(val IntervalCreateInterval)
SetInterval sets the value of Interval.
func (*IntervalCreate) SetStockID ¶
func (s *IntervalCreate) SetStockID(val int)
SetStockID sets the value of StockID.
func (*IntervalCreate) UnmarshalJSON ¶
func (s *IntervalCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalCreate) Validate ¶
func (s *IntervalCreate) Validate() error
type IntervalCreateInterval ¶
type IntervalCreateInterval string
const ( IntervalCreateIntervalTrades IntervalCreateInterval = "trades" IntervalCreateInterval1min IntervalCreateInterval = "1min" IntervalCreateIntervalDaily IntervalCreateInterval = "daily" IntervalCreateIntervalMonthly IntervalCreateInterval = "monthly" IntervalCreateIntervalYearly IntervalCreateInterval = "yearly" )
func (*IntervalCreateInterval) Decode ¶
func (s *IntervalCreateInterval) Decode(d *jx.Decoder) error
Decode decodes IntervalCreateInterval from json.
func (IntervalCreateInterval) Encode ¶
func (s IntervalCreateInterval) Encode(e *jx.Encoder)
Encode encodes IntervalCreateInterval as json.
func (IntervalCreateInterval) MarshalJSON ¶
func (s IntervalCreateInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IntervalCreateInterval) MarshalText ¶
func (s IntervalCreateInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IntervalCreateInterval) UnmarshalJSON ¶
func (s *IntervalCreateInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalCreateInterval) UnmarshalText ¶
func (s *IntervalCreateInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IntervalCreateInterval) Validate ¶
func (s IntervalCreateInterval) Validate() error
type IntervalDataSourceRead ¶
type IntervalDataSourceRead struct { ID int `json:"id"` Name string `json:"name"` Address string `json:"address"` }
Ref: #/components/schemas/Interval_DataSourceRead
func NewIntervalDataSourceRead ¶
func NewIntervalDataSourceRead(e *ent.DataSource) *IntervalDataSourceRead
func NewIntervalDataSourceReads ¶
func NewIntervalDataSourceReads(es []*ent.DataSource) []IntervalDataSourceRead
func (*IntervalDataSourceRead) Decode ¶
func (s *IntervalDataSourceRead) Decode(d *jx.Decoder) error
Decode decodes IntervalDataSourceRead from json.
func (*IntervalDataSourceRead) Elem ¶
func (ds *IntervalDataSourceRead) Elem() IntervalDataSourceRead
func (*IntervalDataSourceRead) Encode ¶
func (s *IntervalDataSourceRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalDataSourceRead) GetAddress ¶
func (s *IntervalDataSourceRead) GetAddress() string
GetAddress returns the value of Address.
func (*IntervalDataSourceRead) GetID ¶
func (s *IntervalDataSourceRead) GetID() int
GetID returns the value of ID.
func (*IntervalDataSourceRead) GetName ¶
func (s *IntervalDataSourceRead) GetName() string
GetName returns the value of Name.
func (*IntervalDataSourceRead) MarshalJSON ¶
func (s *IntervalDataSourceRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalDataSourceRead) SetAddress ¶
func (s *IntervalDataSourceRead) SetAddress(val string)
SetAddress sets the value of Address.
func (*IntervalDataSourceRead) SetID ¶
func (s *IntervalDataSourceRead) SetID(val int)
SetID sets the value of ID.
func (*IntervalDataSourceRead) SetName ¶
func (s *IntervalDataSourceRead) SetName(val string)
SetName sets the value of Name.
func (*IntervalDataSourceRead) UnmarshalJSON ¶
func (s *IntervalDataSourceRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IntervalList ¶
type IntervalList struct { ID int `json:"id"` Active bool `json:"active"` Interval IntervalListInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/IntervalList
func NewIntervalList ¶
func NewIntervalList(e *ent.Interval) *IntervalList
func NewIntervalLists ¶
func NewIntervalLists(es []*ent.Interval) []IntervalList
func (*IntervalList) Decode ¶
func (s *IntervalList) Decode(d *jx.Decoder) error
Decode decodes IntervalList from json.
func (*IntervalList) Elem ¶
func (i *IntervalList) Elem() IntervalList
func (*IntervalList) Encode ¶
func (s *IntervalList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalList) GetActive ¶
func (s *IntervalList) GetActive() bool
GetActive returns the value of Active.
func (*IntervalList) GetDataSourceID ¶
func (s *IntervalList) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*IntervalList) GetInterval ¶
func (s *IntervalList) GetInterval() IntervalListInterval
GetInterval returns the value of Interval.
func (*IntervalList) GetStockID ¶
func (s *IntervalList) GetStockID() int
GetStockID returns the value of StockID.
func (*IntervalList) MarshalJSON ¶
func (s *IntervalList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalList) SetActive ¶
func (s *IntervalList) SetActive(val bool)
SetActive sets the value of Active.
func (*IntervalList) SetDataSourceID ¶
func (s *IntervalList) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*IntervalList) SetInterval ¶
func (s *IntervalList) SetInterval(val IntervalListInterval)
SetInterval sets the value of Interval.
func (*IntervalList) SetStockID ¶
func (s *IntervalList) SetStockID(val int)
SetStockID sets the value of StockID.
func (*IntervalList) UnmarshalJSON ¶
func (s *IntervalList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalList) Validate ¶
func (s *IntervalList) Validate() error
type IntervalListInterval ¶
type IntervalListInterval string
const ( IntervalListIntervalTrades IntervalListInterval = "trades" IntervalListInterval1min IntervalListInterval = "1min" IntervalListIntervalDaily IntervalListInterval = "daily" IntervalListIntervalMonthly IntervalListInterval = "monthly" IntervalListIntervalYearly IntervalListInterval = "yearly" )
func (*IntervalListInterval) Decode ¶
func (s *IntervalListInterval) Decode(d *jx.Decoder) error
Decode decodes IntervalListInterval from json.
func (IntervalListInterval) Encode ¶
func (s IntervalListInterval) Encode(e *jx.Encoder)
Encode encodes IntervalListInterval as json.
func (IntervalListInterval) MarshalJSON ¶
func (s IntervalListInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IntervalListInterval) MarshalText ¶
func (s IntervalListInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IntervalListInterval) UnmarshalJSON ¶
func (s *IntervalListInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalListInterval) UnmarshalText ¶
func (s *IntervalListInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IntervalListInterval) Validate ¶
func (s IntervalListInterval) Validate() error
type IntervalRead ¶
type IntervalRead struct { ID int `json:"id"` Active bool `json:"active"` Interval IntervalReadInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/IntervalRead
func NewIntervalRead ¶
func NewIntervalRead(e *ent.Interval) *IntervalRead
func NewIntervalReads ¶
func NewIntervalReads(es []*ent.Interval) []IntervalRead
func (*IntervalRead) Decode ¶
func (s *IntervalRead) Decode(d *jx.Decoder) error
Decode decodes IntervalRead from json.
func (*IntervalRead) Elem ¶
func (i *IntervalRead) Elem() IntervalRead
func (*IntervalRead) Encode ¶
func (s *IntervalRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalRead) GetActive ¶
func (s *IntervalRead) GetActive() bool
GetActive returns the value of Active.
func (*IntervalRead) GetDataSourceID ¶
func (s *IntervalRead) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*IntervalRead) GetInterval ¶
func (s *IntervalRead) GetInterval() IntervalReadInterval
GetInterval returns the value of Interval.
func (*IntervalRead) GetStockID ¶
func (s *IntervalRead) GetStockID() int
GetStockID returns the value of StockID.
func (*IntervalRead) MarshalJSON ¶
func (s *IntervalRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalRead) SetActive ¶
func (s *IntervalRead) SetActive(val bool)
SetActive sets the value of Active.
func (*IntervalRead) SetDataSourceID ¶
func (s *IntervalRead) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*IntervalRead) SetInterval ¶
func (s *IntervalRead) SetInterval(val IntervalReadInterval)
SetInterval sets the value of Interval.
func (*IntervalRead) SetStockID ¶
func (s *IntervalRead) SetStockID(val int)
SetStockID sets the value of StockID.
func (*IntervalRead) UnmarshalJSON ¶
func (s *IntervalRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalRead) Validate ¶
func (s *IntervalRead) Validate() error
type IntervalReadInterval ¶
type IntervalReadInterval string
const ( IntervalReadIntervalTrades IntervalReadInterval = "trades" IntervalReadInterval1min IntervalReadInterval = "1min" IntervalReadIntervalDaily IntervalReadInterval = "daily" IntervalReadIntervalMonthly IntervalReadInterval = "monthly" IntervalReadIntervalYearly IntervalReadInterval = "yearly" )
func (*IntervalReadInterval) Decode ¶
func (s *IntervalReadInterval) Decode(d *jx.Decoder) error
Decode decodes IntervalReadInterval from json.
func (IntervalReadInterval) Encode ¶
func (s IntervalReadInterval) Encode(e *jx.Encoder)
Encode encodes IntervalReadInterval as json.
func (IntervalReadInterval) MarshalJSON ¶
func (s IntervalReadInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IntervalReadInterval) MarshalText ¶
func (s IntervalReadInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IntervalReadInterval) UnmarshalJSON ¶
func (s *IntervalReadInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalReadInterval) UnmarshalText ¶
func (s *IntervalReadInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IntervalReadInterval) Validate ¶
func (s IntervalReadInterval) Validate() error
type IntervalStockRead ¶
type IntervalStockRead struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/Interval_StockRead
func NewIntervalStockRead ¶
func NewIntervalStockRead(e *ent.Entity) *IntervalStockRead
func NewIntervalStockReads ¶
func NewIntervalStockReads(es []*ent.Entity) []IntervalStockRead
func (*IntervalStockRead) Decode ¶
func (s *IntervalStockRead) Decode(d *jx.Decoder) error
Decode decodes IntervalStockRead from json.
func (*IntervalStockRead) Elem ¶
func (e *IntervalStockRead) Elem() IntervalStockRead
func (*IntervalStockRead) Encode ¶
func (s *IntervalStockRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalStockRead) GetActive ¶
func (s *IntervalStockRead) GetActive() bool
GetActive returns the value of Active.
func (*IntervalStockRead) GetDelisted ¶
func (s *IntervalStockRead) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*IntervalStockRead) GetDescription ¶
func (s *IntervalStockRead) GetDescription() string
GetDescription returns the value of Description.
func (*IntervalStockRead) GetID ¶
func (s *IntervalStockRead) GetID() int
GetID returns the value of ID.
func (*IntervalStockRead) GetListDate ¶
func (s *IntervalStockRead) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*IntervalStockRead) GetName ¶
func (s *IntervalStockRead) GetName() string
GetName returns the value of Name.
func (*IntervalStockRead) GetTicker ¶
func (s *IntervalStockRead) GetTicker() string
GetTicker returns the value of Ticker.
func (*IntervalStockRead) MarshalJSON ¶
func (s *IntervalStockRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalStockRead) SetActive ¶
func (s *IntervalStockRead) SetActive(val bool)
SetActive sets the value of Active.
func (*IntervalStockRead) SetDelisted ¶
func (s *IntervalStockRead) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*IntervalStockRead) SetDescription ¶
func (s *IntervalStockRead) SetDescription(val string)
SetDescription sets the value of Description.
func (*IntervalStockRead) SetID ¶
func (s *IntervalStockRead) SetID(val int)
SetID sets the value of ID.
func (*IntervalStockRead) SetListDate ¶
func (s *IntervalStockRead) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*IntervalStockRead) SetName ¶
func (s *IntervalStockRead) SetName(val string)
SetName sets the value of Name.
func (*IntervalStockRead) SetTicker ¶
func (s *IntervalStockRead) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*IntervalStockRead) UnmarshalJSON ¶
func (s *IntervalStockRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IntervalTradesList ¶
type IntervalTradesList struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/Interval_TradesList
func NewIntervalTradesList ¶
func NewIntervalTradesList(e *ent.TradeTimeRange) *IntervalTradesList
func NewIntervalTradesLists ¶
func NewIntervalTradesLists(es []*ent.TradeTimeRange) []IntervalTradesList
func (*IntervalTradesList) Decode ¶
func (s *IntervalTradesList) Decode(d *jx.Decoder) error
Decode decodes IntervalTradesList from json.
func (*IntervalTradesList) Elem ¶
func (ttr *IntervalTradesList) Elem() IntervalTradesList
func (*IntervalTradesList) Encode ¶
func (s *IntervalTradesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalTradesList) GetEnd ¶
func (s *IntervalTradesList) GetEnd() time.Time
GetEnd returns the value of End.
func (*IntervalTradesList) GetID ¶
func (s *IntervalTradesList) GetID() int
GetID returns the value of ID.
func (*IntervalTradesList) GetIntervalID ¶
func (s *IntervalTradesList) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*IntervalTradesList) GetStart ¶
func (s *IntervalTradesList) GetStart() time.Time
GetStart returns the value of Start.
func (*IntervalTradesList) MarshalJSON ¶
func (s *IntervalTradesList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalTradesList) SetEnd ¶
func (s *IntervalTradesList) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*IntervalTradesList) SetID ¶
func (s *IntervalTradesList) SetID(val int)
SetID sets the value of ID.
func (*IntervalTradesList) SetIntervalID ¶
func (s *IntervalTradesList) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*IntervalTradesList) SetStart ¶
func (s *IntervalTradesList) SetStart(val time.Time)
SetStart sets the value of Start.
func (*IntervalTradesList) UnmarshalJSON ¶
func (s *IntervalTradesList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IntervalUpdate ¶
type IntervalUpdate struct { ID int `json:"id"` Active bool `json:"active"` Interval IntervalUpdateInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/IntervalUpdate
func NewIntervalUpdate ¶
func NewIntervalUpdate(e *ent.Interval) *IntervalUpdate
func NewIntervalUpdates ¶
func NewIntervalUpdates(es []*ent.Interval) []IntervalUpdate
func (*IntervalUpdate) Decode ¶
func (s *IntervalUpdate) Decode(d *jx.Decoder) error
Decode decodes IntervalUpdate from json.
func (*IntervalUpdate) Elem ¶
func (i *IntervalUpdate) Elem() IntervalUpdate
func (*IntervalUpdate) Encode ¶
func (s *IntervalUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntervalUpdate) GetActive ¶
func (s *IntervalUpdate) GetActive() bool
GetActive returns the value of Active.
func (*IntervalUpdate) GetDataSourceID ¶
func (s *IntervalUpdate) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*IntervalUpdate) GetInterval ¶
func (s *IntervalUpdate) GetInterval() IntervalUpdateInterval
GetInterval returns the value of Interval.
func (*IntervalUpdate) GetStockID ¶
func (s *IntervalUpdate) GetStockID() int
GetStockID returns the value of StockID.
func (*IntervalUpdate) MarshalJSON ¶
func (s *IntervalUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntervalUpdate) SetActive ¶
func (s *IntervalUpdate) SetActive(val bool)
SetActive sets the value of Active.
func (*IntervalUpdate) SetDataSourceID ¶
func (s *IntervalUpdate) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*IntervalUpdate) SetInterval ¶
func (s *IntervalUpdate) SetInterval(val IntervalUpdateInterval)
SetInterval sets the value of Interval.
func (*IntervalUpdate) SetStockID ¶
func (s *IntervalUpdate) SetStockID(val int)
SetStockID sets the value of StockID.
func (*IntervalUpdate) UnmarshalJSON ¶
func (s *IntervalUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalUpdate) Validate ¶
func (s *IntervalUpdate) Validate() error
type IntervalUpdateInterval ¶
type IntervalUpdateInterval string
const ( IntervalUpdateIntervalTrades IntervalUpdateInterval = "trades" IntervalUpdateInterval1min IntervalUpdateInterval = "1min" IntervalUpdateIntervalDaily IntervalUpdateInterval = "daily" IntervalUpdateIntervalMonthly IntervalUpdateInterval = "monthly" IntervalUpdateIntervalYearly IntervalUpdateInterval = "yearly" )
func (*IntervalUpdateInterval) Decode ¶
func (s *IntervalUpdateInterval) Decode(d *jx.Decoder) error
Decode decodes IntervalUpdateInterval from json.
func (IntervalUpdateInterval) Encode ¶
func (s IntervalUpdateInterval) Encode(e *jx.Encoder)
Encode encodes IntervalUpdateInterval as json.
func (IntervalUpdateInterval) MarshalJSON ¶
func (s IntervalUpdateInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IntervalUpdateInterval) MarshalText ¶
func (s IntervalUpdateInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IntervalUpdateInterval) UnmarshalJSON ¶
func (s *IntervalUpdateInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IntervalUpdateInterval) UnmarshalText ¶
func (s *IntervalUpdateInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IntervalUpdateInterval) Validate ¶
func (s IntervalUpdateInterval) Validate() error
type ListBarGroupOKApplicationJSON ¶
type ListBarGroupOKApplicationJSON []BarGroupList
func (*ListBarGroupOKApplicationJSON) Decode ¶
func (s *ListBarGroupOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListBarGroupOKApplicationJSON from json.
func (ListBarGroupOKApplicationJSON) Encode ¶
func (s ListBarGroupOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListBarGroupOKApplicationJSON as json.
func (ListBarGroupOKApplicationJSON) MarshalJSON ¶
func (s ListBarGroupOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBarGroupOKApplicationJSON) UnmarshalJSON ¶
func (s *ListBarGroupOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListBarGroupOKApplicationJSON) Validate ¶
func (s ListBarGroupOKApplicationJSON) Validate() error
type ListBarGroupParams ¶
type ListBarGroupParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListBarGroupParams is parameters of listBarGroup operation.
type ListBarGroupRecordsOKApplicationJSON ¶
type ListBarGroupRecordsOKApplicationJSON []BarGroupRecordsList
func (*ListBarGroupRecordsOKApplicationJSON) Decode ¶
func (s *ListBarGroupRecordsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListBarGroupRecordsOKApplicationJSON from json.
func (ListBarGroupRecordsOKApplicationJSON) Encode ¶
func (s ListBarGroupRecordsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListBarGroupRecordsOKApplicationJSON as json.
func (ListBarGroupRecordsOKApplicationJSON) MarshalJSON ¶
func (s ListBarGroupRecordsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBarGroupRecordsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListBarGroupRecordsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListBarGroupRecordsOKApplicationJSON) Validate ¶
func (s ListBarGroupRecordsOKApplicationJSON) Validate() error
type ListBarGroupRecordsParams ¶
type ListBarGroupRecordsParams struct { // ID of the BarGroup. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListBarGroupRecordsParams is parameters of listBarGroupRecords operation.
type ListBarGroupRecordsRes ¶
type ListBarGroupRecordsRes interface {
// contains filtered or unexported methods
}
type ListBarGroupRes ¶
type ListBarGroupRes interface {
// contains filtered or unexported methods
}
type ListBarRecordOKApplicationJSON ¶
type ListBarRecordOKApplicationJSON []BarRecordList
func (*ListBarRecordOKApplicationJSON) Decode ¶
func (s *ListBarRecordOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListBarRecordOKApplicationJSON from json.
func (ListBarRecordOKApplicationJSON) Encode ¶
func (s ListBarRecordOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListBarRecordOKApplicationJSON as json.
func (ListBarRecordOKApplicationJSON) MarshalJSON ¶
func (s ListBarRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBarRecordOKApplicationJSON) UnmarshalJSON ¶
func (s *ListBarRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListBarRecordOKApplicationJSON) Validate ¶
func (s ListBarRecordOKApplicationJSON) Validate() error
type ListBarRecordParams ¶
type ListBarRecordParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListBarRecordParams is parameters of listBarRecord operation.
type ListBarRecordRes ¶
type ListBarRecordRes interface {
// contains filtered or unexported methods
}
type ListBarTimeRangeGroupsOKApplicationJSON ¶
type ListBarTimeRangeGroupsOKApplicationJSON []BarTimeRangeGroupsList
func (*ListBarTimeRangeGroupsOKApplicationJSON) Decode ¶
func (s *ListBarTimeRangeGroupsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListBarTimeRangeGroupsOKApplicationJSON from json.
func (ListBarTimeRangeGroupsOKApplicationJSON) Encode ¶
func (s ListBarTimeRangeGroupsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListBarTimeRangeGroupsOKApplicationJSON as json.
func (ListBarTimeRangeGroupsOKApplicationJSON) MarshalJSON ¶
func (s ListBarTimeRangeGroupsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBarTimeRangeGroupsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListBarTimeRangeGroupsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListBarTimeRangeGroupsOKApplicationJSON) Validate ¶
func (s ListBarTimeRangeGroupsOKApplicationJSON) Validate() error
type ListBarTimeRangeGroupsParams ¶
type ListBarTimeRangeGroupsParams struct { // ID of the BarTimeRange. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListBarTimeRangeGroupsParams is parameters of listBarTimeRangeGroups operation.
type ListBarTimeRangeGroupsRes ¶
type ListBarTimeRangeGroupsRes interface {
// contains filtered or unexported methods
}
type ListBarTimeRangeOKApplicationJSON ¶
type ListBarTimeRangeOKApplicationJSON []BarTimeRangeList
func (*ListBarTimeRangeOKApplicationJSON) Decode ¶
func (s *ListBarTimeRangeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListBarTimeRangeOKApplicationJSON from json.
func (ListBarTimeRangeOKApplicationJSON) Encode ¶
func (s ListBarTimeRangeOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListBarTimeRangeOKApplicationJSON as json.
func (ListBarTimeRangeOKApplicationJSON) MarshalJSON ¶
func (s ListBarTimeRangeOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBarTimeRangeOKApplicationJSON) UnmarshalJSON ¶
func (s *ListBarTimeRangeOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListBarTimeRangeOKApplicationJSON) Validate ¶
func (s ListBarTimeRangeOKApplicationJSON) Validate() error
type ListBarTimeRangeParams ¶
type ListBarTimeRangeParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListBarTimeRangeParams is parameters of listBarTimeRange operation.
type ListBarTimeRangeRes ¶
type ListBarTimeRangeRes interface {
// contains filtered or unexported methods
}
type ListDataSourceIntervalsOKApplicationJSON ¶
type ListDataSourceIntervalsOKApplicationJSON []DataSourceIntervalsList
func (*ListDataSourceIntervalsOKApplicationJSON) Decode ¶
func (s *ListDataSourceIntervalsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListDataSourceIntervalsOKApplicationJSON from json.
func (ListDataSourceIntervalsOKApplicationJSON) Encode ¶
func (s ListDataSourceIntervalsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListDataSourceIntervalsOKApplicationJSON as json.
func (ListDataSourceIntervalsOKApplicationJSON) MarshalJSON ¶
func (s ListDataSourceIntervalsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListDataSourceIntervalsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListDataSourceIntervalsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListDataSourceIntervalsOKApplicationJSON) Validate ¶
func (s ListDataSourceIntervalsOKApplicationJSON) Validate() error
type ListDataSourceIntervalsParams ¶
type ListDataSourceIntervalsParams struct { // ID of the DataSource. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListDataSourceIntervalsParams is parameters of listDataSourceIntervals operation.
type ListDataSourceIntervalsRes ¶
type ListDataSourceIntervalsRes interface {
// contains filtered or unexported methods
}
type ListDataSourceOKApplicationJSON ¶
type ListDataSourceOKApplicationJSON []DataSourceList
func (*ListDataSourceOKApplicationJSON) Decode ¶
func (s *ListDataSourceOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListDataSourceOKApplicationJSON from json.
func (ListDataSourceOKApplicationJSON) Encode ¶
func (s ListDataSourceOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListDataSourceOKApplicationJSON as json.
func (ListDataSourceOKApplicationJSON) MarshalJSON ¶
func (s ListDataSourceOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListDataSourceOKApplicationJSON) UnmarshalJSON ¶
func (s *ListDataSourceOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListDataSourceOKApplicationJSON) Validate ¶
func (s ListDataSourceOKApplicationJSON) Validate() error
type ListDataSourceParams ¶
type ListDataSourceParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListDataSourceParams is parameters of listDataSource operation.
type ListDataSourceRes ¶
type ListDataSourceRes interface {
// contains filtered or unexported methods
}
type ListDividendOKApplicationJSON ¶
type ListDividendOKApplicationJSON []DividendList
func (*ListDividendOKApplicationJSON) Decode ¶
func (s *ListDividendOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListDividendOKApplicationJSON from json.
func (ListDividendOKApplicationJSON) Encode ¶
func (s ListDividendOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListDividendOKApplicationJSON as json.
func (ListDividendOKApplicationJSON) MarshalJSON ¶
func (s ListDividendOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListDividendOKApplicationJSON) UnmarshalJSON ¶
func (s *ListDividendOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListDividendOKApplicationJSON) Validate ¶
func (s ListDividendOKApplicationJSON) Validate() error
type ListDividendParams ¶
type ListDividendParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListDividendParams is parameters of listDividend operation.
type ListDividendRes ¶
type ListDividendRes interface {
// contains filtered or unexported methods
}
type ListDividendStockOKApplicationJSON ¶
type ListDividendStockOKApplicationJSON []DividendStockList
func (*ListDividendStockOKApplicationJSON) Decode ¶
func (s *ListDividendStockOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListDividendStockOKApplicationJSON from json.
func (ListDividendStockOKApplicationJSON) Encode ¶
func (s ListDividendStockOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListDividendStockOKApplicationJSON as json.
func (ListDividendStockOKApplicationJSON) MarshalJSON ¶
func (s ListDividendStockOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListDividendStockOKApplicationJSON) UnmarshalJSON ¶
func (s *ListDividendStockOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListDividendStockOKApplicationJSON) Validate ¶
func (s ListDividendStockOKApplicationJSON) Validate() error
type ListDividendStockParams ¶
type ListDividendStockParams struct { // ID of the Dividend. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListDividendStockParams is parameters of listDividendStock operation.
type ListDividendStockRes ¶
type ListDividendStockRes interface {
// contains filtered or unexported methods
}
type ListEntityDividendsOKApplicationJSON ¶
type ListEntityDividendsOKApplicationJSON []EntityDividendsList
func (*ListEntityDividendsOKApplicationJSON) Decode ¶
func (s *ListEntityDividendsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntityDividendsOKApplicationJSON from json.
func (ListEntityDividendsOKApplicationJSON) Encode ¶
func (s ListEntityDividendsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntityDividendsOKApplicationJSON as json.
func (ListEntityDividendsOKApplicationJSON) MarshalJSON ¶
func (s ListEntityDividendsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntityDividendsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntityDividendsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntityDividendsOKApplicationJSON) Validate ¶
func (s ListEntityDividendsOKApplicationJSON) Validate() error
type ListEntityDividendsParams ¶
type ListEntityDividendsParams struct { // ID of the Entity. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntityDividendsParams is parameters of listEntityDividends operation.
type ListEntityDividendsRes ¶
type ListEntityDividendsRes interface {
// contains filtered or unexported methods
}
type ListEntityExchangesOKApplicationJSON ¶
type ListEntityExchangesOKApplicationJSON []EntityExchangesList
func (*ListEntityExchangesOKApplicationJSON) Decode ¶
func (s *ListEntityExchangesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntityExchangesOKApplicationJSON from json.
func (ListEntityExchangesOKApplicationJSON) Encode ¶
func (s ListEntityExchangesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntityExchangesOKApplicationJSON as json.
func (ListEntityExchangesOKApplicationJSON) MarshalJSON ¶
func (s ListEntityExchangesOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntityExchangesOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntityExchangesOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntityExchangesOKApplicationJSON) Validate ¶
func (s ListEntityExchangesOKApplicationJSON) Validate() error
type ListEntityExchangesParams ¶
type ListEntityExchangesParams struct { // ID of the Entity. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntityExchangesParams is parameters of listEntityExchanges operation.
type ListEntityExchangesRes ¶
type ListEntityExchangesRes interface {
// contains filtered or unexported methods
}
type ListEntityFinancialsOKApplicationJSON ¶
type ListEntityFinancialsOKApplicationJSON []EntityFinancialsList
func (*ListEntityFinancialsOKApplicationJSON) Decode ¶
func (s *ListEntityFinancialsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntityFinancialsOKApplicationJSON from json.
func (ListEntityFinancialsOKApplicationJSON) Encode ¶
func (s ListEntityFinancialsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntityFinancialsOKApplicationJSON as json.
func (ListEntityFinancialsOKApplicationJSON) MarshalJSON ¶
func (s ListEntityFinancialsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntityFinancialsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntityFinancialsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntityFinancialsOKApplicationJSON) Validate ¶
func (s ListEntityFinancialsOKApplicationJSON) Validate() error
type ListEntityFinancialsParams ¶
type ListEntityFinancialsParams struct { // ID of the Entity. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntityFinancialsParams is parameters of listEntityFinancials operation.
type ListEntityFinancialsRes ¶
type ListEntityFinancialsRes interface {
// contains filtered or unexported methods
}
type ListEntityIntervalsOKApplicationJSON ¶
type ListEntityIntervalsOKApplicationJSON []EntityIntervalsList
func (*ListEntityIntervalsOKApplicationJSON) Decode ¶
func (s *ListEntityIntervalsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntityIntervalsOKApplicationJSON from json.
func (ListEntityIntervalsOKApplicationJSON) Encode ¶
func (s ListEntityIntervalsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntityIntervalsOKApplicationJSON as json.
func (ListEntityIntervalsOKApplicationJSON) MarshalJSON ¶
func (s ListEntityIntervalsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntityIntervalsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntityIntervalsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntityIntervalsOKApplicationJSON) Validate ¶
func (s ListEntityIntervalsOKApplicationJSON) Validate() error
type ListEntityIntervalsParams ¶
type ListEntityIntervalsParams struct { // ID of the Entity. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntityIntervalsParams is parameters of listEntityIntervals operation.
type ListEntityIntervalsRes ¶
type ListEntityIntervalsRes interface {
// contains filtered or unexported methods
}
type ListEntityOKApplicationJSON ¶
type ListEntityOKApplicationJSON []EntityList
func (*ListEntityOKApplicationJSON) Decode ¶
func (s *ListEntityOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntityOKApplicationJSON from json.
func (ListEntityOKApplicationJSON) Encode ¶
func (s ListEntityOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntityOKApplicationJSON as json.
func (ListEntityOKApplicationJSON) MarshalJSON ¶
func (s ListEntityOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntityOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntityOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntityOKApplicationJSON) Validate ¶
func (s ListEntityOKApplicationJSON) Validate() error
type ListEntityParams ¶
type ListEntityParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntityParams is parameters of listEntity operation.
type ListEntityRes ¶
type ListEntityRes interface {
// contains filtered or unexported methods
}
type ListEntitySplitsOKApplicationJSON ¶
type ListEntitySplitsOKApplicationJSON []EntitySplitsList
func (*ListEntitySplitsOKApplicationJSON) Decode ¶
func (s *ListEntitySplitsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListEntitySplitsOKApplicationJSON from json.
func (ListEntitySplitsOKApplicationJSON) Encode ¶
func (s ListEntitySplitsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListEntitySplitsOKApplicationJSON as json.
func (ListEntitySplitsOKApplicationJSON) MarshalJSON ¶
func (s ListEntitySplitsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListEntitySplitsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListEntitySplitsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListEntitySplitsOKApplicationJSON) Validate ¶
func (s ListEntitySplitsOKApplicationJSON) Validate() error
type ListEntitySplitsParams ¶
type ListEntitySplitsParams struct { // ID of the Entity. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListEntitySplitsParams is parameters of listEntitySplits operation.
type ListEntitySplitsRes ¶
type ListEntitySplitsRes interface {
// contains filtered or unexported methods
}
type ListExchangeOKApplicationJSON ¶
type ListExchangeOKApplicationJSON []ExchangeList
func (*ListExchangeOKApplicationJSON) Decode ¶
func (s *ListExchangeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListExchangeOKApplicationJSON from json.
func (ListExchangeOKApplicationJSON) Encode ¶
func (s ListExchangeOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListExchangeOKApplicationJSON as json.
func (ListExchangeOKApplicationJSON) MarshalJSON ¶
func (s ListExchangeOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListExchangeOKApplicationJSON) UnmarshalJSON ¶
func (s *ListExchangeOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListExchangeOKApplicationJSON) Validate ¶
func (s ListExchangeOKApplicationJSON) Validate() error
type ListExchangeParams ¶
type ListExchangeParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListExchangeParams is parameters of listExchange operation.
type ListExchangeRes ¶
type ListExchangeRes interface {
// contains filtered or unexported methods
}
type ListExchangeStocksOKApplicationJSON ¶
type ListExchangeStocksOKApplicationJSON []ExchangeStocksList
func (*ListExchangeStocksOKApplicationJSON) Decode ¶
func (s *ListExchangeStocksOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListExchangeStocksOKApplicationJSON from json.
func (ListExchangeStocksOKApplicationJSON) Encode ¶
func (s ListExchangeStocksOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListExchangeStocksOKApplicationJSON as json.
func (ListExchangeStocksOKApplicationJSON) MarshalJSON ¶
func (s ListExchangeStocksOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListExchangeStocksOKApplicationJSON) UnmarshalJSON ¶
func (s *ListExchangeStocksOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListExchangeStocksOKApplicationJSON) Validate ¶
func (s ListExchangeStocksOKApplicationJSON) Validate() error
type ListExchangeStocksParams ¶
type ListExchangeStocksParams struct { // ID of the Exchange. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListExchangeStocksParams is parameters of listExchangeStocks operation.
type ListExchangeStocksRes ¶
type ListExchangeStocksRes interface {
// contains filtered or unexported methods
}
type ListFinancialOKApplicationJSON ¶
type ListFinancialOKApplicationJSON []FinancialList
func (*ListFinancialOKApplicationJSON) Decode ¶
func (s *ListFinancialOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListFinancialOKApplicationJSON from json.
func (ListFinancialOKApplicationJSON) Encode ¶
func (s ListFinancialOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListFinancialOKApplicationJSON as json.
func (ListFinancialOKApplicationJSON) MarshalJSON ¶
func (s ListFinancialOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListFinancialOKApplicationJSON) UnmarshalJSON ¶
func (s *ListFinancialOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListFinancialOKApplicationJSON) Validate ¶
func (s ListFinancialOKApplicationJSON) Validate() error
type ListFinancialParams ¶
type ListFinancialParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListFinancialParams is parameters of listFinancial operation.
type ListFinancialRes ¶
type ListFinancialRes interface {
// contains filtered or unexported methods
}
type ListFinancialStockOKApplicationJSON ¶
type ListFinancialStockOKApplicationJSON []FinancialStockList
func (*ListFinancialStockOKApplicationJSON) Decode ¶
func (s *ListFinancialStockOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListFinancialStockOKApplicationJSON from json.
func (ListFinancialStockOKApplicationJSON) Encode ¶
func (s ListFinancialStockOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListFinancialStockOKApplicationJSON as json.
func (ListFinancialStockOKApplicationJSON) MarshalJSON ¶
func (s ListFinancialStockOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListFinancialStockOKApplicationJSON) UnmarshalJSON ¶
func (s *ListFinancialStockOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListFinancialStockOKApplicationJSON) Validate ¶
func (s ListFinancialStockOKApplicationJSON) Validate() error
type ListFinancialStockParams ¶
type ListFinancialStockParams struct { // ID of the Financial. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListFinancialStockParams is parameters of listFinancialStock operation.
type ListFinancialStockRes ¶
type ListFinancialStockRes interface {
// contains filtered or unexported methods
}
type ListIntervalBarsOKApplicationJSON ¶
type ListIntervalBarsOKApplicationJSON []IntervalBarsList
func (*ListIntervalBarsOKApplicationJSON) Decode ¶
func (s *ListIntervalBarsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListIntervalBarsOKApplicationJSON from json.
func (ListIntervalBarsOKApplicationJSON) Encode ¶
func (s ListIntervalBarsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListIntervalBarsOKApplicationJSON as json.
func (ListIntervalBarsOKApplicationJSON) MarshalJSON ¶
func (s ListIntervalBarsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListIntervalBarsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListIntervalBarsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListIntervalBarsOKApplicationJSON) Validate ¶
func (s ListIntervalBarsOKApplicationJSON) Validate() error
type ListIntervalBarsParams ¶
type ListIntervalBarsParams struct { // ID of the Interval. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListIntervalBarsParams is parameters of listIntervalBars operation.
type ListIntervalBarsRes ¶
type ListIntervalBarsRes interface {
// contains filtered or unexported methods
}
type ListIntervalOKApplicationJSON ¶
type ListIntervalOKApplicationJSON []IntervalList
func (*ListIntervalOKApplicationJSON) Decode ¶
func (s *ListIntervalOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListIntervalOKApplicationJSON from json.
func (ListIntervalOKApplicationJSON) Encode ¶
func (s ListIntervalOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListIntervalOKApplicationJSON as json.
func (ListIntervalOKApplicationJSON) MarshalJSON ¶
func (s ListIntervalOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListIntervalOKApplicationJSON) UnmarshalJSON ¶
func (s *ListIntervalOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListIntervalOKApplicationJSON) Validate ¶
func (s ListIntervalOKApplicationJSON) Validate() error
type ListIntervalParams ¶
type ListIntervalParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListIntervalParams is parameters of listInterval operation.
type ListIntervalRes ¶
type ListIntervalRes interface {
// contains filtered or unexported methods
}
type ListIntervalTradesOKApplicationJSON ¶
type ListIntervalTradesOKApplicationJSON []IntervalTradesList
func (*ListIntervalTradesOKApplicationJSON) Decode ¶
func (s *ListIntervalTradesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListIntervalTradesOKApplicationJSON from json.
func (ListIntervalTradesOKApplicationJSON) Encode ¶
func (s ListIntervalTradesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListIntervalTradesOKApplicationJSON as json.
func (ListIntervalTradesOKApplicationJSON) MarshalJSON ¶
func (s ListIntervalTradesOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListIntervalTradesOKApplicationJSON) UnmarshalJSON ¶
func (s *ListIntervalTradesOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListIntervalTradesOKApplicationJSON) Validate ¶
func (s ListIntervalTradesOKApplicationJSON) Validate() error
type ListIntervalTradesParams ¶
type ListIntervalTradesParams struct { // ID of the Interval. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListIntervalTradesParams is parameters of listIntervalTrades operation.
type ListIntervalTradesRes ¶
type ListIntervalTradesRes interface {
// contains filtered or unexported methods
}
type ListMarketHoursOKApplicationJSON ¶
type ListMarketHoursOKApplicationJSON []MarketHoursList
func (*ListMarketHoursOKApplicationJSON) Decode ¶
func (s *ListMarketHoursOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMarketHoursOKApplicationJSON from json.
func (ListMarketHoursOKApplicationJSON) Encode ¶
func (s ListMarketHoursOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMarketHoursOKApplicationJSON as json.
func (ListMarketHoursOKApplicationJSON) MarshalJSON ¶
func (s ListMarketHoursOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMarketHoursOKApplicationJSON) UnmarshalJSON ¶
func (s *ListMarketHoursOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListMarketHoursOKApplicationJSON) Validate ¶
func (s ListMarketHoursOKApplicationJSON) Validate() error
type ListMarketHoursParams ¶
type ListMarketHoursParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListMarketHoursParams is parameters of listMarketHours operation.
type ListMarketHoursRes ¶
type ListMarketHoursRes interface {
// contains filtered or unexported methods
}
type ListMarketInfoHoursOKApplicationJSON ¶
type ListMarketInfoHoursOKApplicationJSON []MarketInfoHoursList
func (*ListMarketInfoHoursOKApplicationJSON) Decode ¶
func (s *ListMarketInfoHoursOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMarketInfoHoursOKApplicationJSON from json.
func (ListMarketInfoHoursOKApplicationJSON) Encode ¶
func (s ListMarketInfoHoursOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMarketInfoHoursOKApplicationJSON as json.
func (ListMarketInfoHoursOKApplicationJSON) MarshalJSON ¶
func (s ListMarketInfoHoursOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMarketInfoHoursOKApplicationJSON) UnmarshalJSON ¶
func (s *ListMarketInfoHoursOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListMarketInfoHoursOKApplicationJSON) Validate ¶
func (s ListMarketInfoHoursOKApplicationJSON) Validate() error
type ListMarketInfoHoursParams ¶
type ListMarketInfoHoursParams struct { // ID of the MarketInfo. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListMarketInfoHoursParams is parameters of listMarketInfoHours operation.
type ListMarketInfoHoursRes ¶
type ListMarketInfoHoursRes interface {
// contains filtered or unexported methods
}
type ListMarketInfoOKApplicationJSON ¶
type ListMarketInfoOKApplicationJSON []MarketInfoList
func (*ListMarketInfoOKApplicationJSON) Decode ¶
func (s *ListMarketInfoOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMarketInfoOKApplicationJSON from json.
func (ListMarketInfoOKApplicationJSON) Encode ¶
func (s ListMarketInfoOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMarketInfoOKApplicationJSON as json.
func (ListMarketInfoOKApplicationJSON) MarshalJSON ¶
func (s ListMarketInfoOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMarketInfoOKApplicationJSON) UnmarshalJSON ¶
func (s *ListMarketInfoOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListMarketInfoOKApplicationJSON) Validate ¶
func (s ListMarketInfoOKApplicationJSON) Validate() error
type ListMarketInfoParams ¶
type ListMarketInfoParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListMarketInfoParams is parameters of listMarketInfo operation.
type ListMarketInfoRes ¶
type ListMarketInfoRes interface {
// contains filtered or unexported methods
}
type ListSplitOKApplicationJSON ¶
type ListSplitOKApplicationJSON []SplitList
func (*ListSplitOKApplicationJSON) Decode ¶
func (s *ListSplitOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListSplitOKApplicationJSON from json.
func (ListSplitOKApplicationJSON) Encode ¶
func (s ListSplitOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListSplitOKApplicationJSON as json.
func (ListSplitOKApplicationJSON) MarshalJSON ¶
func (s ListSplitOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListSplitOKApplicationJSON) UnmarshalJSON ¶
func (s *ListSplitOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListSplitOKApplicationJSON) Validate ¶
func (s ListSplitOKApplicationJSON) Validate() error
type ListSplitParams ¶
type ListSplitParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListSplitParams is parameters of listSplit operation.
type ListSplitRes ¶
type ListSplitRes interface {
// contains filtered or unexported methods
}
type ListTradeConditionOKApplicationJSON ¶
type ListTradeConditionOKApplicationJSON []TradeConditionList
func (*ListTradeConditionOKApplicationJSON) Decode ¶
func (s *ListTradeConditionOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeConditionOKApplicationJSON from json.
func (ListTradeConditionOKApplicationJSON) Encode ¶
func (s ListTradeConditionOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeConditionOKApplicationJSON as json.
func (ListTradeConditionOKApplicationJSON) MarshalJSON ¶
func (s ListTradeConditionOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeConditionOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeConditionOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeConditionOKApplicationJSON) Validate ¶
func (s ListTradeConditionOKApplicationJSON) Validate() error
type ListTradeConditionParams ¶
type ListTradeConditionParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeConditionParams is parameters of listTradeCondition operation.
type ListTradeConditionRecordOKApplicationJSON ¶
type ListTradeConditionRecordOKApplicationJSON []TradeConditionRecordList
func (*ListTradeConditionRecordOKApplicationJSON) Decode ¶
func (s *ListTradeConditionRecordOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeConditionRecordOKApplicationJSON from json.
func (ListTradeConditionRecordOKApplicationJSON) Encode ¶
func (s ListTradeConditionRecordOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeConditionRecordOKApplicationJSON as json.
func (ListTradeConditionRecordOKApplicationJSON) MarshalJSON ¶
func (s ListTradeConditionRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeConditionRecordOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeConditionRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeConditionRecordOKApplicationJSON) Validate ¶
func (s ListTradeConditionRecordOKApplicationJSON) Validate() error
type ListTradeConditionRecordParams ¶
type ListTradeConditionRecordParams struct { // ID of the TradeCondition. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeConditionRecordParams is parameters of listTradeConditionRecord operation.
type ListTradeConditionRecordRes ¶
type ListTradeConditionRecordRes interface {
// contains filtered or unexported methods
}
type ListTradeConditionRes ¶
type ListTradeConditionRes interface {
// contains filtered or unexported methods
}
type ListTradeCorrectionOKApplicationJSON ¶
type ListTradeCorrectionOKApplicationJSON []TradeCorrectionList
func (*ListTradeCorrectionOKApplicationJSON) Decode ¶
func (s *ListTradeCorrectionOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeCorrectionOKApplicationJSON from json.
func (ListTradeCorrectionOKApplicationJSON) Encode ¶
func (s ListTradeCorrectionOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeCorrectionOKApplicationJSON as json.
func (ListTradeCorrectionOKApplicationJSON) MarshalJSON ¶
func (s ListTradeCorrectionOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeCorrectionOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeCorrectionOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeCorrectionOKApplicationJSON) Validate ¶
func (s ListTradeCorrectionOKApplicationJSON) Validate() error
type ListTradeCorrectionParams ¶
type ListTradeCorrectionParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeCorrectionParams is parameters of listTradeCorrection operation.
type ListTradeCorrectionRecordOKApplicationJSON ¶
type ListTradeCorrectionRecordOKApplicationJSON []TradeCorrectionRecordList
func (*ListTradeCorrectionRecordOKApplicationJSON) Decode ¶
func (s *ListTradeCorrectionRecordOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeCorrectionRecordOKApplicationJSON from json.
func (ListTradeCorrectionRecordOKApplicationJSON) Encode ¶
func (s ListTradeCorrectionRecordOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeCorrectionRecordOKApplicationJSON as json.
func (ListTradeCorrectionRecordOKApplicationJSON) MarshalJSON ¶
func (s ListTradeCorrectionRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeCorrectionRecordOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeCorrectionRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeCorrectionRecordOKApplicationJSON) Validate ¶
func (s ListTradeCorrectionRecordOKApplicationJSON) Validate() error
type ListTradeCorrectionRecordParams ¶
type ListTradeCorrectionRecordParams struct { // ID of the TradeCorrection. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeCorrectionRecordParams is parameters of listTradeCorrectionRecord operation.
type ListTradeCorrectionRecordRes ¶
type ListTradeCorrectionRecordRes interface {
// contains filtered or unexported methods
}
type ListTradeCorrectionRes ¶
type ListTradeCorrectionRes interface {
// contains filtered or unexported methods
}
type ListTradeRecordConditionsOKApplicationJSON ¶
type ListTradeRecordConditionsOKApplicationJSON []TradeRecordConditionsList
func (*ListTradeRecordConditionsOKApplicationJSON) Decode ¶
func (s *ListTradeRecordConditionsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeRecordConditionsOKApplicationJSON from json.
func (ListTradeRecordConditionsOKApplicationJSON) Encode ¶
func (s ListTradeRecordConditionsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeRecordConditionsOKApplicationJSON as json.
func (ListTradeRecordConditionsOKApplicationJSON) MarshalJSON ¶
func (s ListTradeRecordConditionsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeRecordConditionsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeRecordConditionsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeRecordConditionsOKApplicationJSON) Validate ¶
func (s ListTradeRecordConditionsOKApplicationJSON) Validate() error
type ListTradeRecordConditionsParams ¶
type ListTradeRecordConditionsParams struct { // ID of the TradeRecord. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeRecordConditionsParams is parameters of listTradeRecordConditions operation.
type ListTradeRecordConditionsRes ¶
type ListTradeRecordConditionsRes interface {
// contains filtered or unexported methods
}
type ListTradeRecordCorrectionOKApplicationJSON ¶
type ListTradeRecordCorrectionOKApplicationJSON []TradeRecordCorrectionList
func (*ListTradeRecordCorrectionOKApplicationJSON) Decode ¶
func (s *ListTradeRecordCorrectionOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeRecordCorrectionOKApplicationJSON from json.
func (ListTradeRecordCorrectionOKApplicationJSON) Encode ¶
func (s ListTradeRecordCorrectionOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeRecordCorrectionOKApplicationJSON as json.
func (ListTradeRecordCorrectionOKApplicationJSON) MarshalJSON ¶
func (s ListTradeRecordCorrectionOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeRecordCorrectionOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeRecordCorrectionOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeRecordCorrectionOKApplicationJSON) Validate ¶
func (s ListTradeRecordCorrectionOKApplicationJSON) Validate() error
type ListTradeRecordCorrectionParams ¶
type ListTradeRecordCorrectionParams struct { // ID of the TradeRecord. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeRecordCorrectionParams is parameters of listTradeRecordCorrection operation.
type ListTradeRecordCorrectionRes ¶
type ListTradeRecordCorrectionRes interface {
// contains filtered or unexported methods
}
type ListTradeRecordExchangeOKApplicationJSON ¶
type ListTradeRecordExchangeOKApplicationJSON []TradeRecordExchangeList
func (*ListTradeRecordExchangeOKApplicationJSON) Decode ¶
func (s *ListTradeRecordExchangeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeRecordExchangeOKApplicationJSON from json.
func (ListTradeRecordExchangeOKApplicationJSON) Encode ¶
func (s ListTradeRecordExchangeOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeRecordExchangeOKApplicationJSON as json.
func (ListTradeRecordExchangeOKApplicationJSON) MarshalJSON ¶
func (s ListTradeRecordExchangeOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeRecordExchangeOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeRecordExchangeOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeRecordExchangeOKApplicationJSON) Validate ¶
func (s ListTradeRecordExchangeOKApplicationJSON) Validate() error
type ListTradeRecordExchangeParams ¶
type ListTradeRecordExchangeParams struct { // ID of the TradeRecord. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeRecordExchangeParams is parameters of listTradeRecordExchange operation.
type ListTradeRecordExchangeRes ¶
type ListTradeRecordExchangeRes interface {
// contains filtered or unexported methods
}
type ListTradeRecordOKApplicationJSON ¶
type ListTradeRecordOKApplicationJSON []TradeRecordList
func (*ListTradeRecordOKApplicationJSON) Decode ¶
func (s *ListTradeRecordOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeRecordOKApplicationJSON from json.
func (ListTradeRecordOKApplicationJSON) Encode ¶
func (s ListTradeRecordOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeRecordOKApplicationJSON as json.
func (ListTradeRecordOKApplicationJSON) MarshalJSON ¶
func (s ListTradeRecordOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeRecordOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeRecordOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeRecordOKApplicationJSON) Validate ¶
func (s ListTradeRecordOKApplicationJSON) Validate() error
type ListTradeRecordParams ¶
type ListTradeRecordParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeRecordParams is parameters of listTradeRecord operation.
type ListTradeRecordRes ¶
type ListTradeRecordRes interface {
// contains filtered or unexported methods
}
type ListTradeTimeRangeOKApplicationJSON ¶
type ListTradeTimeRangeOKApplicationJSON []TradeTimeRangeList
func (*ListTradeTimeRangeOKApplicationJSON) Decode ¶
func (s *ListTradeTimeRangeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeTimeRangeOKApplicationJSON from json.
func (ListTradeTimeRangeOKApplicationJSON) Encode ¶
func (s ListTradeTimeRangeOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeTimeRangeOKApplicationJSON as json.
func (ListTradeTimeRangeOKApplicationJSON) MarshalJSON ¶
func (s ListTradeTimeRangeOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeTimeRangeOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeTimeRangeOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeTimeRangeOKApplicationJSON) Validate ¶
func (s ListTradeTimeRangeOKApplicationJSON) Validate() error
type ListTradeTimeRangeParams ¶
type ListTradeTimeRangeParams struct { // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeTimeRangeParams is parameters of listTradeTimeRange operation.
type ListTradeTimeRangeRecordsOKApplicationJSON ¶
type ListTradeTimeRangeRecordsOKApplicationJSON []TradeTimeRangeRecordsList
func (*ListTradeTimeRangeRecordsOKApplicationJSON) Decode ¶
func (s *ListTradeTimeRangeRecordsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListTradeTimeRangeRecordsOKApplicationJSON from json.
func (ListTradeTimeRangeRecordsOKApplicationJSON) Encode ¶
func (s ListTradeTimeRangeRecordsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListTradeTimeRangeRecordsOKApplicationJSON as json.
func (ListTradeTimeRangeRecordsOKApplicationJSON) MarshalJSON ¶
func (s ListTradeTimeRangeRecordsOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListTradeTimeRangeRecordsOKApplicationJSON) UnmarshalJSON ¶
func (s *ListTradeTimeRangeRecordsOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListTradeTimeRangeRecordsOKApplicationJSON) Validate ¶
func (s ListTradeTimeRangeRecordsOKApplicationJSON) Validate() error
type ListTradeTimeRangeRecordsParams ¶
type ListTradeTimeRangeRecordsParams struct { // ID of the TradeTimeRange. ID int // What page to render. Page OptInt // Item count to render per page. ItemsPerPage OptInt }
ListTradeTimeRangeRecordsParams is parameters of listTradeTimeRangeRecords operation.
type ListTradeTimeRangeRecordsRes ¶
type ListTradeTimeRangeRecordsRes interface {
// contains filtered or unexported methods
}
type ListTradeTimeRangeRes ¶
type ListTradeTimeRangeRes interface {
// contains filtered or unexported methods
}
type MarketHoursCreate ¶
type MarketHoursCreate struct { ID int `json:"id"` Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
Ref: #/components/schemas/MarketHoursCreate
func NewMarketHoursCreate ¶
func NewMarketHoursCreate(e *ent.MarketHours) *MarketHoursCreate
func NewMarketHoursCreates ¶
func NewMarketHoursCreates(es []*ent.MarketHours) []MarketHoursCreate
func (*MarketHoursCreate) Decode ¶
func (s *MarketHoursCreate) Decode(d *jx.Decoder) error
Decode decodes MarketHoursCreate from json.
func (*MarketHoursCreate) Elem ¶
func (mh *MarketHoursCreate) Elem() MarketHoursCreate
func (*MarketHoursCreate) Encode ¶
func (s *MarketHoursCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketHoursCreate) GetDate ¶
func (s *MarketHoursCreate) GetDate() time.Time
GetDate returns the value of Date.
func (*MarketHoursCreate) GetEndTime ¶
func (s *MarketHoursCreate) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*MarketHoursCreate) GetID ¶
func (s *MarketHoursCreate) GetID() int
GetID returns the value of ID.
func (*MarketHoursCreate) GetStartTime ¶
func (s *MarketHoursCreate) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*MarketHoursCreate) MarshalJSON ¶
func (s *MarketHoursCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketHoursCreate) SetDate ¶
func (s *MarketHoursCreate) SetDate(val time.Time)
SetDate sets the value of Date.
func (*MarketHoursCreate) SetEndTime ¶
func (s *MarketHoursCreate) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*MarketHoursCreate) SetID ¶
func (s *MarketHoursCreate) SetID(val int)
SetID sets the value of ID.
func (*MarketHoursCreate) SetStartTime ¶
func (s *MarketHoursCreate) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*MarketHoursCreate) UnmarshalJSON ¶
func (s *MarketHoursCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketHoursList ¶
type MarketHoursList struct { ID int `json:"id"` Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
Ref: #/components/schemas/MarketHoursList
func NewMarketHoursList ¶
func NewMarketHoursList(e *ent.MarketHours) *MarketHoursList
func NewMarketHoursLists ¶
func NewMarketHoursLists(es []*ent.MarketHours) []MarketHoursList
func (*MarketHoursList) Decode ¶
func (s *MarketHoursList) Decode(d *jx.Decoder) error
Decode decodes MarketHoursList from json.
func (*MarketHoursList) Elem ¶
func (mh *MarketHoursList) Elem() MarketHoursList
func (*MarketHoursList) Encode ¶
func (s *MarketHoursList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketHoursList) GetDate ¶
func (s *MarketHoursList) GetDate() time.Time
GetDate returns the value of Date.
func (*MarketHoursList) GetEndTime ¶
func (s *MarketHoursList) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*MarketHoursList) GetID ¶
func (s *MarketHoursList) GetID() int
GetID returns the value of ID.
func (*MarketHoursList) GetStartTime ¶
func (s *MarketHoursList) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*MarketHoursList) MarshalJSON ¶
func (s *MarketHoursList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketHoursList) SetDate ¶
func (s *MarketHoursList) SetDate(val time.Time)
SetDate sets the value of Date.
func (*MarketHoursList) SetEndTime ¶
func (s *MarketHoursList) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*MarketHoursList) SetID ¶
func (s *MarketHoursList) SetID(val int)
SetID sets the value of ID.
func (*MarketHoursList) SetStartTime ¶
func (s *MarketHoursList) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*MarketHoursList) UnmarshalJSON ¶
func (s *MarketHoursList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketHoursMarketInfoRead ¶
type MarketHoursMarketInfoRead struct { ID int `json:"id"` HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` }
Ref: #/components/schemas/MarketHours_MarketInfoRead
func NewMarketHoursMarketInfoRead ¶
func NewMarketHoursMarketInfoRead(e *ent.MarketInfo) *MarketHoursMarketInfoRead
func NewMarketHoursMarketInfoReads ¶
func NewMarketHoursMarketInfoReads(es []*ent.MarketInfo) []MarketHoursMarketInfoRead
func (*MarketHoursMarketInfoRead) Decode ¶
func (s *MarketHoursMarketInfoRead) Decode(d *jx.Decoder) error
Decode decodes MarketHoursMarketInfoRead from json.
func (*MarketHoursMarketInfoRead) Elem ¶
func (mi *MarketHoursMarketInfoRead) Elem() MarketHoursMarketInfoRead
func (*MarketHoursMarketInfoRead) Encode ¶
func (s *MarketHoursMarketInfoRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketHoursMarketInfoRead) GetHoursEnd ¶
func (s *MarketHoursMarketInfoRead) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*MarketHoursMarketInfoRead) GetHoursStart ¶
func (s *MarketHoursMarketInfoRead) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*MarketHoursMarketInfoRead) GetID ¶
func (s *MarketHoursMarketInfoRead) GetID() int
GetID returns the value of ID.
func (*MarketHoursMarketInfoRead) MarshalJSON ¶
func (s *MarketHoursMarketInfoRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketHoursMarketInfoRead) SetHoursEnd ¶
func (s *MarketHoursMarketInfoRead) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*MarketHoursMarketInfoRead) SetHoursStart ¶
func (s *MarketHoursMarketInfoRead) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*MarketHoursMarketInfoRead) SetID ¶
func (s *MarketHoursMarketInfoRead) SetID(val int)
SetID sets the value of ID.
func (*MarketHoursMarketInfoRead) UnmarshalJSON ¶
func (s *MarketHoursMarketInfoRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketHoursRead ¶
type MarketHoursRead struct { ID int `json:"id"` Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
Ref: #/components/schemas/MarketHoursRead
func NewMarketHoursRead ¶
func NewMarketHoursRead(e *ent.MarketHours) *MarketHoursRead
func NewMarketHoursReads ¶
func NewMarketHoursReads(es []*ent.MarketHours) []MarketHoursRead
func (*MarketHoursRead) Decode ¶
func (s *MarketHoursRead) Decode(d *jx.Decoder) error
Decode decodes MarketHoursRead from json.
func (*MarketHoursRead) Elem ¶
func (mh *MarketHoursRead) Elem() MarketHoursRead
func (*MarketHoursRead) Encode ¶
func (s *MarketHoursRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketHoursRead) GetDate ¶
func (s *MarketHoursRead) GetDate() time.Time
GetDate returns the value of Date.
func (*MarketHoursRead) GetEndTime ¶
func (s *MarketHoursRead) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*MarketHoursRead) GetID ¶
func (s *MarketHoursRead) GetID() int
GetID returns the value of ID.
func (*MarketHoursRead) GetStartTime ¶
func (s *MarketHoursRead) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*MarketHoursRead) MarshalJSON ¶
func (s *MarketHoursRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketHoursRead) SetDate ¶
func (s *MarketHoursRead) SetDate(val time.Time)
SetDate sets the value of Date.
func (*MarketHoursRead) SetEndTime ¶
func (s *MarketHoursRead) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*MarketHoursRead) SetID ¶
func (s *MarketHoursRead) SetID(val int)
SetID sets the value of ID.
func (*MarketHoursRead) SetStartTime ¶
func (s *MarketHoursRead) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*MarketHoursRead) UnmarshalJSON ¶
func (s *MarketHoursRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketHoursUpdate ¶
type MarketHoursUpdate struct { ID int `json:"id"` Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
Ref: #/components/schemas/MarketHoursUpdate
func NewMarketHoursUpdate ¶
func NewMarketHoursUpdate(e *ent.MarketHours) *MarketHoursUpdate
func NewMarketHoursUpdates ¶
func NewMarketHoursUpdates(es []*ent.MarketHours) []MarketHoursUpdate
func (*MarketHoursUpdate) Decode ¶
func (s *MarketHoursUpdate) Decode(d *jx.Decoder) error
Decode decodes MarketHoursUpdate from json.
func (*MarketHoursUpdate) Elem ¶
func (mh *MarketHoursUpdate) Elem() MarketHoursUpdate
func (*MarketHoursUpdate) Encode ¶
func (s *MarketHoursUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketHoursUpdate) GetDate ¶
func (s *MarketHoursUpdate) GetDate() time.Time
GetDate returns the value of Date.
func (*MarketHoursUpdate) GetEndTime ¶
func (s *MarketHoursUpdate) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*MarketHoursUpdate) GetID ¶
func (s *MarketHoursUpdate) GetID() int
GetID returns the value of ID.
func (*MarketHoursUpdate) GetStartTime ¶
func (s *MarketHoursUpdate) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*MarketHoursUpdate) MarshalJSON ¶
func (s *MarketHoursUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketHoursUpdate) SetDate ¶
func (s *MarketHoursUpdate) SetDate(val time.Time)
SetDate sets the value of Date.
func (*MarketHoursUpdate) SetEndTime ¶
func (s *MarketHoursUpdate) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*MarketHoursUpdate) SetID ¶
func (s *MarketHoursUpdate) SetID(val int)
SetID sets the value of ID.
func (*MarketHoursUpdate) SetStartTime ¶
func (s *MarketHoursUpdate) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*MarketHoursUpdate) UnmarshalJSON ¶
func (s *MarketHoursUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketInfoCreate ¶
type MarketInfoCreate struct { ID int `json:"id"` HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` }
Ref: #/components/schemas/MarketInfoCreate
func NewMarketInfoCreate ¶
func NewMarketInfoCreate(e *ent.MarketInfo) *MarketInfoCreate
func NewMarketInfoCreates ¶
func NewMarketInfoCreates(es []*ent.MarketInfo) []MarketInfoCreate
func (*MarketInfoCreate) Decode ¶
func (s *MarketInfoCreate) Decode(d *jx.Decoder) error
Decode decodes MarketInfoCreate from json.
func (*MarketInfoCreate) Elem ¶
func (mi *MarketInfoCreate) Elem() MarketInfoCreate
func (*MarketInfoCreate) Encode ¶
func (s *MarketInfoCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketInfoCreate) GetHoursEnd ¶
func (s *MarketInfoCreate) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*MarketInfoCreate) GetHoursStart ¶
func (s *MarketInfoCreate) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*MarketInfoCreate) GetID ¶
func (s *MarketInfoCreate) GetID() int
GetID returns the value of ID.
func (*MarketInfoCreate) MarshalJSON ¶
func (s *MarketInfoCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketInfoCreate) SetHoursEnd ¶
func (s *MarketInfoCreate) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*MarketInfoCreate) SetHoursStart ¶
func (s *MarketInfoCreate) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*MarketInfoCreate) SetID ¶
func (s *MarketInfoCreate) SetID(val int)
SetID sets the value of ID.
func (*MarketInfoCreate) UnmarshalJSON ¶
func (s *MarketInfoCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketInfoHoursList ¶
type MarketInfoHoursList struct { ID int `json:"id"` Date time.Time `json:"date"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
Ref: #/components/schemas/MarketInfo_HoursList
func NewMarketInfoHoursList ¶
func NewMarketInfoHoursList(e *ent.MarketHours) *MarketInfoHoursList
func NewMarketInfoHoursLists ¶
func NewMarketInfoHoursLists(es []*ent.MarketHours) []MarketInfoHoursList
func (*MarketInfoHoursList) Decode ¶
func (s *MarketInfoHoursList) Decode(d *jx.Decoder) error
Decode decodes MarketInfoHoursList from json.
func (*MarketInfoHoursList) Elem ¶
func (mh *MarketInfoHoursList) Elem() MarketInfoHoursList
func (*MarketInfoHoursList) Encode ¶
func (s *MarketInfoHoursList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketInfoHoursList) GetDate ¶
func (s *MarketInfoHoursList) GetDate() time.Time
GetDate returns the value of Date.
func (*MarketInfoHoursList) GetEndTime ¶
func (s *MarketInfoHoursList) GetEndTime() time.Time
GetEndTime returns the value of EndTime.
func (*MarketInfoHoursList) GetID ¶
func (s *MarketInfoHoursList) GetID() int
GetID returns the value of ID.
func (*MarketInfoHoursList) GetStartTime ¶
func (s *MarketInfoHoursList) GetStartTime() time.Time
GetStartTime returns the value of StartTime.
func (*MarketInfoHoursList) MarshalJSON ¶
func (s *MarketInfoHoursList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketInfoHoursList) SetDate ¶
func (s *MarketInfoHoursList) SetDate(val time.Time)
SetDate sets the value of Date.
func (*MarketInfoHoursList) SetEndTime ¶
func (s *MarketInfoHoursList) SetEndTime(val time.Time)
SetEndTime sets the value of EndTime.
func (*MarketInfoHoursList) SetID ¶
func (s *MarketInfoHoursList) SetID(val int)
SetID sets the value of ID.
func (*MarketInfoHoursList) SetStartTime ¶
func (s *MarketInfoHoursList) SetStartTime(val time.Time)
SetStartTime sets the value of StartTime.
func (*MarketInfoHoursList) UnmarshalJSON ¶
func (s *MarketInfoHoursList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketInfoList ¶
type MarketInfoList struct { ID int `json:"id"` HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` }
Ref: #/components/schemas/MarketInfoList
func NewMarketInfoList ¶
func NewMarketInfoList(e *ent.MarketInfo) *MarketInfoList
func NewMarketInfoLists ¶
func NewMarketInfoLists(es []*ent.MarketInfo) []MarketInfoList
func (*MarketInfoList) Decode ¶
func (s *MarketInfoList) Decode(d *jx.Decoder) error
Decode decodes MarketInfoList from json.
func (*MarketInfoList) Elem ¶
func (mi *MarketInfoList) Elem() MarketInfoList
func (*MarketInfoList) Encode ¶
func (s *MarketInfoList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketInfoList) GetHoursEnd ¶
func (s *MarketInfoList) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*MarketInfoList) GetHoursStart ¶
func (s *MarketInfoList) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*MarketInfoList) MarshalJSON ¶
func (s *MarketInfoList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketInfoList) SetHoursEnd ¶
func (s *MarketInfoList) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*MarketInfoList) SetHoursStart ¶
func (s *MarketInfoList) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*MarketInfoList) UnmarshalJSON ¶
func (s *MarketInfoList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketInfoRead ¶
type MarketInfoRead struct { ID int `json:"id"` HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` }
Ref: #/components/schemas/MarketInfoRead
func NewMarketInfoRead ¶
func NewMarketInfoRead(e *ent.MarketInfo) *MarketInfoRead
func NewMarketInfoReads ¶
func NewMarketInfoReads(es []*ent.MarketInfo) []MarketInfoRead
func (*MarketInfoRead) Decode ¶
func (s *MarketInfoRead) Decode(d *jx.Decoder) error
Decode decodes MarketInfoRead from json.
func (*MarketInfoRead) Elem ¶
func (mi *MarketInfoRead) Elem() MarketInfoRead
func (*MarketInfoRead) Encode ¶
func (s *MarketInfoRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketInfoRead) GetHoursEnd ¶
func (s *MarketInfoRead) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*MarketInfoRead) GetHoursStart ¶
func (s *MarketInfoRead) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*MarketInfoRead) MarshalJSON ¶
func (s *MarketInfoRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketInfoRead) SetHoursEnd ¶
func (s *MarketInfoRead) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*MarketInfoRead) SetHoursStart ¶
func (s *MarketInfoRead) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*MarketInfoRead) UnmarshalJSON ¶
func (s *MarketInfoRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MarketInfoUpdate ¶
type MarketInfoUpdate struct { ID int `json:"id"` HoursStart time.Time `json:"hours_start"` HoursEnd time.Time `json:"hours_end"` }
Ref: #/components/schemas/MarketInfoUpdate
func NewMarketInfoUpdate ¶
func NewMarketInfoUpdate(e *ent.MarketInfo) *MarketInfoUpdate
func NewMarketInfoUpdates ¶
func NewMarketInfoUpdates(es []*ent.MarketInfo) []MarketInfoUpdate
func (*MarketInfoUpdate) Decode ¶
func (s *MarketInfoUpdate) Decode(d *jx.Decoder) error
Decode decodes MarketInfoUpdate from json.
func (*MarketInfoUpdate) Elem ¶
func (mi *MarketInfoUpdate) Elem() MarketInfoUpdate
func (*MarketInfoUpdate) Encode ¶
func (s *MarketInfoUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MarketInfoUpdate) GetHoursEnd ¶
func (s *MarketInfoUpdate) GetHoursEnd() time.Time
GetHoursEnd returns the value of HoursEnd.
func (*MarketInfoUpdate) GetHoursStart ¶
func (s *MarketInfoUpdate) GetHoursStart() time.Time
GetHoursStart returns the value of HoursStart.
func (*MarketInfoUpdate) GetID ¶
func (s *MarketInfoUpdate) GetID() int
GetID returns the value of ID.
func (*MarketInfoUpdate) MarshalJSON ¶
func (s *MarketInfoUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MarketInfoUpdate) SetHoursEnd ¶
func (s *MarketInfoUpdate) SetHoursEnd(val time.Time)
SetHoursEnd sets the value of HoursEnd.
func (*MarketInfoUpdate) SetHoursStart ¶
func (s *MarketInfoUpdate) SetHoursStart(val time.Time)
SetHoursStart sets the value of HoursStart.
func (*MarketInfoUpdate) SetID ¶
func (s *MarketInfoUpdate) SetID(val int)
SetID sets the value of ID.
func (*MarketInfoUpdate) UnmarshalJSON ¶
func (s *MarketInfoUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OgentHandler ¶
type OgentHandler struct {
// contains filtered or unexported fields
}
OgentHandler implements the ogen generated Handler interface and uses Ent as data layer.
func NewOgentHandler ¶
func NewOgentHandler(c *ent.Client) *OgentHandler
NewOgentHandler returns a new OgentHandler.
func (*OgentHandler) CreateBarGroup ¶
func (h *OgentHandler) CreateBarGroup(ctx context.Context, req *CreateBarGroupReq) (CreateBarGroupRes, error)
CreateBarGroup handles POST /bar-groups requests.
func (*OgentHandler) CreateBarRecord ¶
func (h *OgentHandler) CreateBarRecord(ctx context.Context, req *CreateBarRecordReq) (CreateBarRecordRes, error)
CreateBarRecord handles POST /bar-records requests.
func (*OgentHandler) CreateBarTimeRange ¶
func (h *OgentHandler) CreateBarTimeRange(ctx context.Context, req *CreateBarTimeRangeReq) (CreateBarTimeRangeRes, error)
CreateBarTimeRange handles POST /bar-time-ranges requests.
func (*OgentHandler) CreateDataSource ¶
func (h *OgentHandler) CreateDataSource(ctx context.Context, req *CreateDataSourceReq) (CreateDataSourceRes, error)
CreateDataSource handles POST /data-sources requests.
func (*OgentHandler) CreateDividend ¶
func (h *OgentHandler) CreateDividend(ctx context.Context, req *CreateDividendReq) (CreateDividendRes, error)
CreateDividend handles POST /dividends requests.
func (*OgentHandler) CreateEntity ¶
func (h *OgentHandler) CreateEntity(ctx context.Context, req *CreateEntityReq) (CreateEntityRes, error)
CreateEntity handles POST /entities requests.
func (*OgentHandler) CreateExchange ¶
func (h *OgentHandler) CreateExchange(ctx context.Context, req *CreateExchangeReq) (CreateExchangeRes, error)
CreateExchange handles POST /exchanges requests.
func (*OgentHandler) CreateFinancial ¶
func (h *OgentHandler) CreateFinancial(ctx context.Context, req *CreateFinancialReq) (CreateFinancialRes, error)
CreateFinancial handles POST /financials requests.
func (*OgentHandler) CreateInterval ¶
func (h *OgentHandler) CreateInterval(ctx context.Context, req *CreateIntervalReq) (CreateIntervalRes, error)
CreateInterval handles POST /intervals requests.
func (*OgentHandler) CreateMarketHours ¶
func (h *OgentHandler) CreateMarketHours(ctx context.Context, req *CreateMarketHoursReq) (CreateMarketHoursRes, error)
CreateMarketHours handles POST /market-hours-slice requests.
func (*OgentHandler) CreateMarketInfo ¶
func (h *OgentHandler) CreateMarketInfo(ctx context.Context, req *CreateMarketInfoReq) (CreateMarketInfoRes, error)
CreateMarketInfo handles POST /market-infos requests.
func (*OgentHandler) CreateSplit ¶
func (h *OgentHandler) CreateSplit(ctx context.Context, req *CreateSplitReq) (CreateSplitRes, error)
CreateSplit handles POST /splits requests.
func (*OgentHandler) CreateTradeCondition ¶
func (h *OgentHandler) CreateTradeCondition(ctx context.Context, req *CreateTradeConditionReq) (CreateTradeConditionRes, error)
CreateTradeCondition handles POST /trade-conditions requests.
func (*OgentHandler) CreateTradeCorrection ¶
func (h *OgentHandler) CreateTradeCorrection(ctx context.Context, req *CreateTradeCorrectionReq) (CreateTradeCorrectionRes, error)
CreateTradeCorrection handles POST /trade-corrections requests.
func (*OgentHandler) CreateTradeRecord ¶
func (h *OgentHandler) CreateTradeRecord(ctx context.Context, req *CreateTradeRecordReq) (CreateTradeRecordRes, error)
CreateTradeRecord handles POST /trade-records requests.
func (*OgentHandler) CreateTradeTimeRange ¶
func (h *OgentHandler) CreateTradeTimeRange(ctx context.Context, req *CreateTradeTimeRangeReq) (CreateTradeTimeRangeRes, error)
CreateTradeTimeRange handles POST /trade-time-ranges requests.
func (*OgentHandler) DeleteBarGroup ¶
func (h *OgentHandler) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (DeleteBarGroupRes, error)
DeleteBarGroup handles DELETE /bar-groups/{id} requests.
func (*OgentHandler) DeleteBarRecord ¶
func (h *OgentHandler) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (DeleteBarRecordRes, error)
DeleteBarRecord handles DELETE /bar-records/{id} requests.
func (*OgentHandler) DeleteBarTimeRange ¶
func (h *OgentHandler) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (DeleteBarTimeRangeRes, error)
DeleteBarTimeRange handles DELETE /bar-time-ranges/{id} requests.
func (*OgentHandler) DeleteDataSource ¶
func (h *OgentHandler) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (DeleteDataSourceRes, error)
DeleteDataSource handles DELETE /data-sources/{id} requests.
func (*OgentHandler) DeleteDividend ¶
func (h *OgentHandler) DeleteDividend(ctx context.Context, params DeleteDividendParams) (DeleteDividendRes, error)
DeleteDividend handles DELETE /dividends/{id} requests.
func (*OgentHandler) DeleteEntity ¶
func (h *OgentHandler) DeleteEntity(ctx context.Context, params DeleteEntityParams) (DeleteEntityRes, error)
DeleteEntity handles DELETE /entities/{id} requests.
func (*OgentHandler) DeleteExchange ¶
func (h *OgentHandler) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (DeleteExchangeRes, error)
DeleteExchange handles DELETE /exchanges/{id} requests.
func (*OgentHandler) DeleteFinancial ¶
func (h *OgentHandler) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (DeleteFinancialRes, error)
DeleteFinancial handles DELETE /financials/{id} requests.
func (*OgentHandler) DeleteInterval ¶
func (h *OgentHandler) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (DeleteIntervalRes, error)
DeleteInterval handles DELETE /intervals/{id} requests.
func (*OgentHandler) DeleteMarketHours ¶
func (h *OgentHandler) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (DeleteMarketHoursRes, error)
DeleteMarketHours handles DELETE /market-hours-slice/{id} requests.
func (*OgentHandler) DeleteMarketInfo ¶
func (h *OgentHandler) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (DeleteMarketInfoRes, error)
DeleteMarketInfo handles DELETE /market-infos/{id} requests.
func (*OgentHandler) DeleteSplit ¶
func (h *OgentHandler) DeleteSplit(ctx context.Context, params DeleteSplitParams) (DeleteSplitRes, error)
DeleteSplit handles DELETE /splits/{id} requests.
func (*OgentHandler) DeleteTradeCondition ¶
func (h *OgentHandler) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (DeleteTradeConditionRes, error)
DeleteTradeCondition handles DELETE /trade-conditions/{id} requests.
func (*OgentHandler) DeleteTradeCorrection ¶
func (h *OgentHandler) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (DeleteTradeCorrectionRes, error)
DeleteTradeCorrection handles DELETE /trade-corrections/{id} requests.
func (*OgentHandler) DeleteTradeRecord ¶
func (h *OgentHandler) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (DeleteTradeRecordRes, error)
DeleteTradeRecord handles DELETE /trade-records/{id} requests.
func (*OgentHandler) DeleteTradeTimeRange ¶
func (h *OgentHandler) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (DeleteTradeTimeRangeRes, error)
DeleteTradeTimeRange handles DELETE /trade-time-ranges/{id} requests.
func (*OgentHandler) ListBarGroup ¶
func (h *OgentHandler) ListBarGroup(ctx context.Context, params ListBarGroupParams) (ListBarGroupRes, error)
ListBarGroup handles GET /bar-groups requests.
func (*OgentHandler) ListBarGroupRecords ¶
func (h *OgentHandler) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (ListBarGroupRecordsRes, error)
ListBarGroupRecords handles GET /bar-groups/{id}/records requests.
func (*OgentHandler) ListBarRecord ¶
func (h *OgentHandler) ListBarRecord(ctx context.Context, params ListBarRecordParams) (ListBarRecordRes, error)
ListBarRecord handles GET /bar-records requests.
func (*OgentHandler) ListBarTimeRange ¶
func (h *OgentHandler) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (ListBarTimeRangeRes, error)
ListBarTimeRange handles GET /bar-time-ranges requests.
func (*OgentHandler) ListBarTimeRangeGroups ¶
func (h *OgentHandler) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (ListBarTimeRangeGroupsRes, error)
ListBarTimeRangeGroups handles GET /bar-time-ranges/{id}/groups requests.
func (*OgentHandler) ListDataSource ¶
func (h *OgentHandler) ListDataSource(ctx context.Context, params ListDataSourceParams) (ListDataSourceRes, error)
ListDataSource handles GET /data-sources requests.
func (*OgentHandler) ListDataSourceIntervals ¶
func (h *OgentHandler) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (ListDataSourceIntervalsRes, error)
ListDataSourceIntervals handles GET /data-sources/{id}/intervals requests.
func (*OgentHandler) ListDividend ¶
func (h *OgentHandler) ListDividend(ctx context.Context, params ListDividendParams) (ListDividendRes, error)
ListDividend handles GET /dividends requests.
func (*OgentHandler) ListDividendStock ¶
func (h *OgentHandler) ListDividendStock(ctx context.Context, params ListDividendStockParams) (ListDividendStockRes, error)
ListDividendStock handles GET /dividends/{id}/stock requests.
func (*OgentHandler) ListEntity ¶
func (h *OgentHandler) ListEntity(ctx context.Context, params ListEntityParams) (ListEntityRes, error)
ListEntity handles GET /entities requests.
func (*OgentHandler) ListEntityDividends ¶
func (h *OgentHandler) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (ListEntityDividendsRes, error)
ListEntityDividends handles GET /entities/{id}/dividends requests.
func (*OgentHandler) ListEntityExchanges ¶
func (h *OgentHandler) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (ListEntityExchangesRes, error)
ListEntityExchanges handles GET /entities/{id}/exchanges requests.
func (*OgentHandler) ListEntityFinancials ¶
func (h *OgentHandler) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (ListEntityFinancialsRes, error)
ListEntityFinancials handles GET /entities/{id}/financials requests.
func (*OgentHandler) ListEntityIntervals ¶
func (h *OgentHandler) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (ListEntityIntervalsRes, error)
ListEntityIntervals handles GET /entities/{id}/intervals requests.
func (*OgentHandler) ListEntitySplits ¶
func (h *OgentHandler) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (ListEntitySplitsRes, error)
ListEntitySplits handles GET /entities/{id}/splits requests.
func (*OgentHandler) ListExchange ¶
func (h *OgentHandler) ListExchange(ctx context.Context, params ListExchangeParams) (ListExchangeRes, error)
ListExchange handles GET /exchanges requests.
func (*OgentHandler) ListExchangeStocks ¶
func (h *OgentHandler) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (ListExchangeStocksRes, error)
ListExchangeStocks handles GET /exchanges/{id}/stocks requests.
func (*OgentHandler) ListFinancial ¶
func (h *OgentHandler) ListFinancial(ctx context.Context, params ListFinancialParams) (ListFinancialRes, error)
ListFinancial handles GET /financials requests.
func (*OgentHandler) ListFinancialStock ¶
func (h *OgentHandler) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (ListFinancialStockRes, error)
ListFinancialStock handles GET /financials/{id}/stock requests.
func (*OgentHandler) ListInterval ¶
func (h *OgentHandler) ListInterval(ctx context.Context, params ListIntervalParams) (ListIntervalRes, error)
ListInterval handles GET /intervals requests.
func (*OgentHandler) ListIntervalBars ¶
func (h *OgentHandler) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (ListIntervalBarsRes, error)
ListIntervalBars handles GET /intervals/{id}/bars requests.
func (*OgentHandler) ListIntervalTrades ¶
func (h *OgentHandler) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (ListIntervalTradesRes, error)
ListIntervalTrades handles GET /intervals/{id}/trades requests.
func (*OgentHandler) ListMarketHours ¶
func (h *OgentHandler) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (ListMarketHoursRes, error)
ListMarketHours handles GET /market-hours-slice requests.
func (*OgentHandler) ListMarketInfo ¶
func (h *OgentHandler) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (ListMarketInfoRes, error)
ListMarketInfo handles GET /market-infos requests.
func (*OgentHandler) ListMarketInfoHours ¶
func (h *OgentHandler) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (ListMarketInfoHoursRes, error)
ListMarketInfoHours handles GET /market-infos/{id}/hours requests.
func (*OgentHandler) ListSplit ¶
func (h *OgentHandler) ListSplit(ctx context.Context, params ListSplitParams) (ListSplitRes, error)
ListSplit handles GET /splits requests.
func (*OgentHandler) ListTradeCondition ¶
func (h *OgentHandler) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (ListTradeConditionRes, error)
ListTradeCondition handles GET /trade-conditions requests.
func (*OgentHandler) ListTradeConditionRecord ¶
func (h *OgentHandler) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (ListTradeConditionRecordRes, error)
ListTradeConditionRecord handles GET /trade-conditions/{id}/record requests.
func (*OgentHandler) ListTradeCorrection ¶
func (h *OgentHandler) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (ListTradeCorrectionRes, error)
ListTradeCorrection handles GET /trade-corrections requests.
func (*OgentHandler) ListTradeCorrectionRecord ¶
func (h *OgentHandler) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (ListTradeCorrectionRecordRes, error)
ListTradeCorrectionRecord handles GET /trade-corrections/{id}/record requests.
func (*OgentHandler) ListTradeRecord ¶
func (h *OgentHandler) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (ListTradeRecordRes, error)
ListTradeRecord handles GET /trade-records requests.
func (*OgentHandler) ListTradeRecordConditions ¶
func (h *OgentHandler) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (ListTradeRecordConditionsRes, error)
ListTradeRecordConditions handles GET /trade-records/{id}/conditions requests.
func (*OgentHandler) ListTradeRecordCorrection ¶
func (h *OgentHandler) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (ListTradeRecordCorrectionRes, error)
ListTradeRecordCorrection handles GET /trade-records/{id}/correction requests.
func (*OgentHandler) ListTradeRecordExchange ¶
func (h *OgentHandler) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (ListTradeRecordExchangeRes, error)
ListTradeRecordExchange handles GET /trade-records/{id}/exchange requests.
func (*OgentHandler) ListTradeTimeRange ¶
func (h *OgentHandler) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (ListTradeTimeRangeRes, error)
ListTradeTimeRange handles GET /trade-time-ranges requests.
func (*OgentHandler) ListTradeTimeRangeRecords ¶
func (h *OgentHandler) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (ListTradeTimeRangeRecordsRes, error)
ListTradeTimeRangeRecords handles GET /trade-time-ranges/{id}/records requests.
func (*OgentHandler) ReadBarGroup ¶
func (h *OgentHandler) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (ReadBarGroupRes, error)
ReadBarGroup handles GET /bar-groups/{id} requests.
func (*OgentHandler) ReadBarGroupTimeRange ¶
func (h *OgentHandler) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (ReadBarGroupTimeRangeRes, error)
ReadBarGroupTimeRange handles GET /bar-groups/{id}/time-range requests.
func (*OgentHandler) ReadBarRecord ¶
func (h *OgentHandler) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (ReadBarRecordRes, error)
ReadBarRecord handles GET /bar-records/{id} requests.
func (*OgentHandler) ReadBarRecordGroup ¶
func (h *OgentHandler) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (ReadBarRecordGroupRes, error)
ReadBarRecordGroup handles GET /bar-records/{id}/group requests.
func (*OgentHandler) ReadBarTimeRange ¶
func (h *OgentHandler) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (ReadBarTimeRangeRes, error)
ReadBarTimeRange handles GET /bar-time-ranges/{id} requests.
func (*OgentHandler) ReadBarTimeRangeInterval ¶
func (h *OgentHandler) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (ReadBarTimeRangeIntervalRes, error)
ReadBarTimeRangeInterval handles GET /bar-time-ranges/{id}/interval requests.
func (*OgentHandler) ReadDataSource ¶
func (h *OgentHandler) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (ReadDataSourceRes, error)
ReadDataSource handles GET /data-sources/{id} requests.
func (*OgentHandler) ReadDividend ¶
func (h *OgentHandler) ReadDividend(ctx context.Context, params ReadDividendParams) (ReadDividendRes, error)
ReadDividend handles GET /dividends/{id} requests.
func (*OgentHandler) ReadEntity ¶
func (h *OgentHandler) ReadEntity(ctx context.Context, params ReadEntityParams) (ReadEntityRes, error)
ReadEntity handles GET /entities/{id} requests.
func (*OgentHandler) ReadExchange ¶
func (h *OgentHandler) ReadExchange(ctx context.Context, params ReadExchangeParams) (ReadExchangeRes, error)
ReadExchange handles GET /exchanges/{id} requests.
func (*OgentHandler) ReadFinancial ¶
func (h *OgentHandler) ReadFinancial(ctx context.Context, params ReadFinancialParams) (ReadFinancialRes, error)
ReadFinancial handles GET /financials/{id} requests.
func (*OgentHandler) ReadInterval ¶
func (h *OgentHandler) ReadInterval(ctx context.Context, params ReadIntervalParams) (ReadIntervalRes, error)
ReadInterval handles GET /intervals/{id} requests.
func (*OgentHandler) ReadIntervalDataSource ¶
func (h *OgentHandler) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (ReadIntervalDataSourceRes, error)
ReadIntervalDataSource handles GET /intervals/{id}/data-source requests.
func (*OgentHandler) ReadIntervalStock ¶
func (h *OgentHandler) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (ReadIntervalStockRes, error)
ReadIntervalStock handles GET /intervals/{id}/stock requests.
func (*OgentHandler) ReadMarketHours ¶
func (h *OgentHandler) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (ReadMarketHoursRes, error)
ReadMarketHours handles GET /market-hours-slice/{id} requests.
func (*OgentHandler) ReadMarketHoursMarketInfo ¶
func (h *OgentHandler) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (ReadMarketHoursMarketInfoRes, error)
ReadMarketHoursMarketInfo handles GET /market-hours-slice/{id}/market-info requests.
func (*OgentHandler) ReadMarketInfo ¶
func (h *OgentHandler) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (ReadMarketInfoRes, error)
ReadMarketInfo handles GET /market-infos/{id} requests.
func (*OgentHandler) ReadSplit ¶
func (h *OgentHandler) ReadSplit(ctx context.Context, params ReadSplitParams) (ReadSplitRes, error)
ReadSplit handles GET /splits/{id} requests.
func (*OgentHandler) ReadSplitStock ¶
func (h *OgentHandler) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (ReadSplitStockRes, error)
ReadSplitStock handles GET /splits/{id}/stock requests.
func (*OgentHandler) ReadTradeCondition ¶
func (h *OgentHandler) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (ReadTradeConditionRes, error)
ReadTradeCondition handles GET /trade-conditions/{id} requests.
func (*OgentHandler) ReadTradeCorrection ¶
func (h *OgentHandler) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (ReadTradeCorrectionRes, error)
ReadTradeCorrection handles GET /trade-corrections/{id} requests.
func (*OgentHandler) ReadTradeRecord ¶
func (h *OgentHandler) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (ReadTradeRecordRes, error)
ReadTradeRecord handles GET /trade-records/{id} requests.
func (*OgentHandler) ReadTradeRecordTimeRange ¶
func (h *OgentHandler) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (ReadTradeRecordTimeRangeRes, error)
ReadTradeRecordTimeRange handles GET /trade-records/{id}/time-range requests.
func (*OgentHandler) ReadTradeTimeRange ¶
func (h *OgentHandler) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (ReadTradeTimeRangeRes, error)
ReadTradeTimeRange handles GET /trade-time-ranges/{id} requests.
func (*OgentHandler) ReadTradeTimeRangeInterval ¶
func (h *OgentHandler) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (ReadTradeTimeRangeIntervalRes, error)
ReadTradeTimeRangeInterval handles GET /trade-time-ranges/{id}/interval requests.
func (*OgentHandler) UpdateBarGroup ¶
func (h *OgentHandler) UpdateBarGroup(ctx context.Context, req *UpdateBarGroupReq, params UpdateBarGroupParams) (UpdateBarGroupRes, error)
UpdateBarGroup handles PATCH /bar-groups/{id} requests.
func (*OgentHandler) UpdateBarRecord ¶
func (h *OgentHandler) UpdateBarRecord(ctx context.Context, req *UpdateBarRecordReq, params UpdateBarRecordParams) (UpdateBarRecordRes, error)
UpdateBarRecord handles PATCH /bar-records/{id} requests.
func (*OgentHandler) UpdateBarTimeRange ¶
func (h *OgentHandler) UpdateBarTimeRange(ctx context.Context, req *UpdateBarTimeRangeReq, params UpdateBarTimeRangeParams) (UpdateBarTimeRangeRes, error)
UpdateBarTimeRange handles PATCH /bar-time-ranges/{id} requests.
func (*OgentHandler) UpdateDataSource ¶
func (h *OgentHandler) UpdateDataSource(ctx context.Context, req *UpdateDataSourceReq, params UpdateDataSourceParams) (UpdateDataSourceRes, error)
UpdateDataSource handles PATCH /data-sources/{id} requests.
func (*OgentHandler) UpdateDividend ¶
func (h *OgentHandler) UpdateDividend(ctx context.Context, req *UpdateDividendReq, params UpdateDividendParams) (UpdateDividendRes, error)
UpdateDividend handles PATCH /dividends/{id} requests.
func (*OgentHandler) UpdateEntity ¶
func (h *OgentHandler) UpdateEntity(ctx context.Context, req *UpdateEntityReq, params UpdateEntityParams) (UpdateEntityRes, error)
UpdateEntity handles PATCH /entities/{id} requests.
func (*OgentHandler) UpdateExchange ¶
func (h *OgentHandler) UpdateExchange(ctx context.Context, req *UpdateExchangeReq, params UpdateExchangeParams) (UpdateExchangeRes, error)
UpdateExchange handles PATCH /exchanges/{id} requests.
func (*OgentHandler) UpdateFinancial ¶
func (h *OgentHandler) UpdateFinancial(ctx context.Context, req *UpdateFinancialReq, params UpdateFinancialParams) (UpdateFinancialRes, error)
UpdateFinancial handles PATCH /financials/{id} requests.
func (*OgentHandler) UpdateInterval ¶
func (h *OgentHandler) UpdateInterval(ctx context.Context, req *UpdateIntervalReq, params UpdateIntervalParams) (UpdateIntervalRes, error)
UpdateInterval handles PATCH /intervals/{id} requests.
func (*OgentHandler) UpdateMarketHours ¶
func (h *OgentHandler) UpdateMarketHours(ctx context.Context, req *UpdateMarketHoursReq, params UpdateMarketHoursParams) (UpdateMarketHoursRes, error)
UpdateMarketHours handles PATCH /market-hours-slice/{id} requests.
func (*OgentHandler) UpdateMarketInfo ¶
func (h *OgentHandler) UpdateMarketInfo(ctx context.Context, req *UpdateMarketInfoReq, params UpdateMarketInfoParams) (UpdateMarketInfoRes, error)
UpdateMarketInfo handles PATCH /market-infos/{id} requests.
func (*OgentHandler) UpdateSplit ¶
func (h *OgentHandler) UpdateSplit(ctx context.Context, req *UpdateSplitReq, params UpdateSplitParams) (UpdateSplitRes, error)
UpdateSplit handles PATCH /splits/{id} requests.
func (*OgentHandler) UpdateTradeCondition ¶
func (h *OgentHandler) UpdateTradeCondition(ctx context.Context, req *UpdateTradeConditionReq, params UpdateTradeConditionParams) (UpdateTradeConditionRes, error)
UpdateTradeCondition handles PATCH /trade-conditions/{id} requests.
func (*OgentHandler) UpdateTradeCorrection ¶
func (h *OgentHandler) UpdateTradeCorrection(ctx context.Context, req *UpdateTradeCorrectionReq, params UpdateTradeCorrectionParams) (UpdateTradeCorrectionRes, error)
UpdateTradeCorrection handles PATCH /trade-corrections/{id} requests.
func (*OgentHandler) UpdateTradeRecord ¶
func (h *OgentHandler) UpdateTradeRecord(ctx context.Context, req *UpdateTradeRecordReq, params UpdateTradeRecordParams) (UpdateTradeRecordRes, error)
UpdateTradeRecord handles PATCH /trade-records/{id} requests.
func (*OgentHandler) UpdateTradeTimeRange ¶
func (h *OgentHandler) UpdateTradeTimeRange(ctx context.Context, req *UpdateTradeTimeRangeReq, params UpdateTradeTimeRangeParams) (UpdateTradeTimeRangeRes, error)
UpdateTradeTimeRange handles PATCH /trade-time-ranges/{id} requests.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
OptFloat64 is optional float64.
func NewOptFloat64 ¶
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateBarTimeRangeReqStatus ¶
type OptUpdateBarTimeRangeReqStatus struct { Value UpdateBarTimeRangeReqStatus Set bool }
OptUpdateBarTimeRangeReqStatus is optional UpdateBarTimeRangeReqStatus.
func NewOptUpdateBarTimeRangeReqStatus ¶
func NewOptUpdateBarTimeRangeReqStatus(v UpdateBarTimeRangeReqStatus) OptUpdateBarTimeRangeReqStatus
NewOptUpdateBarTimeRangeReqStatus returns new OptUpdateBarTimeRangeReqStatus with value set to v.
func (*OptUpdateBarTimeRangeReqStatus) Decode ¶
func (o *OptUpdateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
Decode decodes UpdateBarTimeRangeReqStatus from json.
func (OptUpdateBarTimeRangeReqStatus) Encode ¶
func (o OptUpdateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
Encode encodes UpdateBarTimeRangeReqStatus as json.
func (OptUpdateBarTimeRangeReqStatus) Get ¶
func (o OptUpdateBarTimeRangeReqStatus) Get() (v UpdateBarTimeRangeReqStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateBarTimeRangeReqStatus) IsSet ¶
func (o OptUpdateBarTimeRangeReqStatus) IsSet() bool
IsSet returns true if OptUpdateBarTimeRangeReqStatus was set.
func (OptUpdateBarTimeRangeReqStatus) MarshalJSON ¶
func (s OptUpdateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateBarTimeRangeReqStatus) Or ¶
func (o OptUpdateBarTimeRangeReqStatus) Or(d UpdateBarTimeRangeReqStatus) UpdateBarTimeRangeReqStatus
Or returns value if set, or given parameter if does not.
func (*OptUpdateBarTimeRangeReqStatus) Reset ¶
func (o *OptUpdateBarTimeRangeReqStatus) Reset()
Reset unsets value.
func (*OptUpdateBarTimeRangeReqStatus) SetTo ¶
func (o *OptUpdateBarTimeRangeReqStatus) SetTo(v UpdateBarTimeRangeReqStatus)
SetTo sets value to v.
func (*OptUpdateBarTimeRangeReqStatus) UnmarshalJSON ¶
func (s *OptUpdateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateDividendReqDividendType ¶
type OptUpdateDividendReqDividendType struct { Value UpdateDividendReqDividendType Set bool }
OptUpdateDividendReqDividendType is optional UpdateDividendReqDividendType.
func NewOptUpdateDividendReqDividendType ¶
func NewOptUpdateDividendReqDividendType(v UpdateDividendReqDividendType) OptUpdateDividendReqDividendType
NewOptUpdateDividendReqDividendType returns new OptUpdateDividendReqDividendType with value set to v.
func (*OptUpdateDividendReqDividendType) Decode ¶
func (o *OptUpdateDividendReqDividendType) Decode(d *jx.Decoder) error
Decode decodes UpdateDividendReqDividendType from json.
func (OptUpdateDividendReqDividendType) Encode ¶
func (o OptUpdateDividendReqDividendType) Encode(e *jx.Encoder)
Encode encodes UpdateDividendReqDividendType as json.
func (OptUpdateDividendReqDividendType) Get ¶
func (o OptUpdateDividendReqDividendType) Get() (v UpdateDividendReqDividendType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateDividendReqDividendType) IsSet ¶
func (o OptUpdateDividendReqDividendType) IsSet() bool
IsSet returns true if OptUpdateDividendReqDividendType was set.
func (OptUpdateDividendReqDividendType) MarshalJSON ¶
func (s OptUpdateDividendReqDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateDividendReqDividendType) Or ¶
func (o OptUpdateDividendReqDividendType) Or(d UpdateDividendReqDividendType) UpdateDividendReqDividendType
Or returns value if set, or given parameter if does not.
func (*OptUpdateDividendReqDividendType) Reset ¶
func (o *OptUpdateDividendReqDividendType) Reset()
Reset unsets value.
func (*OptUpdateDividendReqDividendType) SetTo ¶
func (o *OptUpdateDividendReqDividendType) SetTo(v UpdateDividendReqDividendType)
SetTo sets value to v.
func (*OptUpdateDividendReqDividendType) UnmarshalJSON ¶
func (s *OptUpdateDividendReqDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateIntervalReqInterval ¶
type OptUpdateIntervalReqInterval struct { Value UpdateIntervalReqInterval Set bool }
OptUpdateIntervalReqInterval is optional UpdateIntervalReqInterval.
func NewOptUpdateIntervalReqInterval ¶
func NewOptUpdateIntervalReqInterval(v UpdateIntervalReqInterval) OptUpdateIntervalReqInterval
NewOptUpdateIntervalReqInterval returns new OptUpdateIntervalReqInterval with value set to v.
func (*OptUpdateIntervalReqInterval) Decode ¶
func (o *OptUpdateIntervalReqInterval) Decode(d *jx.Decoder) error
Decode decodes UpdateIntervalReqInterval from json.
func (OptUpdateIntervalReqInterval) Encode ¶
func (o OptUpdateIntervalReqInterval) Encode(e *jx.Encoder)
Encode encodes UpdateIntervalReqInterval as json.
func (OptUpdateIntervalReqInterval) Get ¶
func (o OptUpdateIntervalReqInterval) Get() (v UpdateIntervalReqInterval, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateIntervalReqInterval) IsSet ¶
func (o OptUpdateIntervalReqInterval) IsSet() bool
IsSet returns true if OptUpdateIntervalReqInterval was set.
func (OptUpdateIntervalReqInterval) MarshalJSON ¶
func (s OptUpdateIntervalReqInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUpdateIntervalReqInterval) Reset ¶
func (o *OptUpdateIntervalReqInterval) Reset()
Reset unsets value.
func (*OptUpdateIntervalReqInterval) SetTo ¶
func (o *OptUpdateIntervalReqInterval) SetTo(v UpdateIntervalReqInterval)
SetTo sets value to v.
func (*OptUpdateIntervalReqInterval) UnmarshalJSON ¶
func (s *OptUpdateIntervalReqInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { ServerOption ClientOption }
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the metric.NewNoopMeterProvider is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type R400 ¶
type R400 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` }
func (*R400) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*R400) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type R404 ¶
type R404 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` }
func (*R404) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*R404) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type R409 ¶
type R409 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` }
func (*R409) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*R409) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type R500 ¶
type R500 struct { Code int `json:"code"` Status string `json:"status"` Errors jx.Raw `json:"errors"` }
func (*R500) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*R500) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ReadBarGroupParams ¶
type ReadBarGroupParams struct { // ID of the BarGroup. ID int }
ReadBarGroupParams is parameters of readBarGroup operation.
type ReadBarGroupRes ¶
type ReadBarGroupRes interface {
// contains filtered or unexported methods
}
type ReadBarGroupTimeRangeParams ¶
type ReadBarGroupTimeRangeParams struct { // ID of the BarGroup. ID int }
ReadBarGroupTimeRangeParams is parameters of readBarGroupTimeRange operation.
type ReadBarGroupTimeRangeRes ¶
type ReadBarGroupTimeRangeRes interface {
// contains filtered or unexported methods
}
type ReadBarRecordGroupParams ¶
type ReadBarRecordGroupParams struct { // ID of the BarRecord. ID int }
ReadBarRecordGroupParams is parameters of readBarRecordGroup operation.
type ReadBarRecordGroupRes ¶
type ReadBarRecordGroupRes interface {
// contains filtered or unexported methods
}
type ReadBarRecordParams ¶
type ReadBarRecordParams struct { // ID of the BarRecord. ID int }
ReadBarRecordParams is parameters of readBarRecord operation.
type ReadBarRecordRes ¶
type ReadBarRecordRes interface {
// contains filtered or unexported methods
}
type ReadBarTimeRangeIntervalParams ¶
type ReadBarTimeRangeIntervalParams struct { // ID of the BarTimeRange. ID int }
ReadBarTimeRangeIntervalParams is parameters of readBarTimeRangeInterval operation.
type ReadBarTimeRangeIntervalRes ¶
type ReadBarTimeRangeIntervalRes interface {
// contains filtered or unexported methods
}
type ReadBarTimeRangeParams ¶
type ReadBarTimeRangeParams struct { // ID of the BarTimeRange. ID int }
ReadBarTimeRangeParams is parameters of readBarTimeRange operation.
type ReadBarTimeRangeRes ¶
type ReadBarTimeRangeRes interface {
// contains filtered or unexported methods
}
type ReadDataSourceParams ¶
type ReadDataSourceParams struct { // ID of the DataSource. ID int }
ReadDataSourceParams is parameters of readDataSource operation.
type ReadDataSourceRes ¶
type ReadDataSourceRes interface {
// contains filtered or unexported methods
}
type ReadDividendParams ¶
type ReadDividendParams struct { // ID of the Dividend. ID int }
ReadDividendParams is parameters of readDividend operation.
type ReadDividendRes ¶
type ReadDividendRes interface {
// contains filtered or unexported methods
}
type ReadEntityParams ¶
type ReadEntityParams struct { // ID of the Entity. ID int }
ReadEntityParams is parameters of readEntity operation.
type ReadEntityRes ¶
type ReadEntityRes interface {
// contains filtered or unexported methods
}
type ReadExchangeParams ¶
type ReadExchangeParams struct { // ID of the Exchange. ID int }
ReadExchangeParams is parameters of readExchange operation.
type ReadExchangeRes ¶
type ReadExchangeRes interface {
// contains filtered or unexported methods
}
type ReadFinancialParams ¶
type ReadFinancialParams struct { // ID of the Financial. ID int }
ReadFinancialParams is parameters of readFinancial operation.
type ReadFinancialRes ¶
type ReadFinancialRes interface {
// contains filtered or unexported methods
}
type ReadIntervalDataSourceParams ¶
type ReadIntervalDataSourceParams struct { // ID of the Interval. ID int }
ReadIntervalDataSourceParams is parameters of readIntervalDataSource operation.
type ReadIntervalDataSourceRes ¶
type ReadIntervalDataSourceRes interface {
// contains filtered or unexported methods
}
type ReadIntervalParams ¶
type ReadIntervalParams struct { // ID of the Interval. ID int }
ReadIntervalParams is parameters of readInterval operation.
type ReadIntervalRes ¶
type ReadIntervalRes interface {
// contains filtered or unexported methods
}
type ReadIntervalStockParams ¶
type ReadIntervalStockParams struct { // ID of the Interval. ID int }
ReadIntervalStockParams is parameters of readIntervalStock operation.
type ReadIntervalStockRes ¶
type ReadIntervalStockRes interface {
// contains filtered or unexported methods
}
type ReadMarketHoursMarketInfoParams ¶
type ReadMarketHoursMarketInfoParams struct { // ID of the MarketHours. ID int }
ReadMarketHoursMarketInfoParams is parameters of readMarketHoursMarketInfo operation.
type ReadMarketHoursMarketInfoRes ¶
type ReadMarketHoursMarketInfoRes interface {
// contains filtered or unexported methods
}
type ReadMarketHoursParams ¶
type ReadMarketHoursParams struct { // ID of the MarketHours. ID int }
ReadMarketHoursParams is parameters of readMarketHours operation.
type ReadMarketHoursRes ¶
type ReadMarketHoursRes interface {
// contains filtered or unexported methods
}
type ReadMarketInfoParams ¶
type ReadMarketInfoParams struct { // ID of the MarketInfo. ID int }
ReadMarketInfoParams is parameters of readMarketInfo operation.
type ReadMarketInfoRes ¶
type ReadMarketInfoRes interface {
// contains filtered or unexported methods
}
type ReadSplitParams ¶
type ReadSplitParams struct { // ID of the Split. ID int }
ReadSplitParams is parameters of readSplit operation.
type ReadSplitRes ¶
type ReadSplitRes interface {
// contains filtered or unexported methods
}
type ReadSplitStockParams ¶
type ReadSplitStockParams struct { // ID of the Split. ID int }
ReadSplitStockParams is parameters of readSplitStock operation.
type ReadSplitStockRes ¶
type ReadSplitStockRes interface {
// contains filtered or unexported methods
}
type ReadTradeConditionParams ¶
type ReadTradeConditionParams struct { // ID of the TradeCondition. ID int }
ReadTradeConditionParams is parameters of readTradeCondition operation.
type ReadTradeConditionRes ¶
type ReadTradeConditionRes interface {
// contains filtered or unexported methods
}
type ReadTradeCorrectionParams ¶
type ReadTradeCorrectionParams struct { // ID of the TradeCorrection. ID int }
ReadTradeCorrectionParams is parameters of readTradeCorrection operation.
type ReadTradeCorrectionRes ¶
type ReadTradeCorrectionRes interface {
// contains filtered or unexported methods
}
type ReadTradeRecordParams ¶
type ReadTradeRecordParams struct { // ID of the TradeRecord. ID int }
ReadTradeRecordParams is parameters of readTradeRecord operation.
type ReadTradeRecordRes ¶
type ReadTradeRecordRes interface {
// contains filtered or unexported methods
}
type ReadTradeRecordTimeRangeParams ¶
type ReadTradeRecordTimeRangeParams struct { // ID of the TradeRecord. ID int }
ReadTradeRecordTimeRangeParams is parameters of readTradeRecordTimeRange operation.
type ReadTradeRecordTimeRangeRes ¶
type ReadTradeRecordTimeRangeRes interface {
// contains filtered or unexported methods
}
type ReadTradeTimeRangeIntervalParams ¶
type ReadTradeTimeRangeIntervalParams struct { // ID of the TradeTimeRange. ID int }
ReadTradeTimeRangeIntervalParams is parameters of readTradeTimeRangeInterval operation.
type ReadTradeTimeRangeIntervalRes ¶
type ReadTradeTimeRangeIntervalRes interface {
// contains filtered or unexported methods
}
type ReadTradeTimeRangeParams ¶
type ReadTradeTimeRangeParams struct { // ID of the TradeTimeRange. ID int }
ReadTradeTimeRangeParams is parameters of readTradeTimeRange operation.
type ReadTradeTimeRangeRes ¶
type ReadTradeTimeRangeRes interface {
// contains filtered or unexported methods
}
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type SearchTickerOK ¶
type SearchTickerOK struct { Status jx.Raw `json:"status"` Results []SearchTickerOKResultsItem `json:"results"` Errors jx.Raw `json:"errors"` }
func (*SearchTickerOK) Decode ¶
func (s *SearchTickerOK) Decode(d *jx.Decoder) error
Decode decodes SearchTickerOK from json.
func (*SearchTickerOK) Encode ¶
func (s *SearchTickerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchTickerOK) GetErrors ¶
func (s *SearchTickerOK) GetErrors() jx.Raw
GetErrors returns the value of Errors.
func (*SearchTickerOK) GetResults ¶
func (s *SearchTickerOK) GetResults() []SearchTickerOKResultsItem
GetResults returns the value of Results.
func (*SearchTickerOK) GetStatus ¶
func (s *SearchTickerOK) GetStatus() jx.Raw
GetStatus returns the value of Status.
func (*SearchTickerOK) MarshalJSON ¶
func (s *SearchTickerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchTickerOK) SetErrors ¶
func (s *SearchTickerOK) SetErrors(val jx.Raw)
SetErrors sets the value of Errors.
func (*SearchTickerOK) SetResults ¶
func (s *SearchTickerOK) SetResults(val []SearchTickerOKResultsItem)
SetResults sets the value of Results.
func (*SearchTickerOK) SetStatus ¶
func (s *SearchTickerOK) SetStatus(val jx.Raw)
SetStatus sets the value of Status.
func (*SearchTickerOK) UnmarshalJSON ¶
func (s *SearchTickerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchTickerOK) Validate ¶
func (s *SearchTickerOK) Validate() error
type SearchTickerOKResultsItem ¶
func (*SearchTickerOKResultsItem) Decode ¶
func (s *SearchTickerOKResultsItem) Decode(d *jx.Decoder) error
Decode decodes SearchTickerOKResultsItem from json.
func (*SearchTickerOKResultsItem) Encode ¶
func (s *SearchTickerOKResultsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchTickerOKResultsItem) GetName ¶
func (s *SearchTickerOKResultsItem) GetName() string
GetName returns the value of Name.
func (*SearchTickerOKResultsItem) GetTicker ¶
func (s *SearchTickerOKResultsItem) GetTicker() string
GetTicker returns the value of Ticker.
func (*SearchTickerOKResultsItem) MarshalJSON ¶
func (s *SearchTickerOKResultsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchTickerOKResultsItem) SetName ¶
func (s *SearchTickerOKResultsItem) SetName(val string)
SetName sets the value of Name.
func (*SearchTickerOKResultsItem) SetTicker ¶
func (s *SearchTickerOKResultsItem) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*SearchTickerOKResultsItem) UnmarshalJSON ¶
func (s *SearchTickerOKResultsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchTickerParams ¶
type SearchTickerParams struct {
Ticker string
}
SearchTickerParams is parameters of searchTicker operation.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SplitCreate ¶
type SplitCreate struct { ID int `json:"id"` ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` }
Ref: #/components/schemas/SplitCreate
func NewSplitCreate ¶
func NewSplitCreate(e *ent.Split) *SplitCreate
func NewSplitCreates ¶
func NewSplitCreates(es []*ent.Split) []SplitCreate
func (*SplitCreate) Decode ¶
func (s *SplitCreate) Decode(d *jx.Decoder) error
Decode decodes SplitCreate from json.
func (*SplitCreate) Elem ¶
func (s *SplitCreate) Elem() SplitCreate
func (*SplitCreate) Encode ¶
func (s *SplitCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SplitCreate) GetExecutionDate ¶
func (s *SplitCreate) GetExecutionDate() time.Time
GetExecutionDate returns the value of ExecutionDate.
func (*SplitCreate) GetFrom ¶
func (s *SplitCreate) GetFrom() float64
GetFrom returns the value of From.
func (*SplitCreate) MarshalJSON ¶
func (s *SplitCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SplitCreate) SetExecutionDate ¶
func (s *SplitCreate) SetExecutionDate(val time.Time)
SetExecutionDate sets the value of ExecutionDate.
func (*SplitCreate) SetFrom ¶
func (s *SplitCreate) SetFrom(val float64)
SetFrom sets the value of From.
func (*SplitCreate) UnmarshalJSON ¶
func (s *SplitCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SplitCreate) Validate ¶
func (s *SplitCreate) Validate() error
type SplitList ¶
type SplitList struct { ID int `json:"id"` ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` }
Ref: #/components/schemas/SplitList
func NewSplitList ¶
func NewSplitLists ¶
func (*SplitList) GetExecutionDate ¶
GetExecutionDate returns the value of ExecutionDate.
func (*SplitList) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SplitList) SetExecutionDate ¶
SetExecutionDate sets the value of ExecutionDate.
func (*SplitList) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SplitRead ¶
type SplitRead struct { ID int `json:"id"` ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` }
Ref: #/components/schemas/SplitRead
func NewSplitRead ¶
func NewSplitReads ¶
func (*SplitRead) GetExecutionDate ¶
GetExecutionDate returns the value of ExecutionDate.
func (*SplitRead) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SplitRead) SetExecutionDate ¶
SetExecutionDate sets the value of ExecutionDate.
func (*SplitRead) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SplitStockRead ¶
type SplitStockRead struct { ID int `json:"id"` Active bool `json:"active"` Ticker string `json:"ticker"` Name string `json:"name"` Description string `json:"description"` ListDate time.Time `json:"list_date"` Delisted OptDateTime `json:"delisted"` }
Ref: #/components/schemas/Split_StockRead
func NewSplitStockRead ¶
func NewSplitStockRead(e *ent.Entity) *SplitStockRead
func NewSplitStockReads ¶
func NewSplitStockReads(es []*ent.Entity) []SplitStockRead
func (*SplitStockRead) Decode ¶
func (s *SplitStockRead) Decode(d *jx.Decoder) error
Decode decodes SplitStockRead from json.
func (*SplitStockRead) Elem ¶
func (e *SplitStockRead) Elem() SplitStockRead
func (*SplitStockRead) Encode ¶
func (s *SplitStockRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SplitStockRead) GetActive ¶
func (s *SplitStockRead) GetActive() bool
GetActive returns the value of Active.
func (*SplitStockRead) GetDelisted ¶
func (s *SplitStockRead) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*SplitStockRead) GetDescription ¶
func (s *SplitStockRead) GetDescription() string
GetDescription returns the value of Description.
func (*SplitStockRead) GetListDate ¶
func (s *SplitStockRead) GetListDate() time.Time
GetListDate returns the value of ListDate.
func (*SplitStockRead) GetName ¶
func (s *SplitStockRead) GetName() string
GetName returns the value of Name.
func (*SplitStockRead) GetTicker ¶
func (s *SplitStockRead) GetTicker() string
GetTicker returns the value of Ticker.
func (*SplitStockRead) MarshalJSON ¶
func (s *SplitStockRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SplitStockRead) SetActive ¶
func (s *SplitStockRead) SetActive(val bool)
SetActive sets the value of Active.
func (*SplitStockRead) SetDelisted ¶
func (s *SplitStockRead) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*SplitStockRead) SetDescription ¶
func (s *SplitStockRead) SetDescription(val string)
SetDescription sets the value of Description.
func (*SplitStockRead) SetListDate ¶
func (s *SplitStockRead) SetListDate(val time.Time)
SetListDate sets the value of ListDate.
func (*SplitStockRead) SetName ¶
func (s *SplitStockRead) SetName(val string)
SetName sets the value of Name.
func (*SplitStockRead) SetTicker ¶
func (s *SplitStockRead) SetTicker(val string)
SetTicker sets the value of Ticker.
func (*SplitStockRead) UnmarshalJSON ¶
func (s *SplitStockRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SplitUpdate ¶
type SplitUpdate struct { ID int `json:"id"` ExecutionDate time.Time `json:"execution_date"` From float64 `json:"from"` To float64 `json:"to"` }
Ref: #/components/schemas/SplitUpdate
func NewSplitUpdate ¶
func NewSplitUpdate(e *ent.Split) *SplitUpdate
func NewSplitUpdates ¶
func NewSplitUpdates(es []*ent.Split) []SplitUpdate
func (*SplitUpdate) Decode ¶
func (s *SplitUpdate) Decode(d *jx.Decoder) error
Decode decodes SplitUpdate from json.
func (*SplitUpdate) Elem ¶
func (s *SplitUpdate) Elem() SplitUpdate
func (*SplitUpdate) Encode ¶
func (s *SplitUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SplitUpdate) GetExecutionDate ¶
func (s *SplitUpdate) GetExecutionDate() time.Time
GetExecutionDate returns the value of ExecutionDate.
func (*SplitUpdate) GetFrom ¶
func (s *SplitUpdate) GetFrom() float64
GetFrom returns the value of From.
func (*SplitUpdate) MarshalJSON ¶
func (s *SplitUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SplitUpdate) SetExecutionDate ¶
func (s *SplitUpdate) SetExecutionDate(val time.Time)
SetExecutionDate sets the value of ExecutionDate.
func (*SplitUpdate) SetFrom ¶
func (s *SplitUpdate) SetFrom(val float64)
SetFrom sets the value of From.
func (*SplitUpdate) UnmarshalJSON ¶
func (s *SplitUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SplitUpdate) Validate ¶
func (s *SplitUpdate) Validate() error
type TradeConditionCreate ¶
Ref: #/components/schemas/TradeConditionCreate
func NewTradeConditionCreate ¶
func NewTradeConditionCreate(e *ent.TradeCondition) *TradeConditionCreate
func NewTradeConditionCreates ¶
func NewTradeConditionCreates(es []*ent.TradeCondition) []TradeConditionCreate
func (*TradeConditionCreate) Decode ¶
func (s *TradeConditionCreate) Decode(d *jx.Decoder) error
Decode decodes TradeConditionCreate from json.
func (*TradeConditionCreate) Elem ¶
func (tc *TradeConditionCreate) Elem() TradeConditionCreate
func (*TradeConditionCreate) Encode ¶
func (s *TradeConditionCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeConditionCreate) GetCondition ¶
func (s *TradeConditionCreate) GetCondition() string
GetCondition returns the value of Condition.
func (*TradeConditionCreate) GetID ¶
func (s *TradeConditionCreate) GetID() int
GetID returns the value of ID.
func (*TradeConditionCreate) MarshalJSON ¶
func (s *TradeConditionCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeConditionCreate) SetCondition ¶
func (s *TradeConditionCreate) SetCondition(val string)
SetCondition sets the value of Condition.
func (*TradeConditionCreate) SetID ¶
func (s *TradeConditionCreate) SetID(val int)
SetID sets the value of ID.
func (*TradeConditionCreate) UnmarshalJSON ¶
func (s *TradeConditionCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeConditionList ¶
Ref: #/components/schemas/TradeConditionList
func NewTradeConditionList ¶
func NewTradeConditionList(e *ent.TradeCondition) *TradeConditionList
func NewTradeConditionLists ¶
func NewTradeConditionLists(es []*ent.TradeCondition) []TradeConditionList
func (*TradeConditionList) Decode ¶
func (s *TradeConditionList) Decode(d *jx.Decoder) error
Decode decodes TradeConditionList from json.
func (*TradeConditionList) Elem ¶
func (tc *TradeConditionList) Elem() TradeConditionList
func (*TradeConditionList) Encode ¶
func (s *TradeConditionList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeConditionList) GetCondition ¶
func (s *TradeConditionList) GetCondition() string
GetCondition returns the value of Condition.
func (*TradeConditionList) GetID ¶
func (s *TradeConditionList) GetID() int
GetID returns the value of ID.
func (*TradeConditionList) MarshalJSON ¶
func (s *TradeConditionList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeConditionList) SetCondition ¶
func (s *TradeConditionList) SetCondition(val string)
SetCondition sets the value of Condition.
func (*TradeConditionList) SetID ¶
func (s *TradeConditionList) SetID(val int)
SetID sets the value of ID.
func (*TradeConditionList) UnmarshalJSON ¶
func (s *TradeConditionList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeConditionRead ¶
Ref: #/components/schemas/TradeConditionRead
func NewTradeConditionRead ¶
func NewTradeConditionRead(e *ent.TradeCondition) *TradeConditionRead
func NewTradeConditionReads ¶
func NewTradeConditionReads(es []*ent.TradeCondition) []TradeConditionRead
func (*TradeConditionRead) Decode ¶
func (s *TradeConditionRead) Decode(d *jx.Decoder) error
Decode decodes TradeConditionRead from json.
func (*TradeConditionRead) Elem ¶
func (tc *TradeConditionRead) Elem() TradeConditionRead
func (*TradeConditionRead) Encode ¶
func (s *TradeConditionRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeConditionRead) GetCondition ¶
func (s *TradeConditionRead) GetCondition() string
GetCondition returns the value of Condition.
func (*TradeConditionRead) GetID ¶
func (s *TradeConditionRead) GetID() int
GetID returns the value of ID.
func (*TradeConditionRead) MarshalJSON ¶
func (s *TradeConditionRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeConditionRead) SetCondition ¶
func (s *TradeConditionRead) SetCondition(val string)
SetCondition sets the value of Condition.
func (*TradeConditionRead) SetID ¶
func (s *TradeConditionRead) SetID(val int)
SetID sets the value of ID.
func (*TradeConditionRead) UnmarshalJSON ¶
func (s *TradeConditionRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeConditionRecordList ¶
type TradeConditionRecordList struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeCondition_RecordList
func NewTradeConditionRecordList ¶
func NewTradeConditionRecordList(e *ent.TradeRecord) *TradeConditionRecordList
func NewTradeConditionRecordLists ¶
func NewTradeConditionRecordLists(es []*ent.TradeRecord) []TradeConditionRecordList
func (*TradeConditionRecordList) Decode ¶
func (s *TradeConditionRecordList) Decode(d *jx.Decoder) error
Decode decodes TradeConditionRecordList from json.
func (*TradeConditionRecordList) Elem ¶
func (tr *TradeConditionRecordList) Elem() TradeConditionRecordList
func (*TradeConditionRecordList) Encode ¶
func (s *TradeConditionRecordList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeConditionRecordList) GetID ¶
func (s *TradeConditionRecordList) GetID() int
GetID returns the value of ID.
func (*TradeConditionRecordList) GetPrice ¶
func (s *TradeConditionRecordList) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeConditionRecordList) GetTimeRangeID ¶
func (s *TradeConditionRecordList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeConditionRecordList) GetTimestamp ¶
func (s *TradeConditionRecordList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeConditionRecordList) GetVolume ¶
func (s *TradeConditionRecordList) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeConditionRecordList) MarshalJSON ¶
func (s *TradeConditionRecordList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeConditionRecordList) SetID ¶
func (s *TradeConditionRecordList) SetID(val int)
SetID sets the value of ID.
func (*TradeConditionRecordList) SetPrice ¶
func (s *TradeConditionRecordList) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeConditionRecordList) SetTimeRangeID ¶
func (s *TradeConditionRecordList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeConditionRecordList) SetTimestamp ¶
func (s *TradeConditionRecordList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeConditionRecordList) SetVolume ¶
func (s *TradeConditionRecordList) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeConditionRecordList) UnmarshalJSON ¶
func (s *TradeConditionRecordList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeConditionRecordList) Validate ¶
func (s *TradeConditionRecordList) Validate() error
type TradeConditionUpdate ¶
Ref: #/components/schemas/TradeConditionUpdate
func NewTradeConditionUpdate ¶
func NewTradeConditionUpdate(e *ent.TradeCondition) *TradeConditionUpdate
func NewTradeConditionUpdates ¶
func NewTradeConditionUpdates(es []*ent.TradeCondition) []TradeConditionUpdate
func (*TradeConditionUpdate) Decode ¶
func (s *TradeConditionUpdate) Decode(d *jx.Decoder) error
Decode decodes TradeConditionUpdate from json.
func (*TradeConditionUpdate) Elem ¶
func (tc *TradeConditionUpdate) Elem() TradeConditionUpdate
func (*TradeConditionUpdate) Encode ¶
func (s *TradeConditionUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeConditionUpdate) GetCondition ¶
func (s *TradeConditionUpdate) GetCondition() string
GetCondition returns the value of Condition.
func (*TradeConditionUpdate) GetID ¶
func (s *TradeConditionUpdate) GetID() int
GetID returns the value of ID.
func (*TradeConditionUpdate) MarshalJSON ¶
func (s *TradeConditionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeConditionUpdate) SetCondition ¶
func (s *TradeConditionUpdate) SetCondition(val string)
SetCondition sets the value of Condition.
func (*TradeConditionUpdate) SetID ¶
func (s *TradeConditionUpdate) SetID(val int)
SetID sets the value of ID.
func (*TradeConditionUpdate) UnmarshalJSON ¶
func (s *TradeConditionUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeCorrectionCreate ¶
Ref: #/components/schemas/TradeCorrectionCreate
func NewTradeCorrectionCreate ¶
func NewTradeCorrectionCreate(e *ent.TradeCorrection) *TradeCorrectionCreate
func NewTradeCorrectionCreates ¶
func NewTradeCorrectionCreates(es []*ent.TradeCorrection) []TradeCorrectionCreate
func (*TradeCorrectionCreate) Decode ¶
func (s *TradeCorrectionCreate) Decode(d *jx.Decoder) error
Decode decodes TradeCorrectionCreate from json.
func (*TradeCorrectionCreate) Elem ¶
func (tc *TradeCorrectionCreate) Elem() TradeCorrectionCreate
func (*TradeCorrectionCreate) Encode ¶
func (s *TradeCorrectionCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeCorrectionCreate) GetCorrection ¶
func (s *TradeCorrectionCreate) GetCorrection() string
GetCorrection returns the value of Correction.
func (*TradeCorrectionCreate) GetID ¶
func (s *TradeCorrectionCreate) GetID() int
GetID returns the value of ID.
func (*TradeCorrectionCreate) MarshalJSON ¶
func (s *TradeCorrectionCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeCorrectionCreate) SetCorrection ¶
func (s *TradeCorrectionCreate) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*TradeCorrectionCreate) SetID ¶
func (s *TradeCorrectionCreate) SetID(val int)
SetID sets the value of ID.
func (*TradeCorrectionCreate) UnmarshalJSON ¶
func (s *TradeCorrectionCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeCorrectionList ¶
Ref: #/components/schemas/TradeCorrectionList
func NewTradeCorrectionList ¶
func NewTradeCorrectionList(e *ent.TradeCorrection) *TradeCorrectionList
func NewTradeCorrectionLists ¶
func NewTradeCorrectionLists(es []*ent.TradeCorrection) []TradeCorrectionList
func (*TradeCorrectionList) Decode ¶
func (s *TradeCorrectionList) Decode(d *jx.Decoder) error
Decode decodes TradeCorrectionList from json.
func (*TradeCorrectionList) Elem ¶
func (tc *TradeCorrectionList) Elem() TradeCorrectionList
func (*TradeCorrectionList) Encode ¶
func (s *TradeCorrectionList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeCorrectionList) GetCorrection ¶
func (s *TradeCorrectionList) GetCorrection() string
GetCorrection returns the value of Correction.
func (*TradeCorrectionList) GetID ¶
func (s *TradeCorrectionList) GetID() int
GetID returns the value of ID.
func (*TradeCorrectionList) MarshalJSON ¶
func (s *TradeCorrectionList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeCorrectionList) SetCorrection ¶
func (s *TradeCorrectionList) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*TradeCorrectionList) SetID ¶
func (s *TradeCorrectionList) SetID(val int)
SetID sets the value of ID.
func (*TradeCorrectionList) UnmarshalJSON ¶
func (s *TradeCorrectionList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeCorrectionRead ¶
Ref: #/components/schemas/TradeCorrectionRead
func NewTradeCorrectionRead ¶
func NewTradeCorrectionRead(e *ent.TradeCorrection) *TradeCorrectionRead
func NewTradeCorrectionReads ¶
func NewTradeCorrectionReads(es []*ent.TradeCorrection) []TradeCorrectionRead
func (*TradeCorrectionRead) Decode ¶
func (s *TradeCorrectionRead) Decode(d *jx.Decoder) error
Decode decodes TradeCorrectionRead from json.
func (*TradeCorrectionRead) Elem ¶
func (tc *TradeCorrectionRead) Elem() TradeCorrectionRead
func (*TradeCorrectionRead) Encode ¶
func (s *TradeCorrectionRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeCorrectionRead) GetCorrection ¶
func (s *TradeCorrectionRead) GetCorrection() string
GetCorrection returns the value of Correction.
func (*TradeCorrectionRead) GetID ¶
func (s *TradeCorrectionRead) GetID() int
GetID returns the value of ID.
func (*TradeCorrectionRead) MarshalJSON ¶
func (s *TradeCorrectionRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeCorrectionRead) SetCorrection ¶
func (s *TradeCorrectionRead) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*TradeCorrectionRead) SetID ¶
func (s *TradeCorrectionRead) SetID(val int)
SetID sets the value of ID.
func (*TradeCorrectionRead) UnmarshalJSON ¶
func (s *TradeCorrectionRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeCorrectionRecordList ¶
type TradeCorrectionRecordList struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeCorrection_RecordList
func NewTradeCorrectionRecordList ¶
func NewTradeCorrectionRecordList(e *ent.TradeRecord) *TradeCorrectionRecordList
func NewTradeCorrectionRecordLists ¶
func NewTradeCorrectionRecordLists(es []*ent.TradeRecord) []TradeCorrectionRecordList
func (*TradeCorrectionRecordList) Decode ¶
func (s *TradeCorrectionRecordList) Decode(d *jx.Decoder) error
Decode decodes TradeCorrectionRecordList from json.
func (*TradeCorrectionRecordList) Elem ¶
func (tr *TradeCorrectionRecordList) Elem() TradeCorrectionRecordList
func (*TradeCorrectionRecordList) Encode ¶
func (s *TradeCorrectionRecordList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeCorrectionRecordList) GetID ¶
func (s *TradeCorrectionRecordList) GetID() int
GetID returns the value of ID.
func (*TradeCorrectionRecordList) GetPrice ¶
func (s *TradeCorrectionRecordList) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeCorrectionRecordList) GetTimeRangeID ¶
func (s *TradeCorrectionRecordList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeCorrectionRecordList) GetTimestamp ¶
func (s *TradeCorrectionRecordList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeCorrectionRecordList) GetVolume ¶
func (s *TradeCorrectionRecordList) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeCorrectionRecordList) MarshalJSON ¶
func (s *TradeCorrectionRecordList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeCorrectionRecordList) SetID ¶
func (s *TradeCorrectionRecordList) SetID(val int)
SetID sets the value of ID.
func (*TradeCorrectionRecordList) SetPrice ¶
func (s *TradeCorrectionRecordList) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeCorrectionRecordList) SetTimeRangeID ¶
func (s *TradeCorrectionRecordList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeCorrectionRecordList) SetTimestamp ¶
func (s *TradeCorrectionRecordList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeCorrectionRecordList) SetVolume ¶
func (s *TradeCorrectionRecordList) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeCorrectionRecordList) UnmarshalJSON ¶
func (s *TradeCorrectionRecordList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeCorrectionRecordList) Validate ¶
func (s *TradeCorrectionRecordList) Validate() error
type TradeCorrectionUpdate ¶
Ref: #/components/schemas/TradeCorrectionUpdate
func NewTradeCorrectionUpdate ¶
func NewTradeCorrectionUpdate(e *ent.TradeCorrection) *TradeCorrectionUpdate
func NewTradeCorrectionUpdates ¶
func NewTradeCorrectionUpdates(es []*ent.TradeCorrection) []TradeCorrectionUpdate
func (*TradeCorrectionUpdate) Decode ¶
func (s *TradeCorrectionUpdate) Decode(d *jx.Decoder) error
Decode decodes TradeCorrectionUpdate from json.
func (*TradeCorrectionUpdate) Elem ¶
func (tc *TradeCorrectionUpdate) Elem() TradeCorrectionUpdate
func (*TradeCorrectionUpdate) Encode ¶
func (s *TradeCorrectionUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeCorrectionUpdate) GetCorrection ¶
func (s *TradeCorrectionUpdate) GetCorrection() string
GetCorrection returns the value of Correction.
func (*TradeCorrectionUpdate) GetID ¶
func (s *TradeCorrectionUpdate) GetID() int
GetID returns the value of ID.
func (*TradeCorrectionUpdate) MarshalJSON ¶
func (s *TradeCorrectionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeCorrectionUpdate) SetCorrection ¶
func (s *TradeCorrectionUpdate) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*TradeCorrectionUpdate) SetID ¶
func (s *TradeCorrectionUpdate) SetID(val int)
SetID sets the value of ID.
func (*TradeCorrectionUpdate) UnmarshalJSON ¶
func (s *TradeCorrectionUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeRecordConditionsList ¶
Ref: #/components/schemas/TradeRecord_ConditionsList
func NewTradeRecordConditionsList ¶
func NewTradeRecordConditionsList(e *ent.TradeCondition) *TradeRecordConditionsList
func NewTradeRecordConditionsLists ¶
func NewTradeRecordConditionsLists(es []*ent.TradeCondition) []TradeRecordConditionsList
func (*TradeRecordConditionsList) Decode ¶
func (s *TradeRecordConditionsList) Decode(d *jx.Decoder) error
Decode decodes TradeRecordConditionsList from json.
func (*TradeRecordConditionsList) Elem ¶
func (tc *TradeRecordConditionsList) Elem() TradeRecordConditionsList
func (*TradeRecordConditionsList) Encode ¶
func (s *TradeRecordConditionsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordConditionsList) GetCondition ¶
func (s *TradeRecordConditionsList) GetCondition() string
GetCondition returns the value of Condition.
func (*TradeRecordConditionsList) GetID ¶
func (s *TradeRecordConditionsList) GetID() int
GetID returns the value of ID.
func (*TradeRecordConditionsList) MarshalJSON ¶
func (s *TradeRecordConditionsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordConditionsList) SetCondition ¶
func (s *TradeRecordConditionsList) SetCondition(val string)
SetCondition sets the value of Condition.
func (*TradeRecordConditionsList) SetID ¶
func (s *TradeRecordConditionsList) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordConditionsList) UnmarshalJSON ¶
func (s *TradeRecordConditionsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeRecordCorrectionList ¶
Ref: #/components/schemas/TradeRecord_CorrectionList
func NewTradeRecordCorrectionList ¶
func NewTradeRecordCorrectionList(e *ent.TradeCorrection) *TradeRecordCorrectionList
func NewTradeRecordCorrectionLists ¶
func NewTradeRecordCorrectionLists(es []*ent.TradeCorrection) []TradeRecordCorrectionList
func (*TradeRecordCorrectionList) Decode ¶
func (s *TradeRecordCorrectionList) Decode(d *jx.Decoder) error
Decode decodes TradeRecordCorrectionList from json.
func (*TradeRecordCorrectionList) Elem ¶
func (tc *TradeRecordCorrectionList) Elem() TradeRecordCorrectionList
func (*TradeRecordCorrectionList) Encode ¶
func (s *TradeRecordCorrectionList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordCorrectionList) GetCorrection ¶
func (s *TradeRecordCorrectionList) GetCorrection() string
GetCorrection returns the value of Correction.
func (*TradeRecordCorrectionList) GetID ¶
func (s *TradeRecordCorrectionList) GetID() int
GetID returns the value of ID.
func (*TradeRecordCorrectionList) MarshalJSON ¶
func (s *TradeRecordCorrectionList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordCorrectionList) SetCorrection ¶
func (s *TradeRecordCorrectionList) SetCorrection(val string)
SetCorrection sets the value of Correction.
func (*TradeRecordCorrectionList) SetID ¶
func (s *TradeRecordCorrectionList) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordCorrectionList) UnmarshalJSON ¶
func (s *TradeRecordCorrectionList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeRecordCreate ¶
type TradeRecordCreate struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeRecordCreate
func NewTradeRecordCreate ¶
func NewTradeRecordCreate(e *ent.TradeRecord) *TradeRecordCreate
func NewTradeRecordCreates ¶
func NewTradeRecordCreates(es []*ent.TradeRecord) []TradeRecordCreate
func (*TradeRecordCreate) Decode ¶
func (s *TradeRecordCreate) Decode(d *jx.Decoder) error
Decode decodes TradeRecordCreate from json.
func (*TradeRecordCreate) Elem ¶
func (tr *TradeRecordCreate) Elem() TradeRecordCreate
func (*TradeRecordCreate) Encode ¶
func (s *TradeRecordCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordCreate) GetID ¶
func (s *TradeRecordCreate) GetID() int
GetID returns the value of ID.
func (*TradeRecordCreate) GetPrice ¶
func (s *TradeRecordCreate) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeRecordCreate) GetTimeRangeID ¶
func (s *TradeRecordCreate) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeRecordCreate) GetTimestamp ¶
func (s *TradeRecordCreate) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeRecordCreate) GetVolume ¶
func (s *TradeRecordCreate) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeRecordCreate) MarshalJSON ¶
func (s *TradeRecordCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordCreate) SetID ¶
func (s *TradeRecordCreate) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordCreate) SetPrice ¶
func (s *TradeRecordCreate) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeRecordCreate) SetTimeRangeID ¶
func (s *TradeRecordCreate) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeRecordCreate) SetTimestamp ¶
func (s *TradeRecordCreate) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeRecordCreate) SetVolume ¶
func (s *TradeRecordCreate) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeRecordCreate) UnmarshalJSON ¶
func (s *TradeRecordCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeRecordCreate) Validate ¶
func (s *TradeRecordCreate) Validate() error
type TradeRecordExchangeList ¶
type TradeRecordExchangeList struct { ID int `json:"id"` Code string `json:"code"` Name string `json:"name"` }
Ref: #/components/schemas/TradeRecord_ExchangeList
func NewTradeRecordExchangeList ¶
func NewTradeRecordExchangeList(e *ent.Exchange) *TradeRecordExchangeList
func NewTradeRecordExchangeLists ¶
func NewTradeRecordExchangeLists(es []*ent.Exchange) []TradeRecordExchangeList
func (*TradeRecordExchangeList) Decode ¶
func (s *TradeRecordExchangeList) Decode(d *jx.Decoder) error
Decode decodes TradeRecordExchangeList from json.
func (*TradeRecordExchangeList) Elem ¶
func (e *TradeRecordExchangeList) Elem() TradeRecordExchangeList
func (*TradeRecordExchangeList) Encode ¶
func (s *TradeRecordExchangeList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordExchangeList) GetCode ¶
func (s *TradeRecordExchangeList) GetCode() string
GetCode returns the value of Code.
func (*TradeRecordExchangeList) GetID ¶
func (s *TradeRecordExchangeList) GetID() int
GetID returns the value of ID.
func (*TradeRecordExchangeList) GetName ¶
func (s *TradeRecordExchangeList) GetName() string
GetName returns the value of Name.
func (*TradeRecordExchangeList) MarshalJSON ¶
func (s *TradeRecordExchangeList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordExchangeList) SetCode ¶
func (s *TradeRecordExchangeList) SetCode(val string)
SetCode sets the value of Code.
func (*TradeRecordExchangeList) SetID ¶
func (s *TradeRecordExchangeList) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordExchangeList) SetName ¶
func (s *TradeRecordExchangeList) SetName(val string)
SetName sets the value of Name.
func (*TradeRecordExchangeList) UnmarshalJSON ¶
func (s *TradeRecordExchangeList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeRecordList ¶
type TradeRecordList struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeRecordList
func NewTradeRecordList ¶
func NewTradeRecordList(e *ent.TradeRecord) *TradeRecordList
func NewTradeRecordLists ¶
func NewTradeRecordLists(es []*ent.TradeRecord) []TradeRecordList
func (*TradeRecordList) Decode ¶
func (s *TradeRecordList) Decode(d *jx.Decoder) error
Decode decodes TradeRecordList from json.
func (*TradeRecordList) Elem ¶
func (tr *TradeRecordList) Elem() TradeRecordList
func (*TradeRecordList) Encode ¶
func (s *TradeRecordList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordList) GetID ¶
func (s *TradeRecordList) GetID() int
GetID returns the value of ID.
func (*TradeRecordList) GetPrice ¶
func (s *TradeRecordList) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeRecordList) GetTimeRangeID ¶
func (s *TradeRecordList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeRecordList) GetTimestamp ¶
func (s *TradeRecordList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeRecordList) GetVolume ¶
func (s *TradeRecordList) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeRecordList) MarshalJSON ¶
func (s *TradeRecordList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordList) SetID ¶
func (s *TradeRecordList) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordList) SetPrice ¶
func (s *TradeRecordList) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeRecordList) SetTimeRangeID ¶
func (s *TradeRecordList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeRecordList) SetTimestamp ¶
func (s *TradeRecordList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeRecordList) SetVolume ¶
func (s *TradeRecordList) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeRecordList) UnmarshalJSON ¶
func (s *TradeRecordList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeRecordList) Validate ¶
func (s *TradeRecordList) Validate() error
type TradeRecordRead ¶
type TradeRecordRead struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeRecordRead
func NewTradeRecordRead ¶
func NewTradeRecordRead(e *ent.TradeRecord) *TradeRecordRead
func NewTradeRecordReads ¶
func NewTradeRecordReads(es []*ent.TradeRecord) []TradeRecordRead
func (*TradeRecordRead) Decode ¶
func (s *TradeRecordRead) Decode(d *jx.Decoder) error
Decode decodes TradeRecordRead from json.
func (*TradeRecordRead) Elem ¶
func (tr *TradeRecordRead) Elem() TradeRecordRead
func (*TradeRecordRead) Encode ¶
func (s *TradeRecordRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordRead) GetID ¶
func (s *TradeRecordRead) GetID() int
GetID returns the value of ID.
func (*TradeRecordRead) GetPrice ¶
func (s *TradeRecordRead) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeRecordRead) GetTimeRangeID ¶
func (s *TradeRecordRead) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeRecordRead) GetTimestamp ¶
func (s *TradeRecordRead) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeRecordRead) GetVolume ¶
func (s *TradeRecordRead) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeRecordRead) MarshalJSON ¶
func (s *TradeRecordRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordRead) SetID ¶
func (s *TradeRecordRead) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordRead) SetPrice ¶
func (s *TradeRecordRead) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeRecordRead) SetTimeRangeID ¶
func (s *TradeRecordRead) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeRecordRead) SetTimestamp ¶
func (s *TradeRecordRead) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeRecordRead) SetVolume ¶
func (s *TradeRecordRead) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeRecordRead) UnmarshalJSON ¶
func (s *TradeRecordRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeRecordRead) Validate ¶
func (s *TradeRecordRead) Validate() error
type TradeRecordTimeRangeRead ¶
type TradeRecordTimeRangeRead struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/TradeRecord_TimeRangeRead
func NewTradeRecordTimeRangeRead ¶
func NewTradeRecordTimeRangeRead(e *ent.TradeTimeRange) *TradeRecordTimeRangeRead
func NewTradeRecordTimeRangeReads ¶
func NewTradeRecordTimeRangeReads(es []*ent.TradeTimeRange) []TradeRecordTimeRangeRead
func (*TradeRecordTimeRangeRead) Decode ¶
func (s *TradeRecordTimeRangeRead) Decode(d *jx.Decoder) error
Decode decodes TradeRecordTimeRangeRead from json.
func (*TradeRecordTimeRangeRead) Elem ¶
func (ttr *TradeRecordTimeRangeRead) Elem() TradeRecordTimeRangeRead
func (*TradeRecordTimeRangeRead) Encode ¶
func (s *TradeRecordTimeRangeRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordTimeRangeRead) GetEnd ¶
func (s *TradeRecordTimeRangeRead) GetEnd() time.Time
GetEnd returns the value of End.
func (*TradeRecordTimeRangeRead) GetID ¶
func (s *TradeRecordTimeRangeRead) GetID() int
GetID returns the value of ID.
func (*TradeRecordTimeRangeRead) GetIntervalID ¶
func (s *TradeRecordTimeRangeRead) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*TradeRecordTimeRangeRead) GetStart ¶
func (s *TradeRecordTimeRangeRead) GetStart() time.Time
GetStart returns the value of Start.
func (*TradeRecordTimeRangeRead) MarshalJSON ¶
func (s *TradeRecordTimeRangeRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordTimeRangeRead) SetEnd ¶
func (s *TradeRecordTimeRangeRead) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*TradeRecordTimeRangeRead) SetID ¶
func (s *TradeRecordTimeRangeRead) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordTimeRangeRead) SetIntervalID ¶
func (s *TradeRecordTimeRangeRead) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*TradeRecordTimeRangeRead) SetStart ¶
func (s *TradeRecordTimeRangeRead) SetStart(val time.Time)
SetStart sets the value of Start.
func (*TradeRecordTimeRangeRead) UnmarshalJSON ¶
func (s *TradeRecordTimeRangeRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeRecordUpdate ¶
type TradeRecordUpdate struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeRecordUpdate
func NewTradeRecordUpdate ¶
func NewTradeRecordUpdate(e *ent.TradeRecord) *TradeRecordUpdate
func NewTradeRecordUpdates ¶
func NewTradeRecordUpdates(es []*ent.TradeRecord) []TradeRecordUpdate
func (*TradeRecordUpdate) Decode ¶
func (s *TradeRecordUpdate) Decode(d *jx.Decoder) error
Decode decodes TradeRecordUpdate from json.
func (*TradeRecordUpdate) Elem ¶
func (tr *TradeRecordUpdate) Elem() TradeRecordUpdate
func (*TradeRecordUpdate) Encode ¶
func (s *TradeRecordUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeRecordUpdate) GetID ¶
func (s *TradeRecordUpdate) GetID() int
GetID returns the value of ID.
func (*TradeRecordUpdate) GetPrice ¶
func (s *TradeRecordUpdate) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeRecordUpdate) GetTimeRangeID ¶
func (s *TradeRecordUpdate) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeRecordUpdate) GetTimestamp ¶
func (s *TradeRecordUpdate) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeRecordUpdate) GetVolume ¶
func (s *TradeRecordUpdate) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeRecordUpdate) MarshalJSON ¶
func (s *TradeRecordUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeRecordUpdate) SetID ¶
func (s *TradeRecordUpdate) SetID(val int)
SetID sets the value of ID.
func (*TradeRecordUpdate) SetPrice ¶
func (s *TradeRecordUpdate) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeRecordUpdate) SetTimeRangeID ¶
func (s *TradeRecordUpdate) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeRecordUpdate) SetTimestamp ¶
func (s *TradeRecordUpdate) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeRecordUpdate) SetVolume ¶
func (s *TradeRecordUpdate) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeRecordUpdate) UnmarshalJSON ¶
func (s *TradeRecordUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeRecordUpdate) Validate ¶
func (s *TradeRecordUpdate) Validate() error
type TradeTimeRangeCreate ¶
type TradeTimeRangeCreate struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/TradeTimeRangeCreate
func NewTradeTimeRangeCreate ¶
func NewTradeTimeRangeCreate(e *ent.TradeTimeRange) *TradeTimeRangeCreate
func NewTradeTimeRangeCreates ¶
func NewTradeTimeRangeCreates(es []*ent.TradeTimeRange) []TradeTimeRangeCreate
func (*TradeTimeRangeCreate) Decode ¶
func (s *TradeTimeRangeCreate) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeCreate from json.
func (*TradeTimeRangeCreate) Elem ¶
func (ttr *TradeTimeRangeCreate) Elem() TradeTimeRangeCreate
func (*TradeTimeRangeCreate) Encode ¶
func (s *TradeTimeRangeCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeCreate) GetEnd ¶
func (s *TradeTimeRangeCreate) GetEnd() time.Time
GetEnd returns the value of End.
func (*TradeTimeRangeCreate) GetID ¶
func (s *TradeTimeRangeCreate) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeCreate) GetIntervalID ¶
func (s *TradeTimeRangeCreate) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*TradeTimeRangeCreate) GetStart ¶
func (s *TradeTimeRangeCreate) GetStart() time.Time
GetStart returns the value of Start.
func (*TradeTimeRangeCreate) MarshalJSON ¶
func (s *TradeTimeRangeCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeCreate) SetEnd ¶
func (s *TradeTimeRangeCreate) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*TradeTimeRangeCreate) SetID ¶
func (s *TradeTimeRangeCreate) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeCreate) SetIntervalID ¶
func (s *TradeTimeRangeCreate) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*TradeTimeRangeCreate) SetStart ¶
func (s *TradeTimeRangeCreate) SetStart(val time.Time)
SetStart sets the value of Start.
func (*TradeTimeRangeCreate) UnmarshalJSON ¶
func (s *TradeTimeRangeCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeTimeRangeIntervalRead ¶
type TradeTimeRangeIntervalRead struct { ID int `json:"id"` Active bool `json:"active"` Interval TradeTimeRangeIntervalReadInterval `json:"interval"` StockID int `json:"stock_id"` DataSourceID int `json:"data_source_id"` }
Ref: #/components/schemas/TradeTimeRange_IntervalRead
func NewTradeTimeRangeIntervalRead ¶
func NewTradeTimeRangeIntervalRead(e *ent.Interval) *TradeTimeRangeIntervalRead
func NewTradeTimeRangeIntervalReads ¶
func NewTradeTimeRangeIntervalReads(es []*ent.Interval) []TradeTimeRangeIntervalRead
func (*TradeTimeRangeIntervalRead) Decode ¶
func (s *TradeTimeRangeIntervalRead) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeIntervalRead from json.
func (*TradeTimeRangeIntervalRead) Elem ¶
func (i *TradeTimeRangeIntervalRead) Elem() TradeTimeRangeIntervalRead
func (*TradeTimeRangeIntervalRead) Encode ¶
func (s *TradeTimeRangeIntervalRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeIntervalRead) GetActive ¶
func (s *TradeTimeRangeIntervalRead) GetActive() bool
GetActive returns the value of Active.
func (*TradeTimeRangeIntervalRead) GetDataSourceID ¶
func (s *TradeTimeRangeIntervalRead) GetDataSourceID() int
GetDataSourceID returns the value of DataSourceID.
func (*TradeTimeRangeIntervalRead) GetID ¶
func (s *TradeTimeRangeIntervalRead) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeIntervalRead) GetInterval ¶
func (s *TradeTimeRangeIntervalRead) GetInterval() TradeTimeRangeIntervalReadInterval
GetInterval returns the value of Interval.
func (*TradeTimeRangeIntervalRead) GetStockID ¶
func (s *TradeTimeRangeIntervalRead) GetStockID() int
GetStockID returns the value of StockID.
func (*TradeTimeRangeIntervalRead) MarshalJSON ¶
func (s *TradeTimeRangeIntervalRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeIntervalRead) SetActive ¶
func (s *TradeTimeRangeIntervalRead) SetActive(val bool)
SetActive sets the value of Active.
func (*TradeTimeRangeIntervalRead) SetDataSourceID ¶
func (s *TradeTimeRangeIntervalRead) SetDataSourceID(val int)
SetDataSourceID sets the value of DataSourceID.
func (*TradeTimeRangeIntervalRead) SetID ¶
func (s *TradeTimeRangeIntervalRead) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeIntervalRead) SetInterval ¶
func (s *TradeTimeRangeIntervalRead) SetInterval(val TradeTimeRangeIntervalReadInterval)
SetInterval sets the value of Interval.
func (*TradeTimeRangeIntervalRead) SetStockID ¶
func (s *TradeTimeRangeIntervalRead) SetStockID(val int)
SetStockID sets the value of StockID.
func (*TradeTimeRangeIntervalRead) UnmarshalJSON ¶
func (s *TradeTimeRangeIntervalRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeTimeRangeIntervalRead) Validate ¶
func (s *TradeTimeRangeIntervalRead) Validate() error
type TradeTimeRangeIntervalReadInterval ¶
type TradeTimeRangeIntervalReadInterval string
const ( TradeTimeRangeIntervalReadIntervalTrades TradeTimeRangeIntervalReadInterval = "trades" TradeTimeRangeIntervalReadInterval1min TradeTimeRangeIntervalReadInterval = "1min" TradeTimeRangeIntervalReadIntervalDaily TradeTimeRangeIntervalReadInterval = "daily" TradeTimeRangeIntervalReadIntervalMonthly TradeTimeRangeIntervalReadInterval = "monthly" TradeTimeRangeIntervalReadIntervalYearly TradeTimeRangeIntervalReadInterval = "yearly" )
func (*TradeTimeRangeIntervalReadInterval) Decode ¶
func (s *TradeTimeRangeIntervalReadInterval) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeIntervalReadInterval from json.
func (TradeTimeRangeIntervalReadInterval) Encode ¶
func (s TradeTimeRangeIntervalReadInterval) Encode(e *jx.Encoder)
Encode encodes TradeTimeRangeIntervalReadInterval as json.
func (TradeTimeRangeIntervalReadInterval) MarshalJSON ¶
func (s TradeTimeRangeIntervalReadInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TradeTimeRangeIntervalReadInterval) MarshalText ¶
func (s TradeTimeRangeIntervalReadInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TradeTimeRangeIntervalReadInterval) UnmarshalJSON ¶
func (s *TradeTimeRangeIntervalReadInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeTimeRangeIntervalReadInterval) UnmarshalText ¶
func (s *TradeTimeRangeIntervalReadInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TradeTimeRangeIntervalReadInterval) Validate ¶
func (s TradeTimeRangeIntervalReadInterval) Validate() error
type TradeTimeRangeList ¶
type TradeTimeRangeList struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/TradeTimeRangeList
func NewTradeTimeRangeList ¶
func NewTradeTimeRangeList(e *ent.TradeTimeRange) *TradeTimeRangeList
func NewTradeTimeRangeLists ¶
func NewTradeTimeRangeLists(es []*ent.TradeTimeRange) []TradeTimeRangeList
func (*TradeTimeRangeList) Decode ¶
func (s *TradeTimeRangeList) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeList from json.
func (*TradeTimeRangeList) Elem ¶
func (ttr *TradeTimeRangeList) Elem() TradeTimeRangeList
func (*TradeTimeRangeList) Encode ¶
func (s *TradeTimeRangeList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeList) GetEnd ¶
func (s *TradeTimeRangeList) GetEnd() time.Time
GetEnd returns the value of End.
func (*TradeTimeRangeList) GetID ¶
func (s *TradeTimeRangeList) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeList) GetIntervalID ¶
func (s *TradeTimeRangeList) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*TradeTimeRangeList) GetStart ¶
func (s *TradeTimeRangeList) GetStart() time.Time
GetStart returns the value of Start.
func (*TradeTimeRangeList) MarshalJSON ¶
func (s *TradeTimeRangeList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeList) SetEnd ¶
func (s *TradeTimeRangeList) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*TradeTimeRangeList) SetID ¶
func (s *TradeTimeRangeList) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeList) SetIntervalID ¶
func (s *TradeTimeRangeList) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*TradeTimeRangeList) SetStart ¶
func (s *TradeTimeRangeList) SetStart(val time.Time)
SetStart sets the value of Start.
func (*TradeTimeRangeList) UnmarshalJSON ¶
func (s *TradeTimeRangeList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeTimeRangeRead ¶
type TradeTimeRangeRead struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/TradeTimeRangeRead
func NewTradeTimeRangeRead ¶
func NewTradeTimeRangeRead(e *ent.TradeTimeRange) *TradeTimeRangeRead
func NewTradeTimeRangeReads ¶
func NewTradeTimeRangeReads(es []*ent.TradeTimeRange) []TradeTimeRangeRead
func (*TradeTimeRangeRead) Decode ¶
func (s *TradeTimeRangeRead) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeRead from json.
func (*TradeTimeRangeRead) Elem ¶
func (ttr *TradeTimeRangeRead) Elem() TradeTimeRangeRead
func (*TradeTimeRangeRead) Encode ¶
func (s *TradeTimeRangeRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeRead) GetEnd ¶
func (s *TradeTimeRangeRead) GetEnd() time.Time
GetEnd returns the value of End.
func (*TradeTimeRangeRead) GetID ¶
func (s *TradeTimeRangeRead) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeRead) GetIntervalID ¶
func (s *TradeTimeRangeRead) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*TradeTimeRangeRead) GetStart ¶
func (s *TradeTimeRangeRead) GetStart() time.Time
GetStart returns the value of Start.
func (*TradeTimeRangeRead) MarshalJSON ¶
func (s *TradeTimeRangeRead) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeRead) SetEnd ¶
func (s *TradeTimeRangeRead) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*TradeTimeRangeRead) SetID ¶
func (s *TradeTimeRangeRead) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeRead) SetIntervalID ¶
func (s *TradeTimeRangeRead) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*TradeTimeRangeRead) SetStart ¶
func (s *TradeTimeRangeRead) SetStart(val time.Time)
SetStart sets the value of Start.
func (*TradeTimeRangeRead) UnmarshalJSON ¶
func (s *TradeTimeRangeRead) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TradeTimeRangeRecordsList ¶
type TradeTimeRangeRecordsList struct { ID int `json:"id"` Price float64 `json:"price"` Timestamp time.Time `json:"timestamp"` Volume int32 `json:"volume"` TimeRangeID int `json:"time_range_id"` }
Ref: #/components/schemas/TradeTimeRange_RecordsList
func NewTradeTimeRangeRecordsList ¶
func NewTradeTimeRangeRecordsList(e *ent.TradeRecord) *TradeTimeRangeRecordsList
func NewTradeTimeRangeRecordsLists ¶
func NewTradeTimeRangeRecordsLists(es []*ent.TradeRecord) []TradeTimeRangeRecordsList
func (*TradeTimeRangeRecordsList) Decode ¶
func (s *TradeTimeRangeRecordsList) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeRecordsList from json.
func (*TradeTimeRangeRecordsList) Elem ¶
func (tr *TradeTimeRangeRecordsList) Elem() TradeTimeRangeRecordsList
func (*TradeTimeRangeRecordsList) Encode ¶
func (s *TradeTimeRangeRecordsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeRecordsList) GetID ¶
func (s *TradeTimeRangeRecordsList) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeRecordsList) GetPrice ¶
func (s *TradeTimeRangeRecordsList) GetPrice() float64
GetPrice returns the value of Price.
func (*TradeTimeRangeRecordsList) GetTimeRangeID ¶
func (s *TradeTimeRangeRecordsList) GetTimeRangeID() int
GetTimeRangeID returns the value of TimeRangeID.
func (*TradeTimeRangeRecordsList) GetTimestamp ¶
func (s *TradeTimeRangeRecordsList) GetTimestamp() time.Time
GetTimestamp returns the value of Timestamp.
func (*TradeTimeRangeRecordsList) GetVolume ¶
func (s *TradeTimeRangeRecordsList) GetVolume() int32
GetVolume returns the value of Volume.
func (*TradeTimeRangeRecordsList) MarshalJSON ¶
func (s *TradeTimeRangeRecordsList) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeRecordsList) SetID ¶
func (s *TradeTimeRangeRecordsList) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeRecordsList) SetPrice ¶
func (s *TradeTimeRangeRecordsList) SetPrice(val float64)
SetPrice sets the value of Price.
func (*TradeTimeRangeRecordsList) SetTimeRangeID ¶
func (s *TradeTimeRangeRecordsList) SetTimeRangeID(val int)
SetTimeRangeID sets the value of TimeRangeID.
func (*TradeTimeRangeRecordsList) SetTimestamp ¶
func (s *TradeTimeRangeRecordsList) SetTimestamp(val time.Time)
SetTimestamp sets the value of Timestamp.
func (*TradeTimeRangeRecordsList) SetVolume ¶
func (s *TradeTimeRangeRecordsList) SetVolume(val int32)
SetVolume sets the value of Volume.
func (*TradeTimeRangeRecordsList) UnmarshalJSON ¶
func (s *TradeTimeRangeRecordsList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TradeTimeRangeRecordsList) Validate ¶
func (s *TradeTimeRangeRecordsList) Validate() error
type TradeTimeRangeUpdate ¶
type TradeTimeRangeUpdate struct { ID int `json:"id"` Start time.Time `json:"start"` End time.Time `json:"end"` IntervalID int `json:"interval_id"` }
Ref: #/components/schemas/TradeTimeRangeUpdate
func NewTradeTimeRangeUpdate ¶
func NewTradeTimeRangeUpdate(e *ent.TradeTimeRange) *TradeTimeRangeUpdate
func NewTradeTimeRangeUpdates ¶
func NewTradeTimeRangeUpdates(es []*ent.TradeTimeRange) []TradeTimeRangeUpdate
func (*TradeTimeRangeUpdate) Decode ¶
func (s *TradeTimeRangeUpdate) Decode(d *jx.Decoder) error
Decode decodes TradeTimeRangeUpdate from json.
func (*TradeTimeRangeUpdate) Elem ¶
func (ttr *TradeTimeRangeUpdate) Elem() TradeTimeRangeUpdate
func (*TradeTimeRangeUpdate) Encode ¶
func (s *TradeTimeRangeUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TradeTimeRangeUpdate) GetEnd ¶
func (s *TradeTimeRangeUpdate) GetEnd() time.Time
GetEnd returns the value of End.
func (*TradeTimeRangeUpdate) GetID ¶
func (s *TradeTimeRangeUpdate) GetID() int
GetID returns the value of ID.
func (*TradeTimeRangeUpdate) GetIntervalID ¶
func (s *TradeTimeRangeUpdate) GetIntervalID() int
GetIntervalID returns the value of IntervalID.
func (*TradeTimeRangeUpdate) GetStart ¶
func (s *TradeTimeRangeUpdate) GetStart() time.Time
GetStart returns the value of Start.
func (*TradeTimeRangeUpdate) MarshalJSON ¶
func (s *TradeTimeRangeUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TradeTimeRangeUpdate) SetEnd ¶
func (s *TradeTimeRangeUpdate) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*TradeTimeRangeUpdate) SetID ¶
func (s *TradeTimeRangeUpdate) SetID(val int)
SetID sets the value of ID.
func (*TradeTimeRangeUpdate) SetIntervalID ¶
func (s *TradeTimeRangeUpdate) SetIntervalID(val int)
SetIntervalID sets the value of IntervalID.
func (*TradeTimeRangeUpdate) SetStart ¶
func (s *TradeTimeRangeUpdate) SetStart(val time.Time)
SetStart sets the value of Start.
func (*TradeTimeRangeUpdate) UnmarshalJSON ¶
func (s *TradeTimeRangeUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) AddTicker ¶
func (UnimplementedHandler) AddTicker(ctx context.Context, params AddTickerParams) error
AddTicker implements addTicker operation.
Queue for adding entities by ticker.
POST /rest/entities/add/{ticker}
func (UnimplementedHandler) CreateBarGroup ¶
func (UnimplementedHandler) CreateBarGroup(ctx context.Context, req *CreateBarGroupReq) (r CreateBarGroupRes, _ error)
CreateBarGroup implements createBarGroup operation.
Creates a new BarGroup and persists it to storage.
POST /rest/bar-groups
func (UnimplementedHandler) CreateBarRecord ¶
func (UnimplementedHandler) CreateBarRecord(ctx context.Context, req *CreateBarRecordReq) (r CreateBarRecordRes, _ error)
CreateBarRecord implements createBarRecord operation.
Creates a new BarRecord and persists it to storage.
POST /rest/bar-records
func (UnimplementedHandler) CreateBarTimeRange ¶
func (UnimplementedHandler) CreateBarTimeRange(ctx context.Context, req *CreateBarTimeRangeReq) (r CreateBarTimeRangeRes, _ error)
CreateBarTimeRange implements createBarTimeRange operation.
Creates a new BarTimeRange and persists it to storage.
POST /rest/bar-time-ranges
func (UnimplementedHandler) CreateDataSource ¶
func (UnimplementedHandler) CreateDataSource(ctx context.Context, req *CreateDataSourceReq) (r CreateDataSourceRes, _ error)
CreateDataSource implements createDataSource operation.
Creates a new DataSource and persists it to storage.
POST /rest/data-sources
func (UnimplementedHandler) CreateDividend ¶
func (UnimplementedHandler) CreateDividend(ctx context.Context, req *CreateDividendReq) (r CreateDividendRes, _ error)
CreateDividend implements createDividend operation.
Creates a new Dividend and persists it to storage.
POST /rest/dividends
func (UnimplementedHandler) CreateEntity ¶
func (UnimplementedHandler) CreateEntity(ctx context.Context, req *CreateEntityReq) (r CreateEntityRes, _ error)
CreateEntity implements createEntity operation.
Creates a new Entity and persists it to storage.
POST /rest/entities
func (UnimplementedHandler) CreateExchange ¶
func (UnimplementedHandler) CreateExchange(ctx context.Context, req *CreateExchangeReq) (r CreateExchangeRes, _ error)
CreateExchange implements createExchange operation.
Creates a new Exchange and persists it to storage.
POST /rest/exchanges
func (UnimplementedHandler) CreateFinancial ¶
func (UnimplementedHandler) CreateFinancial(ctx context.Context, req *CreateFinancialReq) (r CreateFinancialRes, _ error)
CreateFinancial implements createFinancial operation.
Creates a new Financial and persists it to storage.
POST /rest/financials
func (UnimplementedHandler) CreateInterval ¶
func (UnimplementedHandler) CreateInterval(ctx context.Context, req *CreateIntervalReq) (r CreateIntervalRes, _ error)
CreateInterval implements createInterval operation.
Creates a new Interval and persists it to storage.
POST /rest/intervals
func (UnimplementedHandler) CreateMarketHours ¶
func (UnimplementedHandler) CreateMarketHours(ctx context.Context, req *CreateMarketHoursReq) (r CreateMarketHoursRes, _ error)
CreateMarketHours implements createMarketHours operation.
Creates a new MarketHours and persists it to storage.
POST /rest/market-hours
func (UnimplementedHandler) CreateMarketInfo ¶
func (UnimplementedHandler) CreateMarketInfo(ctx context.Context, req *CreateMarketInfoReq) (r CreateMarketInfoRes, _ error)
CreateMarketInfo implements createMarketInfo operation.
Creates a new MarketInfo and persists it to storage.
POST /rest/market-infos
func (UnimplementedHandler) CreateSplit ¶
func (UnimplementedHandler) CreateSplit(ctx context.Context, req *CreateSplitReq) (r CreateSplitRes, _ error)
CreateSplit implements createSplit operation.
Creates a new Split and persists it to storage.
POST /rest/splits
func (UnimplementedHandler) CreateTradeCondition ¶
func (UnimplementedHandler) CreateTradeCondition(ctx context.Context, req *CreateTradeConditionReq) (r CreateTradeConditionRes, _ error)
CreateTradeCondition implements createTradeCondition operation.
Creates a new TradeCondition and persists it to storage.
POST /rest/trade-conditions
func (UnimplementedHandler) CreateTradeCorrection ¶
func (UnimplementedHandler) CreateTradeCorrection(ctx context.Context, req *CreateTradeCorrectionReq) (r CreateTradeCorrectionRes, _ error)
CreateTradeCorrection implements createTradeCorrection operation.
Creates a new TradeCorrection and persists it to storage.
POST /rest/trade-corrections
func (UnimplementedHandler) CreateTradeRecord ¶
func (UnimplementedHandler) CreateTradeRecord(ctx context.Context, req *CreateTradeRecordReq) (r CreateTradeRecordRes, _ error)
CreateTradeRecord implements createTradeRecord operation.
Creates a new TradeRecord and persists it to storage.
POST /rest/trade-records
func (UnimplementedHandler) CreateTradeTimeRange ¶
func (UnimplementedHandler) CreateTradeTimeRange(ctx context.Context, req *CreateTradeTimeRangeReq) (r CreateTradeTimeRangeRes, _ error)
CreateTradeTimeRange implements createTradeTimeRange operation.
Creates a new TradeTimeRange and persists it to storage.
POST /rest/trade-time-ranges
func (UnimplementedHandler) DeleteBarGroup ¶
func (UnimplementedHandler) DeleteBarGroup(ctx context.Context, params DeleteBarGroupParams) (r DeleteBarGroupRes, _ error)
DeleteBarGroup implements deleteBarGroup operation.
Deletes the BarGroup with the requested ID.
DELETE /rest/bar-groups/{id}
func (UnimplementedHandler) DeleteBarRecord ¶
func (UnimplementedHandler) DeleteBarRecord(ctx context.Context, params DeleteBarRecordParams) (r DeleteBarRecordRes, _ error)
DeleteBarRecord implements deleteBarRecord operation.
Deletes the BarRecord with the requested ID.
DELETE /rest/bar-records/{id}
func (UnimplementedHandler) DeleteBarTimeRange ¶
func (UnimplementedHandler) DeleteBarTimeRange(ctx context.Context, params DeleteBarTimeRangeParams) (r DeleteBarTimeRangeRes, _ error)
DeleteBarTimeRange implements deleteBarTimeRange operation.
Deletes the BarTimeRange with the requested ID.
DELETE /rest/bar-time-ranges/{id}
func (UnimplementedHandler) DeleteDataSource ¶
func (UnimplementedHandler) DeleteDataSource(ctx context.Context, params DeleteDataSourceParams) (r DeleteDataSourceRes, _ error)
DeleteDataSource implements deleteDataSource operation.
Deletes the DataSource with the requested ID.
DELETE /rest/data-sources/{id}
func (UnimplementedHandler) DeleteDividend ¶
func (UnimplementedHandler) DeleteDividend(ctx context.Context, params DeleteDividendParams) (r DeleteDividendRes, _ error)
DeleteDividend implements deleteDividend operation.
Deletes the Dividend with the requested ID.
DELETE /rest/dividends/{id}
func (UnimplementedHandler) DeleteEntity ¶
func (UnimplementedHandler) DeleteEntity(ctx context.Context, params DeleteEntityParams) (r DeleteEntityRes, _ error)
DeleteEntity implements deleteEntity operation.
Deletes the Entity with the requested ID.
DELETE /rest/entities/{id}
func (UnimplementedHandler) DeleteExchange ¶
func (UnimplementedHandler) DeleteExchange(ctx context.Context, params DeleteExchangeParams) (r DeleteExchangeRes, _ error)
DeleteExchange implements deleteExchange operation.
Deletes the Exchange with the requested ID.
DELETE /rest/exchanges/{id}
func (UnimplementedHandler) DeleteFinancial ¶
func (UnimplementedHandler) DeleteFinancial(ctx context.Context, params DeleteFinancialParams) (r DeleteFinancialRes, _ error)
DeleteFinancial implements deleteFinancial operation.
Deletes the Financial with the requested ID.
DELETE /rest/financials/{id}
func (UnimplementedHandler) DeleteInterval ¶
func (UnimplementedHandler) DeleteInterval(ctx context.Context, params DeleteIntervalParams) (r DeleteIntervalRes, _ error)
DeleteInterval implements deleteInterval operation.
Deletes the Interval with the requested ID.
DELETE /rest/intervals/{id}
func (UnimplementedHandler) DeleteMarketHours ¶
func (UnimplementedHandler) DeleteMarketHours(ctx context.Context, params DeleteMarketHoursParams) (r DeleteMarketHoursRes, _ error)
DeleteMarketHours implements deleteMarketHours operation.
Deletes the MarketHours with the requested ID.
DELETE /rest/market-hours/{id}
func (UnimplementedHandler) DeleteMarketInfo ¶
func (UnimplementedHandler) DeleteMarketInfo(ctx context.Context, params DeleteMarketInfoParams) (r DeleteMarketInfoRes, _ error)
DeleteMarketInfo implements deleteMarketInfo operation.
Deletes the MarketInfo with the requested ID.
DELETE /rest/market-infos/{id}
func (UnimplementedHandler) DeleteSplit ¶
func (UnimplementedHandler) DeleteSplit(ctx context.Context, params DeleteSplitParams) (r DeleteSplitRes, _ error)
DeleteSplit implements deleteSplit operation.
Deletes the Split with the requested ID.
DELETE /rest/splits/{id}
func (UnimplementedHandler) DeleteTradeCondition ¶
func (UnimplementedHandler) DeleteTradeCondition(ctx context.Context, params DeleteTradeConditionParams) (r DeleteTradeConditionRes, _ error)
DeleteTradeCondition implements deleteTradeCondition operation.
Deletes the TradeCondition with the requested ID.
DELETE /rest/trade-conditions/{id}
func (UnimplementedHandler) DeleteTradeCorrection ¶
func (UnimplementedHandler) DeleteTradeCorrection(ctx context.Context, params DeleteTradeCorrectionParams) (r DeleteTradeCorrectionRes, _ error)
DeleteTradeCorrection implements deleteTradeCorrection operation.
Deletes the TradeCorrection with the requested ID.
DELETE /rest/trade-corrections/{id}
func (UnimplementedHandler) DeleteTradeRecord ¶
func (UnimplementedHandler) DeleteTradeRecord(ctx context.Context, params DeleteTradeRecordParams) (r DeleteTradeRecordRes, _ error)
DeleteTradeRecord implements deleteTradeRecord operation.
Deletes the TradeRecord with the requested ID.
DELETE /rest/trade-records/{id}
func (UnimplementedHandler) DeleteTradeTimeRange ¶
func (UnimplementedHandler) DeleteTradeTimeRange(ctx context.Context, params DeleteTradeTimeRangeParams) (r DeleteTradeTimeRangeRes, _ error)
DeleteTradeTimeRange implements deleteTradeTimeRange operation.
Deletes the TradeTimeRange with the requested ID.
DELETE /rest/trade-time-ranges/{id}
func (UnimplementedHandler) ListBarGroup ¶
func (UnimplementedHandler) ListBarGroup(ctx context.Context, params ListBarGroupParams) (r ListBarGroupRes, _ error)
ListBarGroup implements listBarGroup operation.
List BarGroups.
GET /rest/bar-groups
func (UnimplementedHandler) ListBarGroupRecords ¶
func (UnimplementedHandler) ListBarGroupRecords(ctx context.Context, params ListBarGroupRecordsParams) (r ListBarGroupRecordsRes, _ error)
ListBarGroupRecords implements listBarGroupRecords operation.
List attached Records.
GET /rest/bar-groups/{id}/records
func (UnimplementedHandler) ListBarRecord ¶
func (UnimplementedHandler) ListBarRecord(ctx context.Context, params ListBarRecordParams) (r ListBarRecordRes, _ error)
ListBarRecord implements listBarRecord operation.
List BarRecords.
GET /rest/bar-records
func (UnimplementedHandler) ListBarTimeRange ¶
func (UnimplementedHandler) ListBarTimeRange(ctx context.Context, params ListBarTimeRangeParams) (r ListBarTimeRangeRes, _ error)
ListBarTimeRange implements listBarTimeRange operation.
List BarTimeRanges.
GET /rest/bar-time-ranges
func (UnimplementedHandler) ListBarTimeRangeGroups ¶
func (UnimplementedHandler) ListBarTimeRangeGroups(ctx context.Context, params ListBarTimeRangeGroupsParams) (r ListBarTimeRangeGroupsRes, _ error)
ListBarTimeRangeGroups implements listBarTimeRangeGroups operation.
List attached Groups.
GET /rest/bar-time-ranges/{id}/groups
func (UnimplementedHandler) ListDataSource ¶
func (UnimplementedHandler) ListDataSource(ctx context.Context, params ListDataSourceParams) (r ListDataSourceRes, _ error)
ListDataSource implements listDataSource operation.
List DataSources.
GET /rest/data-sources
func (UnimplementedHandler) ListDataSourceIntervals ¶
func (UnimplementedHandler) ListDataSourceIntervals(ctx context.Context, params ListDataSourceIntervalsParams) (r ListDataSourceIntervalsRes, _ error)
ListDataSourceIntervals implements listDataSourceIntervals operation.
List attached Intervals.
GET /rest/data-sources/{id}/intervals
func (UnimplementedHandler) ListDividend ¶
func (UnimplementedHandler) ListDividend(ctx context.Context, params ListDividendParams) (r ListDividendRes, _ error)
ListDividend implements listDividend operation.
List Dividends.
GET /rest/dividends
func (UnimplementedHandler) ListDividendStock ¶
func (UnimplementedHandler) ListDividendStock(ctx context.Context, params ListDividendStockParams) (r ListDividendStockRes, _ error)
ListDividendStock implements listDividendStock operation.
List attached Stocks.
GET /rest/dividends/{id}/stock
func (UnimplementedHandler) ListEntity ¶
func (UnimplementedHandler) ListEntity(ctx context.Context, params ListEntityParams) (r ListEntityRes, _ error)
ListEntity implements listEntity operation.
List Entities.
GET /rest/entities
func (UnimplementedHandler) ListEntityDividends ¶
func (UnimplementedHandler) ListEntityDividends(ctx context.Context, params ListEntityDividendsParams) (r ListEntityDividendsRes, _ error)
ListEntityDividends implements listEntityDividends operation.
List attached Dividends.
GET /rest/entities/{id}/dividends
func (UnimplementedHandler) ListEntityExchanges ¶
func (UnimplementedHandler) ListEntityExchanges(ctx context.Context, params ListEntityExchangesParams) (r ListEntityExchangesRes, _ error)
ListEntityExchanges implements listEntityExchanges operation.
List attached Exchanges.
GET /rest/entities/{id}/exchanges
func (UnimplementedHandler) ListEntityFinancials ¶
func (UnimplementedHandler) ListEntityFinancials(ctx context.Context, params ListEntityFinancialsParams) (r ListEntityFinancialsRes, _ error)
ListEntityFinancials implements listEntityFinancials operation.
List attached Financials.
GET /rest/entities/{id}/financials
func (UnimplementedHandler) ListEntityIntervals ¶
func (UnimplementedHandler) ListEntityIntervals(ctx context.Context, params ListEntityIntervalsParams) (r ListEntityIntervalsRes, _ error)
ListEntityIntervals implements listEntityIntervals operation.
List attached Intervals.
GET /rest/entities/{id}/intervals
func (UnimplementedHandler) ListEntitySplits ¶
func (UnimplementedHandler) ListEntitySplits(ctx context.Context, params ListEntitySplitsParams) (r ListEntitySplitsRes, _ error)
ListEntitySplits implements listEntitySplits operation.
List attached Splits.
GET /rest/entities/{id}/splits
func (UnimplementedHandler) ListExchange ¶
func (UnimplementedHandler) ListExchange(ctx context.Context, params ListExchangeParams) (r ListExchangeRes, _ error)
ListExchange implements listExchange operation.
List Exchanges.
GET /rest/exchanges
func (UnimplementedHandler) ListExchangeStocks ¶
func (UnimplementedHandler) ListExchangeStocks(ctx context.Context, params ListExchangeStocksParams) (r ListExchangeStocksRes, _ error)
ListExchangeStocks implements listExchangeStocks operation.
List attached Stocks.
GET /rest/exchanges/{id}/stocks
func (UnimplementedHandler) ListFinancial ¶
func (UnimplementedHandler) ListFinancial(ctx context.Context, params ListFinancialParams) (r ListFinancialRes, _ error)
ListFinancial implements listFinancial operation.
List Financials.
GET /rest/financials
func (UnimplementedHandler) ListFinancialStock ¶
func (UnimplementedHandler) ListFinancialStock(ctx context.Context, params ListFinancialStockParams) (r ListFinancialStockRes, _ error)
ListFinancialStock implements listFinancialStock operation.
List attached Stocks.
GET /rest/financials/{id}/stock
func (UnimplementedHandler) ListInterval ¶
func (UnimplementedHandler) ListInterval(ctx context.Context, params ListIntervalParams) (r ListIntervalRes, _ error)
ListInterval implements listInterval operation.
List Intervals.
GET /rest/intervals
func (UnimplementedHandler) ListIntervalBars ¶
func (UnimplementedHandler) ListIntervalBars(ctx context.Context, params ListIntervalBarsParams) (r ListIntervalBarsRes, _ error)
ListIntervalBars implements listIntervalBars operation.
List attached Bars.
GET /rest/intervals/{id}/bars
func (UnimplementedHandler) ListIntervalTrades ¶
func (UnimplementedHandler) ListIntervalTrades(ctx context.Context, params ListIntervalTradesParams) (r ListIntervalTradesRes, _ error)
ListIntervalTrades implements listIntervalTrades operation.
List attached Trades.
GET /rest/intervals/{id}/trades
func (UnimplementedHandler) ListMarketHours ¶
func (UnimplementedHandler) ListMarketHours(ctx context.Context, params ListMarketHoursParams) (r ListMarketHoursRes, _ error)
ListMarketHours implements listMarketHours operation.
List MarketHours.
GET /rest/market-hours
func (UnimplementedHandler) ListMarketInfo ¶
func (UnimplementedHandler) ListMarketInfo(ctx context.Context, params ListMarketInfoParams) (r ListMarketInfoRes, _ error)
ListMarketInfo implements listMarketInfo operation.
List MarketInfos.
GET /rest/market-infos
func (UnimplementedHandler) ListMarketInfoHours ¶
func (UnimplementedHandler) ListMarketInfoHours(ctx context.Context, params ListMarketInfoHoursParams) (r ListMarketInfoHoursRes, _ error)
ListMarketInfoHours implements listMarketInfoHours operation.
List attached Hours.
GET /rest/market-infos/{id}/hours
func (UnimplementedHandler) ListSplit ¶
func (UnimplementedHandler) ListSplit(ctx context.Context, params ListSplitParams) (r ListSplitRes, _ error)
ListSplit implements listSplit operation.
List Splits.
GET /rest/splits
func (UnimplementedHandler) ListTradeCondition ¶
func (UnimplementedHandler) ListTradeCondition(ctx context.Context, params ListTradeConditionParams) (r ListTradeConditionRes, _ error)
ListTradeCondition implements listTradeCondition operation.
List TradeConditions.
GET /rest/trade-conditions
func (UnimplementedHandler) ListTradeConditionRecord ¶
func (UnimplementedHandler) ListTradeConditionRecord(ctx context.Context, params ListTradeConditionRecordParams) (r ListTradeConditionRecordRes, _ error)
ListTradeConditionRecord implements listTradeConditionRecord operation.
List attached Records.
GET /rest/trade-conditions/{id}/record
func (UnimplementedHandler) ListTradeCorrection ¶
func (UnimplementedHandler) ListTradeCorrection(ctx context.Context, params ListTradeCorrectionParams) (r ListTradeCorrectionRes, _ error)
ListTradeCorrection implements listTradeCorrection operation.
List TradeCorrections.
GET /rest/trade-corrections
func (UnimplementedHandler) ListTradeCorrectionRecord ¶
func (UnimplementedHandler) ListTradeCorrectionRecord(ctx context.Context, params ListTradeCorrectionRecordParams) (r ListTradeCorrectionRecordRes, _ error)
ListTradeCorrectionRecord implements listTradeCorrectionRecord operation.
List attached Records.
GET /rest/trade-corrections/{id}/record
func (UnimplementedHandler) ListTradeRecord ¶
func (UnimplementedHandler) ListTradeRecord(ctx context.Context, params ListTradeRecordParams) (r ListTradeRecordRes, _ error)
ListTradeRecord implements listTradeRecord operation.
List TradeRecords.
GET /rest/trade-records
func (UnimplementedHandler) ListTradeRecordConditions ¶
func (UnimplementedHandler) ListTradeRecordConditions(ctx context.Context, params ListTradeRecordConditionsParams) (r ListTradeRecordConditionsRes, _ error)
ListTradeRecordConditions implements listTradeRecordConditions operation.
List attached Conditions.
GET /rest/trade-records/{id}/conditions
func (UnimplementedHandler) ListTradeRecordCorrection ¶
func (UnimplementedHandler) ListTradeRecordCorrection(ctx context.Context, params ListTradeRecordCorrectionParams) (r ListTradeRecordCorrectionRes, _ error)
ListTradeRecordCorrection implements listTradeRecordCorrection operation.
List attached Corrections.
GET /rest/trade-records/{id}/correction
func (UnimplementedHandler) ListTradeRecordExchange ¶
func (UnimplementedHandler) ListTradeRecordExchange(ctx context.Context, params ListTradeRecordExchangeParams) (r ListTradeRecordExchangeRes, _ error)
ListTradeRecordExchange implements listTradeRecordExchange operation.
List attached Exchanges.
GET /rest/trade-records/{id}/exchange
func (UnimplementedHandler) ListTradeTimeRange ¶
func (UnimplementedHandler) ListTradeTimeRange(ctx context.Context, params ListTradeTimeRangeParams) (r ListTradeTimeRangeRes, _ error)
ListTradeTimeRange implements listTradeTimeRange operation.
List TradeTimeRanges.
GET /rest/trade-time-ranges
func (UnimplementedHandler) ListTradeTimeRangeRecords ¶
func (UnimplementedHandler) ListTradeTimeRangeRecords(ctx context.Context, params ListTradeTimeRangeRecordsParams) (r ListTradeTimeRangeRecordsRes, _ error)
ListTradeTimeRangeRecords implements listTradeTimeRangeRecords operation.
List attached Records.
GET /rest/trade-time-ranges/{id}/records
func (UnimplementedHandler) ReadBarGroup ¶
func (UnimplementedHandler) ReadBarGroup(ctx context.Context, params ReadBarGroupParams) (r ReadBarGroupRes, _ error)
ReadBarGroup implements readBarGroup operation.
Finds the BarGroup with the requested ID and returns it.
GET /rest/bar-groups/{id}
func (UnimplementedHandler) ReadBarGroupTimeRange ¶
func (UnimplementedHandler) ReadBarGroupTimeRange(ctx context.Context, params ReadBarGroupTimeRangeParams) (r ReadBarGroupTimeRangeRes, _ error)
ReadBarGroupTimeRange implements readBarGroupTimeRange operation.
Find the attached BarTimeRange of the BarGroup with the given ID.
GET /rest/bar-groups/{id}/time-range
func (UnimplementedHandler) ReadBarRecord ¶
func (UnimplementedHandler) ReadBarRecord(ctx context.Context, params ReadBarRecordParams) (r ReadBarRecordRes, _ error)
ReadBarRecord implements readBarRecord operation.
Finds the BarRecord with the requested ID and returns it.
GET /rest/bar-records/{id}
func (UnimplementedHandler) ReadBarRecordGroup ¶
func (UnimplementedHandler) ReadBarRecordGroup(ctx context.Context, params ReadBarRecordGroupParams) (r ReadBarRecordGroupRes, _ error)
ReadBarRecordGroup implements readBarRecordGroup operation.
Find the attached BarGroup of the BarRecord with the given ID.
GET /rest/bar-records/{id}/group
func (UnimplementedHandler) ReadBarTimeRange ¶
func (UnimplementedHandler) ReadBarTimeRange(ctx context.Context, params ReadBarTimeRangeParams) (r ReadBarTimeRangeRes, _ error)
ReadBarTimeRange implements readBarTimeRange operation.
Finds the BarTimeRange with the requested ID and returns it.
GET /rest/bar-time-ranges/{id}
func (UnimplementedHandler) ReadBarTimeRangeInterval ¶
func (UnimplementedHandler) ReadBarTimeRangeInterval(ctx context.Context, params ReadBarTimeRangeIntervalParams) (r ReadBarTimeRangeIntervalRes, _ error)
ReadBarTimeRangeInterval implements readBarTimeRangeInterval operation.
Find the attached Interval of the BarTimeRange with the given ID.
GET /rest/bar-time-ranges/{id}/interval
func (UnimplementedHandler) ReadDataSource ¶
func (UnimplementedHandler) ReadDataSource(ctx context.Context, params ReadDataSourceParams) (r ReadDataSourceRes, _ error)
ReadDataSource implements readDataSource operation.
Finds the DataSource with the requested ID and returns it.
GET /rest/data-sources/{id}
func (UnimplementedHandler) ReadDividend ¶
func (UnimplementedHandler) ReadDividend(ctx context.Context, params ReadDividendParams) (r ReadDividendRes, _ error)
ReadDividend implements readDividend operation.
Finds the Dividend with the requested ID and returns it.
GET /rest/dividends/{id}
func (UnimplementedHandler) ReadEntity ¶
func (UnimplementedHandler) ReadEntity(ctx context.Context, params ReadEntityParams) (r ReadEntityRes, _ error)
ReadEntity implements readEntity operation.
Finds the Entity with the requested ID and returns it.
GET /rest/entities/{id}
func (UnimplementedHandler) ReadExchange ¶
func (UnimplementedHandler) ReadExchange(ctx context.Context, params ReadExchangeParams) (r ReadExchangeRes, _ error)
ReadExchange implements readExchange operation.
Finds the Exchange with the requested ID and returns it.
GET /rest/exchanges/{id}
func (UnimplementedHandler) ReadFinancial ¶
func (UnimplementedHandler) ReadFinancial(ctx context.Context, params ReadFinancialParams) (r ReadFinancialRes, _ error)
ReadFinancial implements readFinancial operation.
Finds the Financial with the requested ID and returns it.
GET /rest/financials/{id}
func (UnimplementedHandler) ReadInterval ¶
func (UnimplementedHandler) ReadInterval(ctx context.Context, params ReadIntervalParams) (r ReadIntervalRes, _ error)
ReadInterval implements readInterval operation.
Finds the Interval with the requested ID and returns it.
GET /rest/intervals/{id}
func (UnimplementedHandler) ReadIntervalDataSource ¶
func (UnimplementedHandler) ReadIntervalDataSource(ctx context.Context, params ReadIntervalDataSourceParams) (r ReadIntervalDataSourceRes, _ error)
ReadIntervalDataSource implements readIntervalDataSource operation.
Find the attached DataSource of the Interval with the given ID.
GET /rest/intervals/{id}/data-source
func (UnimplementedHandler) ReadIntervalStock ¶
func (UnimplementedHandler) ReadIntervalStock(ctx context.Context, params ReadIntervalStockParams) (r ReadIntervalStockRes, _ error)
ReadIntervalStock implements readIntervalStock operation.
Find the attached Entity of the Interval with the given ID.
GET /rest/intervals/{id}/stock
func (UnimplementedHandler) ReadMarketHours ¶
func (UnimplementedHandler) ReadMarketHours(ctx context.Context, params ReadMarketHoursParams) (r ReadMarketHoursRes, _ error)
ReadMarketHours implements readMarketHours operation.
Finds the MarketHours with the requested ID and returns it.
GET /rest/market-hours/{id}
func (UnimplementedHandler) ReadMarketHoursMarketInfo ¶
func (UnimplementedHandler) ReadMarketHoursMarketInfo(ctx context.Context, params ReadMarketHoursMarketInfoParams) (r ReadMarketHoursMarketInfoRes, _ error)
ReadMarketHoursMarketInfo implements readMarketHoursMarketInfo operation.
Find the attached MarketInfo of the MarketHours with the given ID.
GET /rest/market-hours/{id}/market-info
func (UnimplementedHandler) ReadMarketInfo ¶
func (UnimplementedHandler) ReadMarketInfo(ctx context.Context, params ReadMarketInfoParams) (r ReadMarketInfoRes, _ error)
ReadMarketInfo implements readMarketInfo operation.
Finds the MarketInfo with the requested ID and returns it.
GET /rest/market-infos/{id}
func (UnimplementedHandler) ReadSplit ¶
func (UnimplementedHandler) ReadSplit(ctx context.Context, params ReadSplitParams) (r ReadSplitRes, _ error)
ReadSplit implements readSplit operation.
Finds the Split with the requested ID and returns it.
GET /rest/splits/{id}
func (UnimplementedHandler) ReadSplitStock ¶
func (UnimplementedHandler) ReadSplitStock(ctx context.Context, params ReadSplitStockParams) (r ReadSplitStockRes, _ error)
ReadSplitStock implements readSplitStock operation.
Find the attached Entity of the Split with the given ID.
GET /rest/splits/{id}/stock
func (UnimplementedHandler) ReadTradeCondition ¶
func (UnimplementedHandler) ReadTradeCondition(ctx context.Context, params ReadTradeConditionParams) (r ReadTradeConditionRes, _ error)
ReadTradeCondition implements readTradeCondition operation.
Finds the TradeCondition with the requested ID and returns it.
GET /rest/trade-conditions/{id}
func (UnimplementedHandler) ReadTradeCorrection ¶
func (UnimplementedHandler) ReadTradeCorrection(ctx context.Context, params ReadTradeCorrectionParams) (r ReadTradeCorrectionRes, _ error)
ReadTradeCorrection implements readTradeCorrection operation.
Finds the TradeCorrection with the requested ID and returns it.
GET /rest/trade-corrections/{id}
func (UnimplementedHandler) ReadTradeRecord ¶
func (UnimplementedHandler) ReadTradeRecord(ctx context.Context, params ReadTradeRecordParams) (r ReadTradeRecordRes, _ error)
ReadTradeRecord implements readTradeRecord operation.
Finds the TradeRecord with the requested ID and returns it.
GET /rest/trade-records/{id}
func (UnimplementedHandler) ReadTradeRecordTimeRange ¶
func (UnimplementedHandler) ReadTradeRecordTimeRange(ctx context.Context, params ReadTradeRecordTimeRangeParams) (r ReadTradeRecordTimeRangeRes, _ error)
ReadTradeRecordTimeRange implements readTradeRecordTimeRange operation.
Find the attached TradeTimeRange of the TradeRecord with the given ID.
GET /rest/trade-records/{id}/time-range
func (UnimplementedHandler) ReadTradeTimeRange ¶
func (UnimplementedHandler) ReadTradeTimeRange(ctx context.Context, params ReadTradeTimeRangeParams) (r ReadTradeTimeRangeRes, _ error)
ReadTradeTimeRange implements readTradeTimeRange operation.
Finds the TradeTimeRange with the requested ID and returns it.
GET /rest/trade-time-ranges/{id}
func (UnimplementedHandler) ReadTradeTimeRangeInterval ¶
func (UnimplementedHandler) ReadTradeTimeRangeInterval(ctx context.Context, params ReadTradeTimeRangeIntervalParams) (r ReadTradeTimeRangeIntervalRes, _ error)
ReadTradeTimeRangeInterval implements readTradeTimeRangeInterval operation.
Find the attached Interval of the TradeTimeRange with the given ID.
GET /rest/trade-time-ranges/{id}/interval
func (UnimplementedHandler) SearchTicker ¶
func (UnimplementedHandler) SearchTicker(ctx context.Context, params SearchTickerParams) (r *SearchTickerOK, _ error)
SearchTicker implements searchTicker operation.
Searches for entities by ticker.
GET /rest/search/{ticker}
func (UnimplementedHandler) UpdateBarGroup ¶
func (UnimplementedHandler) UpdateBarGroup(ctx context.Context, req *UpdateBarGroupReq, params UpdateBarGroupParams) (r UpdateBarGroupRes, _ error)
UpdateBarGroup implements updateBarGroup operation.
Updates a BarGroup and persists changes to storage.
PATCH /rest/bar-groups/{id}
func (UnimplementedHandler) UpdateBarRecord ¶
func (UnimplementedHandler) UpdateBarRecord(ctx context.Context, req *UpdateBarRecordReq, params UpdateBarRecordParams) (r UpdateBarRecordRes, _ error)
UpdateBarRecord implements updateBarRecord operation.
Updates a BarRecord and persists changes to storage.
PATCH /rest/bar-records/{id}
func (UnimplementedHandler) UpdateBarTimeRange ¶
func (UnimplementedHandler) UpdateBarTimeRange(ctx context.Context, req *UpdateBarTimeRangeReq, params UpdateBarTimeRangeParams) (r UpdateBarTimeRangeRes, _ error)
UpdateBarTimeRange implements updateBarTimeRange operation.
Updates a BarTimeRange and persists changes to storage.
PATCH /rest/bar-time-ranges/{id}
func (UnimplementedHandler) UpdateDataSource ¶
func (UnimplementedHandler) UpdateDataSource(ctx context.Context, req *UpdateDataSourceReq, params UpdateDataSourceParams) (r UpdateDataSourceRes, _ error)
UpdateDataSource implements updateDataSource operation.
Updates a DataSource and persists changes to storage.
PATCH /rest/data-sources/{id}
func (UnimplementedHandler) UpdateDividend ¶
func (UnimplementedHandler) UpdateDividend(ctx context.Context, req *UpdateDividendReq, params UpdateDividendParams) (r UpdateDividendRes, _ error)
UpdateDividend implements updateDividend operation.
Updates a Dividend and persists changes to storage.
PATCH /rest/dividends/{id}
func (UnimplementedHandler) UpdateEntity ¶
func (UnimplementedHandler) UpdateEntity(ctx context.Context, req *UpdateEntityReq, params UpdateEntityParams) (r UpdateEntityRes, _ error)
UpdateEntity implements updateEntity operation.
Updates a Entity and persists changes to storage.
PATCH /rest/entities/{id}
func (UnimplementedHandler) UpdateExchange ¶
func (UnimplementedHandler) UpdateExchange(ctx context.Context, req *UpdateExchangeReq, params UpdateExchangeParams) (r UpdateExchangeRes, _ error)
UpdateExchange implements updateExchange operation.
Updates a Exchange and persists changes to storage.
PATCH /rest/exchanges/{id}
func (UnimplementedHandler) UpdateFinancial ¶
func (UnimplementedHandler) UpdateFinancial(ctx context.Context, req *UpdateFinancialReq, params UpdateFinancialParams) (r UpdateFinancialRes, _ error)
UpdateFinancial implements updateFinancial operation.
Updates a Financial and persists changes to storage.
PATCH /rest/financials/{id}
func (UnimplementedHandler) UpdateInterval ¶
func (UnimplementedHandler) UpdateInterval(ctx context.Context, req *UpdateIntervalReq, params UpdateIntervalParams) (r UpdateIntervalRes, _ error)
UpdateInterval implements updateInterval operation.
Updates a Interval and persists changes to storage.
PATCH /rest/intervals/{id}
func (UnimplementedHandler) UpdateMarketHours ¶
func (UnimplementedHandler) UpdateMarketHours(ctx context.Context, req *UpdateMarketHoursReq, params UpdateMarketHoursParams) (r UpdateMarketHoursRes, _ error)
UpdateMarketHours implements updateMarketHours operation.
Updates a MarketHours and persists changes to storage.
PATCH /rest/market-hours/{id}
func (UnimplementedHandler) UpdateMarketInfo ¶
func (UnimplementedHandler) UpdateMarketInfo(ctx context.Context, req *UpdateMarketInfoReq, params UpdateMarketInfoParams) (r UpdateMarketInfoRes, _ error)
UpdateMarketInfo implements updateMarketInfo operation.
Updates a MarketInfo and persists changes to storage.
PATCH /rest/market-infos/{id}
func (UnimplementedHandler) UpdateSplit ¶
func (UnimplementedHandler) UpdateSplit(ctx context.Context, req *UpdateSplitReq, params UpdateSplitParams) (r UpdateSplitRes, _ error)
UpdateSplit implements updateSplit operation.
Updates a Split and persists changes to storage.
PATCH /rest/splits/{id}
func (UnimplementedHandler) UpdateTradeCondition ¶
func (UnimplementedHandler) UpdateTradeCondition(ctx context.Context, req *UpdateTradeConditionReq, params UpdateTradeConditionParams) (r UpdateTradeConditionRes, _ error)
UpdateTradeCondition implements updateTradeCondition operation.
Updates a TradeCondition and persists changes to storage.
PATCH /rest/trade-conditions/{id}
func (UnimplementedHandler) UpdateTradeCorrection ¶
func (UnimplementedHandler) UpdateTradeCorrection(ctx context.Context, req *UpdateTradeCorrectionReq, params UpdateTradeCorrectionParams) (r UpdateTradeCorrectionRes, _ error)
UpdateTradeCorrection implements updateTradeCorrection operation.
Updates a TradeCorrection and persists changes to storage.
PATCH /rest/trade-corrections/{id}
func (UnimplementedHandler) UpdateTradeRecord ¶
func (UnimplementedHandler) UpdateTradeRecord(ctx context.Context, req *UpdateTradeRecordReq, params UpdateTradeRecordParams) (r UpdateTradeRecordRes, _ error)
UpdateTradeRecord implements updateTradeRecord operation.
Updates a TradeRecord and persists changes to storage.
PATCH /rest/trade-records/{id}
func (UnimplementedHandler) UpdateTradeTimeRange ¶
func (UnimplementedHandler) UpdateTradeTimeRange(ctx context.Context, req *UpdateTradeTimeRangeReq, params UpdateTradeTimeRangeParams) (r UpdateTradeTimeRangeRes, _ error)
UpdateTradeTimeRange implements updateTradeTimeRange operation.
Updates a TradeTimeRange and persists changes to storage.
PATCH /rest/trade-time-ranges/{id}
type UpdateBarGroupParams ¶
type UpdateBarGroupParams struct { // ID of the BarGroup. ID int }
UpdateBarGroupParams is parameters of updateBarGroup operation.
type UpdateBarGroupReq ¶
type UpdateBarGroupReq struct { First OptDateTime `json:"first"` Last OptDateTime `json:"last"` Count OptInt `json:"count"` TimeRangeID OptInt `json:"time_range_id"` TimeRange OptInt `json:"time_range"` Records []int `json:"records"` }
func (*UpdateBarGroupReq) Decode ¶
func (s *UpdateBarGroupReq) Decode(d *jx.Decoder) error
Decode decodes UpdateBarGroupReq from json.
func (*UpdateBarGroupReq) Encode ¶
func (s *UpdateBarGroupReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateBarGroupReq) GetCount ¶
func (s *UpdateBarGroupReq) GetCount() OptInt
GetCount returns the value of Count.
func (*UpdateBarGroupReq) GetFirst ¶
func (s *UpdateBarGroupReq) GetFirst() OptDateTime
GetFirst returns the value of First.
func (*UpdateBarGroupReq) GetLast ¶
func (s *UpdateBarGroupReq) GetLast() OptDateTime
GetLast returns the value of Last.
func (*UpdateBarGroupReq) GetRecords ¶
func (s *UpdateBarGroupReq) GetRecords() []int
GetRecords returns the value of Records.
func (*UpdateBarGroupReq) GetTimeRange ¶
func (s *UpdateBarGroupReq) GetTimeRange() OptInt
GetTimeRange returns the value of TimeRange.
func (*UpdateBarGroupReq) GetTimeRangeID ¶
func (s *UpdateBarGroupReq) GetTimeRangeID() OptInt
GetTimeRangeID returns the value of TimeRangeID.
func (*UpdateBarGroupReq) MarshalJSON ¶
func (s *UpdateBarGroupReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateBarGroupReq) SetCount ¶
func (s *UpdateBarGroupReq) SetCount(val OptInt)
SetCount sets the value of Count.
func (*UpdateBarGroupReq) SetFirst ¶
func (s *UpdateBarGroupReq) SetFirst(val OptDateTime)
SetFirst sets the value of First.
func (*UpdateBarGroupReq) SetLast ¶
func (s *UpdateBarGroupReq) SetLast(val OptDateTime)
SetLast sets the value of Last.
func (*UpdateBarGroupReq) SetRecords ¶
func (s *UpdateBarGroupReq) SetRecords(val []int)
SetRecords sets the value of Records.
func (*UpdateBarGroupReq) SetTimeRange ¶
func (s *UpdateBarGroupReq) SetTimeRange(val OptInt)
SetTimeRange sets the value of TimeRange.
func (*UpdateBarGroupReq) SetTimeRangeID ¶
func (s *UpdateBarGroupReq) SetTimeRangeID(val OptInt)
SetTimeRangeID sets the value of TimeRangeID.
func (*UpdateBarGroupReq) UnmarshalJSON ¶
func (s *UpdateBarGroupReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateBarGroupRes ¶
type UpdateBarGroupRes interface {
// contains filtered or unexported methods
}
type UpdateBarRecordParams ¶
type UpdateBarRecordParams struct { // ID of the BarRecord. ID int }
UpdateBarRecordParams is parameters of updateBarRecord operation.
type UpdateBarRecordReq ¶
type UpdateBarRecordReq struct { Close OptFloat64 `json:"close"` High OptFloat64 `json:"high"` Low OptFloat64 `json:"low"` Open OptFloat64 `json:"open"` Timestamp OptDateTime `json:"timestamp"` Volume OptFloat64 `json:"volume"` Transactions OptInt32 `json:"transactions"` Group OptInt `json:"group"` }
func (*UpdateBarRecordReq) Decode ¶
func (s *UpdateBarRecordReq) Decode(d *jx.Decoder) error
Decode decodes UpdateBarRecordReq from json.
func (*UpdateBarRecordReq) Encode ¶
func (s *UpdateBarRecordReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateBarRecordReq) GetClose ¶
func (s *UpdateBarRecordReq) GetClose() OptFloat64
GetClose returns the value of Close.
func (*UpdateBarRecordReq) GetGroup ¶
func (s *UpdateBarRecordReq) GetGroup() OptInt
GetGroup returns the value of Group.
func (*UpdateBarRecordReq) GetHigh ¶
func (s *UpdateBarRecordReq) GetHigh() OptFloat64
GetHigh returns the value of High.
func (*UpdateBarRecordReq) GetLow ¶
func (s *UpdateBarRecordReq) GetLow() OptFloat64
GetLow returns the value of Low.
func (*UpdateBarRecordReq) GetOpen ¶
func (s *UpdateBarRecordReq) GetOpen() OptFloat64
GetOpen returns the value of Open.
func (*UpdateBarRecordReq) GetTimestamp ¶
func (s *UpdateBarRecordReq) GetTimestamp() OptDateTime
GetTimestamp returns the value of Timestamp.
func (*UpdateBarRecordReq) GetTransactions ¶
func (s *UpdateBarRecordReq) GetTransactions() OptInt32
GetTransactions returns the value of Transactions.
func (*UpdateBarRecordReq) GetVolume ¶
func (s *UpdateBarRecordReq) GetVolume() OptFloat64
GetVolume returns the value of Volume.
func (*UpdateBarRecordReq) MarshalJSON ¶
func (s *UpdateBarRecordReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateBarRecordReq) SetClose ¶
func (s *UpdateBarRecordReq) SetClose(val OptFloat64)
SetClose sets the value of Close.
func (*UpdateBarRecordReq) SetGroup ¶
func (s *UpdateBarRecordReq) SetGroup(val OptInt)
SetGroup sets the value of Group.
func (*UpdateBarRecordReq) SetHigh ¶
func (s *UpdateBarRecordReq) SetHigh(val OptFloat64)
SetHigh sets the value of High.
func (*UpdateBarRecordReq) SetLow ¶
func (s *UpdateBarRecordReq) SetLow(val OptFloat64)
SetLow sets the value of Low.
func (*UpdateBarRecordReq) SetOpen ¶
func (s *UpdateBarRecordReq) SetOpen(val OptFloat64)
SetOpen sets the value of Open.
func (*UpdateBarRecordReq) SetTimestamp ¶
func (s *UpdateBarRecordReq) SetTimestamp(val OptDateTime)
SetTimestamp sets the value of Timestamp.
func (*UpdateBarRecordReq) SetTransactions ¶
func (s *UpdateBarRecordReq) SetTransactions(val OptInt32)
SetTransactions sets the value of Transactions.
func (*UpdateBarRecordReq) SetVolume ¶
func (s *UpdateBarRecordReq) SetVolume(val OptFloat64)
SetVolume sets the value of Volume.
func (*UpdateBarRecordReq) UnmarshalJSON ¶
func (s *UpdateBarRecordReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateBarRecordReq) Validate ¶
func (s *UpdateBarRecordReq) Validate() error
type UpdateBarRecordRes ¶
type UpdateBarRecordRes interface {
// contains filtered or unexported methods
}
type UpdateBarTimeRangeParams ¶
type UpdateBarTimeRangeParams struct { // ID of the BarTimeRange. ID int }
UpdateBarTimeRangeParams is parameters of updateBarTimeRange operation.
type UpdateBarTimeRangeReq ¶
type UpdateBarTimeRangeReq struct { Start OptDateTime `json:"start"` End OptDateTime `json:"end"` Count OptInt `json:"count"` IntervalID OptInt `json:"interval_id"` Status OptUpdateBarTimeRangeReqStatus `json:"status"` UpdateTime OptDateTime `json:"update_time"` Interval OptInt `json:"interval"` Groups []int `json:"groups"` }
func (*UpdateBarTimeRangeReq) Decode ¶
func (s *UpdateBarTimeRangeReq) Decode(d *jx.Decoder) error
Decode decodes UpdateBarTimeRangeReq from json.
func (*UpdateBarTimeRangeReq) Encode ¶
func (s *UpdateBarTimeRangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateBarTimeRangeReq) GetCount ¶
func (s *UpdateBarTimeRangeReq) GetCount() OptInt
GetCount returns the value of Count.
func (*UpdateBarTimeRangeReq) GetEnd ¶
func (s *UpdateBarTimeRangeReq) GetEnd() OptDateTime
GetEnd returns the value of End.
func (*UpdateBarTimeRangeReq) GetGroups ¶
func (s *UpdateBarTimeRangeReq) GetGroups() []int
GetGroups returns the value of Groups.
func (*UpdateBarTimeRangeReq) GetInterval ¶
func (s *UpdateBarTimeRangeReq) GetInterval() OptInt
GetInterval returns the value of Interval.
func (*UpdateBarTimeRangeReq) GetIntervalID ¶
func (s *UpdateBarTimeRangeReq) GetIntervalID() OptInt
GetIntervalID returns the value of IntervalID.
func (*UpdateBarTimeRangeReq) GetStart ¶
func (s *UpdateBarTimeRangeReq) GetStart() OptDateTime
GetStart returns the value of Start.
func (*UpdateBarTimeRangeReq) GetStatus ¶
func (s *UpdateBarTimeRangeReq) GetStatus() OptUpdateBarTimeRangeReqStatus
GetStatus returns the value of Status.
func (*UpdateBarTimeRangeReq) GetUpdateTime ¶
func (s *UpdateBarTimeRangeReq) GetUpdateTime() OptDateTime
GetUpdateTime returns the value of UpdateTime.
func (*UpdateBarTimeRangeReq) MarshalJSON ¶
func (s *UpdateBarTimeRangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateBarTimeRangeReq) SetCount ¶
func (s *UpdateBarTimeRangeReq) SetCount(val OptInt)
SetCount sets the value of Count.
func (*UpdateBarTimeRangeReq) SetEnd ¶
func (s *UpdateBarTimeRangeReq) SetEnd(val OptDateTime)
SetEnd sets the value of End.
func (*UpdateBarTimeRangeReq) SetGroups ¶
func (s *UpdateBarTimeRangeReq) SetGroups(val []int)
SetGroups sets the value of Groups.
func (*UpdateBarTimeRangeReq) SetInterval ¶
func (s *UpdateBarTimeRangeReq) SetInterval(val OptInt)
SetInterval sets the value of Interval.
func (*UpdateBarTimeRangeReq) SetIntervalID ¶
func (s *UpdateBarTimeRangeReq) SetIntervalID(val OptInt)
SetIntervalID sets the value of IntervalID.
func (*UpdateBarTimeRangeReq) SetStart ¶
func (s *UpdateBarTimeRangeReq) SetStart(val OptDateTime)
SetStart sets the value of Start.
func (*UpdateBarTimeRangeReq) SetStatus ¶
func (s *UpdateBarTimeRangeReq) SetStatus(val OptUpdateBarTimeRangeReqStatus)
SetStatus sets the value of Status.
func (*UpdateBarTimeRangeReq) SetUpdateTime ¶
func (s *UpdateBarTimeRangeReq) SetUpdateTime(val OptDateTime)
SetUpdateTime sets the value of UpdateTime.
func (*UpdateBarTimeRangeReq) UnmarshalJSON ¶
func (s *UpdateBarTimeRangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateBarTimeRangeReq) Validate ¶
func (s *UpdateBarTimeRangeReq) Validate() error
type UpdateBarTimeRangeReqStatus ¶
type UpdateBarTimeRangeReqStatus string
const ( UpdateBarTimeRangeReqStatusPending UpdateBarTimeRangeReqStatus = "pending" UpdateBarTimeRangeReqStatusCreated UpdateBarTimeRangeReqStatus = "created" UpdateBarTimeRangeReqStatusClean UpdateBarTimeRangeReqStatus = "clean" UpdateBarTimeRangeReqStatusConsolidated UpdateBarTimeRangeReqStatus = "consolidated" )
func (*UpdateBarTimeRangeReqStatus) Decode ¶
func (s *UpdateBarTimeRangeReqStatus) Decode(d *jx.Decoder) error
Decode decodes UpdateBarTimeRangeReqStatus from json.
func (UpdateBarTimeRangeReqStatus) Encode ¶
func (s UpdateBarTimeRangeReqStatus) Encode(e *jx.Encoder)
Encode encodes UpdateBarTimeRangeReqStatus as json.
func (UpdateBarTimeRangeReqStatus) MarshalJSON ¶
func (s UpdateBarTimeRangeReqStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateBarTimeRangeReqStatus) MarshalText ¶
func (s UpdateBarTimeRangeReqStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateBarTimeRangeReqStatus) UnmarshalJSON ¶
func (s *UpdateBarTimeRangeReqStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateBarTimeRangeReqStatus) UnmarshalText ¶
func (s *UpdateBarTimeRangeReqStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateBarTimeRangeReqStatus) Validate ¶
func (s UpdateBarTimeRangeReqStatus) Validate() error
type UpdateBarTimeRangeRes ¶
type UpdateBarTimeRangeRes interface {
// contains filtered or unexported methods
}
type UpdateDataSourceParams ¶
type UpdateDataSourceParams struct { // ID of the DataSource. ID int }
UpdateDataSourceParams is parameters of updateDataSource operation.
type UpdateDataSourceReq ¶
type UpdateDataSourceReq struct { Name OptString `json:"name"` Address OptString `json:"address"` Intervals []int `json:"intervals"` }
func (*UpdateDataSourceReq) Decode ¶
func (s *UpdateDataSourceReq) Decode(d *jx.Decoder) error
Decode decodes UpdateDataSourceReq from json.
func (*UpdateDataSourceReq) Encode ¶
func (s *UpdateDataSourceReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateDataSourceReq) GetAddress ¶
func (s *UpdateDataSourceReq) GetAddress() OptString
GetAddress returns the value of Address.
func (*UpdateDataSourceReq) GetIntervals ¶
func (s *UpdateDataSourceReq) GetIntervals() []int
GetIntervals returns the value of Intervals.
func (*UpdateDataSourceReq) GetName ¶
func (s *UpdateDataSourceReq) GetName() OptString
GetName returns the value of Name.
func (*UpdateDataSourceReq) MarshalJSON ¶
func (s *UpdateDataSourceReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateDataSourceReq) SetAddress ¶
func (s *UpdateDataSourceReq) SetAddress(val OptString)
SetAddress sets the value of Address.
func (*UpdateDataSourceReq) SetIntervals ¶
func (s *UpdateDataSourceReq) SetIntervals(val []int)
SetIntervals sets the value of Intervals.
func (*UpdateDataSourceReq) SetName ¶
func (s *UpdateDataSourceReq) SetName(val OptString)
SetName sets the value of Name.
func (*UpdateDataSourceReq) UnmarshalJSON ¶
func (s *UpdateDataSourceReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateDataSourceRes ¶
type UpdateDataSourceRes interface {
// contains filtered or unexported methods
}
type UpdateDividendParams ¶
type UpdateDividendParams struct { // ID of the Dividend. ID int }
UpdateDividendParams is parameters of updateDividend operation.
type UpdateDividendReq ¶
type UpdateDividendReq struct { CashAmount OptFloat64 `json:"cash_amount"` DeclarationDate OptDateTime `json:"declaration_date"` DividendType OptUpdateDividendReqDividendType `json:"dividend_type"` ExDividendDate OptDateTime `json:"ex_dividend_date"` Frequency OptInt `json:"frequency"` RecordDate OptDateTime `json:"record_date"` PayDate OptDateTime `json:"pay_date"` Stock []int `json:"stock"` }
func (*UpdateDividendReq) Decode ¶
func (s *UpdateDividendReq) Decode(d *jx.Decoder) error
Decode decodes UpdateDividendReq from json.
func (*UpdateDividendReq) Encode ¶
func (s *UpdateDividendReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateDividendReq) GetCashAmount ¶
func (s *UpdateDividendReq) GetCashAmount() OptFloat64
GetCashAmount returns the value of CashAmount.
func (*UpdateDividendReq) GetDeclarationDate ¶
func (s *UpdateDividendReq) GetDeclarationDate() OptDateTime
GetDeclarationDate returns the value of DeclarationDate.
func (*UpdateDividendReq) GetDividendType ¶
func (s *UpdateDividendReq) GetDividendType() OptUpdateDividendReqDividendType
GetDividendType returns the value of DividendType.
func (*UpdateDividendReq) GetExDividendDate ¶
func (s *UpdateDividendReq) GetExDividendDate() OptDateTime
GetExDividendDate returns the value of ExDividendDate.
func (*UpdateDividendReq) GetFrequency ¶
func (s *UpdateDividendReq) GetFrequency() OptInt
GetFrequency returns the value of Frequency.
func (*UpdateDividendReq) GetPayDate ¶
func (s *UpdateDividendReq) GetPayDate() OptDateTime
GetPayDate returns the value of PayDate.
func (*UpdateDividendReq) GetRecordDate ¶
func (s *UpdateDividendReq) GetRecordDate() OptDateTime
GetRecordDate returns the value of RecordDate.
func (*UpdateDividendReq) GetStock ¶
func (s *UpdateDividendReq) GetStock() []int
GetStock returns the value of Stock.
func (*UpdateDividendReq) MarshalJSON ¶
func (s *UpdateDividendReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateDividendReq) SetCashAmount ¶
func (s *UpdateDividendReq) SetCashAmount(val OptFloat64)
SetCashAmount sets the value of CashAmount.
func (*UpdateDividendReq) SetDeclarationDate ¶
func (s *UpdateDividendReq) SetDeclarationDate(val OptDateTime)
SetDeclarationDate sets the value of DeclarationDate.
func (*UpdateDividendReq) SetDividendType ¶
func (s *UpdateDividendReq) SetDividendType(val OptUpdateDividendReqDividendType)
SetDividendType sets the value of DividendType.
func (*UpdateDividendReq) SetExDividendDate ¶
func (s *UpdateDividendReq) SetExDividendDate(val OptDateTime)
SetExDividendDate sets the value of ExDividendDate.
func (*UpdateDividendReq) SetFrequency ¶
func (s *UpdateDividendReq) SetFrequency(val OptInt)
SetFrequency sets the value of Frequency.
func (*UpdateDividendReq) SetPayDate ¶
func (s *UpdateDividendReq) SetPayDate(val OptDateTime)
SetPayDate sets the value of PayDate.
func (*UpdateDividendReq) SetRecordDate ¶
func (s *UpdateDividendReq) SetRecordDate(val OptDateTime)
SetRecordDate sets the value of RecordDate.
func (*UpdateDividendReq) SetStock ¶
func (s *UpdateDividendReq) SetStock(val []int)
SetStock sets the value of Stock.
func (*UpdateDividendReq) UnmarshalJSON ¶
func (s *UpdateDividendReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateDividendReq) Validate ¶
func (s *UpdateDividendReq) Validate() error
type UpdateDividendReqDividendType ¶
type UpdateDividendReqDividendType string
const ( UpdateDividendReqDividendTypeCD UpdateDividendReqDividendType = "CD" UpdateDividendReqDividendTypeSC UpdateDividendReqDividendType = "SC" UpdateDividendReqDividendTypeLT UpdateDividendReqDividendType = "LT" UpdateDividendReqDividendTypeST UpdateDividendReqDividendType = "ST" )
func (*UpdateDividendReqDividendType) Decode ¶
func (s *UpdateDividendReqDividendType) Decode(d *jx.Decoder) error
Decode decodes UpdateDividendReqDividendType from json.
func (UpdateDividendReqDividendType) Encode ¶
func (s UpdateDividendReqDividendType) Encode(e *jx.Encoder)
Encode encodes UpdateDividendReqDividendType as json.
func (UpdateDividendReqDividendType) MarshalJSON ¶
func (s UpdateDividendReqDividendType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateDividendReqDividendType) MarshalText ¶
func (s UpdateDividendReqDividendType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateDividendReqDividendType) UnmarshalJSON ¶
func (s *UpdateDividendReqDividendType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateDividendReqDividendType) UnmarshalText ¶
func (s *UpdateDividendReqDividendType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateDividendReqDividendType) Validate ¶
func (s UpdateDividendReqDividendType) Validate() error
type UpdateDividendRes ¶
type UpdateDividendRes interface {
// contains filtered or unexported methods
}
type UpdateEntityParams ¶
type UpdateEntityParams struct { // ID of the Entity. ID int }
UpdateEntityParams is parameters of updateEntity operation.
type UpdateEntityReq ¶
type UpdateEntityReq struct { Active OptBool `json:"active"` Ticker OptString `json:"ticker"` Name OptString `json:"name"` Description OptString `json:"description"` ListDate OptDateTime `json:"list_date"` Delisted OptDateTime `json:"delisted"` Exchanges []int `json:"exchanges"` Intervals []int `json:"intervals"` Dividends []int `json:"dividends"` Splits []int `json:"splits"` Financials []int `json:"financials"` }
func (*UpdateEntityReq) Decode ¶
func (s *UpdateEntityReq) Decode(d *jx.Decoder) error
Decode decodes UpdateEntityReq from json.
func (*UpdateEntityReq) Encode ¶
func (s *UpdateEntityReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateEntityReq) GetActive ¶
func (s *UpdateEntityReq) GetActive() OptBool
GetActive returns the value of Active.
func (*UpdateEntityReq) GetDelisted ¶
func (s *UpdateEntityReq) GetDelisted() OptDateTime
GetDelisted returns the value of Delisted.
func (*UpdateEntityReq) GetDescription ¶
func (s *UpdateEntityReq) GetDescription() OptString
GetDescription returns the value of Description.
func (*UpdateEntityReq) GetDividends ¶
func (s *UpdateEntityReq) GetDividends() []int
GetDividends returns the value of Dividends.
func (*UpdateEntityReq) GetExchanges ¶
func (s *UpdateEntityReq) GetExchanges() []int
GetExchanges returns the value of Exchanges.
func (*UpdateEntityReq) GetFinancials ¶
func (s *UpdateEntityReq) GetFinancials() []int
GetFinancials returns the value of Financials.
func (*UpdateEntityReq) GetIntervals ¶
func (s *UpdateEntityReq) GetIntervals() []int
GetIntervals returns the value of Intervals.
func (*UpdateEntityReq) GetListDate ¶
func (s *UpdateEntityReq) GetListDate() OptDateTime
GetListDate returns the value of ListDate.
func (*UpdateEntityReq) GetName ¶
func (s *UpdateEntityReq) GetName() OptString
GetName returns the value of Name.
func (*UpdateEntityReq) GetSplits ¶
func (s *UpdateEntityReq) GetSplits() []int
GetSplits returns the value of Splits.
func (*UpdateEntityReq) GetTicker ¶
func (s *UpdateEntityReq) GetTicker() OptString
GetTicker returns the value of Ticker.
func (*UpdateEntityReq) MarshalJSON ¶
func (s *UpdateEntityReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateEntityReq) SetActive ¶
func (s *UpdateEntityReq) SetActive(val OptBool)
SetActive sets the value of Active.
func (*UpdateEntityReq) SetDelisted ¶
func (s *UpdateEntityReq) SetDelisted(val OptDateTime)
SetDelisted sets the value of Delisted.
func (*UpdateEntityReq) SetDescription ¶
func (s *UpdateEntityReq) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*UpdateEntityReq) SetDividends ¶
func (s *UpdateEntityReq) SetDividends(val []int)
SetDividends sets the value of Dividends.
func (*UpdateEntityReq) SetExchanges ¶
func (s *UpdateEntityReq) SetExchanges(val []int)
SetExchanges sets the value of Exchanges.
func (*UpdateEntityReq) SetFinancials ¶
func (s *UpdateEntityReq) SetFinancials(val []int)
SetFinancials sets the value of Financials.
func (*UpdateEntityReq) SetIntervals ¶
func (s *UpdateEntityReq) SetIntervals(val []int)
SetIntervals sets the value of Intervals.
func (*UpdateEntityReq) SetListDate ¶
func (s *UpdateEntityReq) SetListDate(val OptDateTime)
SetListDate sets the value of ListDate.
func (*UpdateEntityReq) SetName ¶
func (s *UpdateEntityReq) SetName(val OptString)
SetName sets the value of Name.
func (*UpdateEntityReq) SetSplits ¶
func (s *UpdateEntityReq) SetSplits(val []int)
SetSplits sets the value of Splits.
func (*UpdateEntityReq) SetTicker ¶
func (s *UpdateEntityReq) SetTicker(val OptString)
SetTicker sets the value of Ticker.
func (*UpdateEntityReq) UnmarshalJSON ¶
func (s *UpdateEntityReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateEntityRes ¶
type UpdateEntityRes interface {
// contains filtered or unexported methods
}
type UpdateExchangeParams ¶
type UpdateExchangeParams struct { // ID of the Exchange. ID int }
UpdateExchangeParams is parameters of updateExchange operation.
type UpdateExchangeReq ¶
type UpdateExchangeReq struct { Code OptString `json:"code"` Name OptString `json:"name"` Stocks []int `json:"stocks"` }
func (*UpdateExchangeReq) Decode ¶
func (s *UpdateExchangeReq) Decode(d *jx.Decoder) error
Decode decodes UpdateExchangeReq from json.
func (*UpdateExchangeReq) Encode ¶
func (s *UpdateExchangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateExchangeReq) GetCode ¶
func (s *UpdateExchangeReq) GetCode() OptString
GetCode returns the value of Code.
func (*UpdateExchangeReq) GetName ¶
func (s *UpdateExchangeReq) GetName() OptString
GetName returns the value of Name.
func (*UpdateExchangeReq) GetStocks ¶
func (s *UpdateExchangeReq) GetStocks() []int
GetStocks returns the value of Stocks.
func (*UpdateExchangeReq) MarshalJSON ¶
func (s *UpdateExchangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateExchangeReq) SetCode ¶
func (s *UpdateExchangeReq) SetCode(val OptString)
SetCode sets the value of Code.
func (*UpdateExchangeReq) SetName ¶
func (s *UpdateExchangeReq) SetName(val OptString)
SetName sets the value of Name.
func (*UpdateExchangeReq) SetStocks ¶
func (s *UpdateExchangeReq) SetStocks(val []int)
SetStocks sets the value of Stocks.
func (*UpdateExchangeReq) UnmarshalJSON ¶
func (s *UpdateExchangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateExchangeRes ¶
type UpdateExchangeRes interface {
// contains filtered or unexported methods
}
type UpdateFinancialParams ¶
type UpdateFinancialParams struct { // ID of the Financial. ID int }
UpdateFinancialParams is parameters of updateFinancial operation.
type UpdateFinancialReq ¶
type UpdateFinancialReq struct {
Stock []int `json:"stock"`
}
func (*UpdateFinancialReq) Decode ¶
func (s *UpdateFinancialReq) Decode(d *jx.Decoder) error
Decode decodes UpdateFinancialReq from json.
func (*UpdateFinancialReq) Encode ¶
func (s *UpdateFinancialReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateFinancialReq) GetStock ¶
func (s *UpdateFinancialReq) GetStock() []int
GetStock returns the value of Stock.
func (*UpdateFinancialReq) MarshalJSON ¶
func (s *UpdateFinancialReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateFinancialReq) SetStock ¶
func (s *UpdateFinancialReq) SetStock(val []int)
SetStock sets the value of Stock.
func (*UpdateFinancialReq) UnmarshalJSON ¶
func (s *UpdateFinancialReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateFinancialRes ¶
type UpdateFinancialRes interface {
// contains filtered or unexported methods
}
type UpdateIntervalParams ¶
type UpdateIntervalParams struct { // ID of the Interval. ID int }
UpdateIntervalParams is parameters of updateInterval operation.
type UpdateIntervalReq ¶
type UpdateIntervalReq struct { Active OptBool `json:"active"` Interval OptUpdateIntervalReqInterval `json:"interval"` StockID OptInt `json:"stock_id"` DataSourceID OptInt `json:"data_source_id"` DataSource OptInt `json:"data_source"` Stock OptInt `json:"stock"` Bars []int `json:"bars"` Trades []int `json:"trades"` }
func (*UpdateIntervalReq) Decode ¶
func (s *UpdateIntervalReq) Decode(d *jx.Decoder) error
Decode decodes UpdateIntervalReq from json.
func (*UpdateIntervalReq) Encode ¶
func (s *UpdateIntervalReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateIntervalReq) GetActive ¶
func (s *UpdateIntervalReq) GetActive() OptBool
GetActive returns the value of Active.
func (*UpdateIntervalReq) GetBars ¶
func (s *UpdateIntervalReq) GetBars() []int
GetBars returns the value of Bars.
func (*UpdateIntervalReq) GetDataSource ¶
func (s *UpdateIntervalReq) GetDataSource() OptInt
GetDataSource returns the value of DataSource.
func (*UpdateIntervalReq) GetDataSourceID ¶
func (s *UpdateIntervalReq) GetDataSourceID() OptInt
GetDataSourceID returns the value of DataSourceID.
func (*UpdateIntervalReq) GetInterval ¶
func (s *UpdateIntervalReq) GetInterval() OptUpdateIntervalReqInterval
GetInterval returns the value of Interval.
func (*UpdateIntervalReq) GetStock ¶
func (s *UpdateIntervalReq) GetStock() OptInt
GetStock returns the value of Stock.
func (*UpdateIntervalReq) GetStockID ¶
func (s *UpdateIntervalReq) GetStockID() OptInt
GetStockID returns the value of StockID.
func (*UpdateIntervalReq) GetTrades ¶
func (s *UpdateIntervalReq) GetTrades() []int
GetTrades returns the value of Trades.
func (*UpdateIntervalReq) MarshalJSON ¶
func (s *UpdateIntervalReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateIntervalReq) SetActive ¶
func (s *UpdateIntervalReq) SetActive(val OptBool)
SetActive sets the value of Active.
func (*UpdateIntervalReq) SetBars ¶
func (s *UpdateIntervalReq) SetBars(val []int)
SetBars sets the value of Bars.
func (*UpdateIntervalReq) SetDataSource ¶
func (s *UpdateIntervalReq) SetDataSource(val OptInt)
SetDataSource sets the value of DataSource.
func (*UpdateIntervalReq) SetDataSourceID ¶
func (s *UpdateIntervalReq) SetDataSourceID(val OptInt)
SetDataSourceID sets the value of DataSourceID.
func (*UpdateIntervalReq) SetInterval ¶
func (s *UpdateIntervalReq) SetInterval(val OptUpdateIntervalReqInterval)
SetInterval sets the value of Interval.
func (*UpdateIntervalReq) SetStock ¶
func (s *UpdateIntervalReq) SetStock(val OptInt)
SetStock sets the value of Stock.
func (*UpdateIntervalReq) SetStockID ¶
func (s *UpdateIntervalReq) SetStockID(val OptInt)
SetStockID sets the value of StockID.
func (*UpdateIntervalReq) SetTrades ¶
func (s *UpdateIntervalReq) SetTrades(val []int)
SetTrades sets the value of Trades.
func (*UpdateIntervalReq) UnmarshalJSON ¶
func (s *UpdateIntervalReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateIntervalReq) Validate ¶
func (s *UpdateIntervalReq) Validate() error
type UpdateIntervalReqInterval ¶
type UpdateIntervalReqInterval string
const ( UpdateIntervalReqIntervalTrades UpdateIntervalReqInterval = "trades" UpdateIntervalReqInterval1min UpdateIntervalReqInterval = "1min" UpdateIntervalReqIntervalDaily UpdateIntervalReqInterval = "daily" UpdateIntervalReqIntervalMonthly UpdateIntervalReqInterval = "monthly" UpdateIntervalReqIntervalYearly UpdateIntervalReqInterval = "yearly" )
func (*UpdateIntervalReqInterval) Decode ¶
func (s *UpdateIntervalReqInterval) Decode(d *jx.Decoder) error
Decode decodes UpdateIntervalReqInterval from json.
func (UpdateIntervalReqInterval) Encode ¶
func (s UpdateIntervalReqInterval) Encode(e *jx.Encoder)
Encode encodes UpdateIntervalReqInterval as json.
func (UpdateIntervalReqInterval) MarshalJSON ¶
func (s UpdateIntervalReqInterval) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateIntervalReqInterval) MarshalText ¶
func (s UpdateIntervalReqInterval) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateIntervalReqInterval) UnmarshalJSON ¶
func (s *UpdateIntervalReqInterval) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateIntervalReqInterval) UnmarshalText ¶
func (s *UpdateIntervalReqInterval) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateIntervalReqInterval) Validate ¶
func (s UpdateIntervalReqInterval) Validate() error
type UpdateIntervalRes ¶
type UpdateIntervalRes interface {
// contains filtered or unexported methods
}
type UpdateMarketHoursParams ¶
type UpdateMarketHoursParams struct { // ID of the MarketHours. ID int }
UpdateMarketHoursParams is parameters of updateMarketHours operation.
type UpdateMarketHoursReq ¶
type UpdateMarketHoursReq struct { Date OptDateTime `json:"date"` StartTime OptDateTime `json:"start_time"` EndTime OptDateTime `json:"end_time"` MarketInfo OptInt `json:"market_info"` }
func (*UpdateMarketHoursReq) Decode ¶
func (s *UpdateMarketHoursReq) Decode(d *jx.Decoder) error
Decode decodes UpdateMarketHoursReq from json.
func (*UpdateMarketHoursReq) Encode ¶
func (s *UpdateMarketHoursReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateMarketHoursReq) GetDate ¶
func (s *UpdateMarketHoursReq) GetDate() OptDateTime
GetDate returns the value of Date.
func (*UpdateMarketHoursReq) GetEndTime ¶
func (s *UpdateMarketHoursReq) GetEndTime() OptDateTime
GetEndTime returns the value of EndTime.
func (*UpdateMarketHoursReq) GetMarketInfo ¶
func (s *UpdateMarketHoursReq) GetMarketInfo() OptInt
GetMarketInfo returns the value of MarketInfo.
func (*UpdateMarketHoursReq) GetStartTime ¶
func (s *UpdateMarketHoursReq) GetStartTime() OptDateTime
GetStartTime returns the value of StartTime.
func (*UpdateMarketHoursReq) MarshalJSON ¶
func (s *UpdateMarketHoursReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateMarketHoursReq) SetDate ¶
func (s *UpdateMarketHoursReq) SetDate(val OptDateTime)
SetDate sets the value of Date.
func (*UpdateMarketHoursReq) SetEndTime ¶
func (s *UpdateMarketHoursReq) SetEndTime(val OptDateTime)
SetEndTime sets the value of EndTime.
func (*UpdateMarketHoursReq) SetMarketInfo ¶
func (s *UpdateMarketHoursReq) SetMarketInfo(val OptInt)
SetMarketInfo sets the value of MarketInfo.
func (*UpdateMarketHoursReq) SetStartTime ¶
func (s *UpdateMarketHoursReq) SetStartTime(val OptDateTime)
SetStartTime sets the value of StartTime.
func (*UpdateMarketHoursReq) UnmarshalJSON ¶
func (s *UpdateMarketHoursReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateMarketHoursRes ¶
type UpdateMarketHoursRes interface {
// contains filtered or unexported methods
}
type UpdateMarketInfoParams ¶
type UpdateMarketInfoParams struct { // ID of the MarketInfo. ID int }
UpdateMarketInfoParams is parameters of updateMarketInfo operation.
type UpdateMarketInfoReq ¶
type UpdateMarketInfoReq struct { HoursStart OptDateTime `json:"hours_start"` HoursEnd OptDateTime `json:"hours_end"` Hours []int `json:"hours"` }
func (*UpdateMarketInfoReq) Decode ¶
func (s *UpdateMarketInfoReq) Decode(d *jx.Decoder) error
Decode decodes UpdateMarketInfoReq from json.
func (*UpdateMarketInfoReq) Encode ¶
func (s *UpdateMarketInfoReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateMarketInfoReq) GetHours ¶
func (s *UpdateMarketInfoReq) GetHours() []int
GetHours returns the value of Hours.
func (*UpdateMarketInfoReq) GetHoursEnd ¶
func (s *UpdateMarketInfoReq) GetHoursEnd() OptDateTime
GetHoursEnd returns the value of HoursEnd.
func (*UpdateMarketInfoReq) GetHoursStart ¶
func (s *UpdateMarketInfoReq) GetHoursStart() OptDateTime
GetHoursStart returns the value of HoursStart.
func (*UpdateMarketInfoReq) MarshalJSON ¶
func (s *UpdateMarketInfoReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateMarketInfoReq) SetHours ¶
func (s *UpdateMarketInfoReq) SetHours(val []int)
SetHours sets the value of Hours.
func (*UpdateMarketInfoReq) SetHoursEnd ¶
func (s *UpdateMarketInfoReq) SetHoursEnd(val OptDateTime)
SetHoursEnd sets the value of HoursEnd.
func (*UpdateMarketInfoReq) SetHoursStart ¶
func (s *UpdateMarketInfoReq) SetHoursStart(val OptDateTime)
SetHoursStart sets the value of HoursStart.
func (*UpdateMarketInfoReq) UnmarshalJSON ¶
func (s *UpdateMarketInfoReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateMarketInfoRes ¶
type UpdateMarketInfoRes interface {
// contains filtered or unexported methods
}
type UpdateSplitParams ¶
type UpdateSplitParams struct { // ID of the Split. ID int }
UpdateSplitParams is parameters of updateSplit operation.
type UpdateSplitReq ¶
type UpdateSplitReq struct { ExecutionDate OptDateTime `json:"execution_date"` From OptFloat64 `json:"from"` To OptFloat64 `json:"to"` Stock OptInt `json:"stock"` }
func (*UpdateSplitReq) Decode ¶
func (s *UpdateSplitReq) Decode(d *jx.Decoder) error
Decode decodes UpdateSplitReq from json.
func (*UpdateSplitReq) Encode ¶
func (s *UpdateSplitReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateSplitReq) GetExecutionDate ¶
func (s *UpdateSplitReq) GetExecutionDate() OptDateTime
GetExecutionDate returns the value of ExecutionDate.
func (*UpdateSplitReq) GetFrom ¶
func (s *UpdateSplitReq) GetFrom() OptFloat64
GetFrom returns the value of From.
func (*UpdateSplitReq) GetStock ¶
func (s *UpdateSplitReq) GetStock() OptInt
GetStock returns the value of Stock.
func (*UpdateSplitReq) GetTo ¶
func (s *UpdateSplitReq) GetTo() OptFloat64
GetTo returns the value of To.
func (*UpdateSplitReq) MarshalJSON ¶
func (s *UpdateSplitReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateSplitReq) SetExecutionDate ¶
func (s *UpdateSplitReq) SetExecutionDate(val OptDateTime)
SetExecutionDate sets the value of ExecutionDate.
func (*UpdateSplitReq) SetFrom ¶
func (s *UpdateSplitReq) SetFrom(val OptFloat64)
SetFrom sets the value of From.
func (*UpdateSplitReq) SetStock ¶
func (s *UpdateSplitReq) SetStock(val OptInt)
SetStock sets the value of Stock.
func (*UpdateSplitReq) SetTo ¶
func (s *UpdateSplitReq) SetTo(val OptFloat64)
SetTo sets the value of To.
func (*UpdateSplitReq) UnmarshalJSON ¶
func (s *UpdateSplitReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateSplitReq) Validate ¶
func (s *UpdateSplitReq) Validate() error
type UpdateSplitRes ¶
type UpdateSplitRes interface {
// contains filtered or unexported methods
}
type UpdateTradeConditionParams ¶
type UpdateTradeConditionParams struct { // ID of the TradeCondition. ID int }
UpdateTradeConditionParams is parameters of updateTradeCondition operation.
type UpdateTradeConditionReq ¶
type UpdateTradeConditionReq struct { Condition OptString `json:"condition"` Record []int `json:"record"` }
func (*UpdateTradeConditionReq) Decode ¶
func (s *UpdateTradeConditionReq) Decode(d *jx.Decoder) error
Decode decodes UpdateTradeConditionReq from json.
func (*UpdateTradeConditionReq) Encode ¶
func (s *UpdateTradeConditionReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateTradeConditionReq) GetCondition ¶
func (s *UpdateTradeConditionReq) GetCondition() OptString
GetCondition returns the value of Condition.
func (*UpdateTradeConditionReq) GetRecord ¶
func (s *UpdateTradeConditionReq) GetRecord() []int
GetRecord returns the value of Record.
func (*UpdateTradeConditionReq) MarshalJSON ¶
func (s *UpdateTradeConditionReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateTradeConditionReq) SetCondition ¶
func (s *UpdateTradeConditionReq) SetCondition(val OptString)
SetCondition sets the value of Condition.
func (*UpdateTradeConditionReq) SetRecord ¶
func (s *UpdateTradeConditionReq) SetRecord(val []int)
SetRecord sets the value of Record.
func (*UpdateTradeConditionReq) UnmarshalJSON ¶
func (s *UpdateTradeConditionReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateTradeConditionRes ¶
type UpdateTradeConditionRes interface {
// contains filtered or unexported methods
}
type UpdateTradeCorrectionParams ¶
type UpdateTradeCorrectionParams struct { // ID of the TradeCorrection. ID int }
UpdateTradeCorrectionParams is parameters of updateTradeCorrection operation.
type UpdateTradeCorrectionReq ¶
type UpdateTradeCorrectionReq struct { Correction OptString `json:"correction"` Record []int `json:"record"` }
func (*UpdateTradeCorrectionReq) Decode ¶
func (s *UpdateTradeCorrectionReq) Decode(d *jx.Decoder) error
Decode decodes UpdateTradeCorrectionReq from json.
func (*UpdateTradeCorrectionReq) Encode ¶
func (s *UpdateTradeCorrectionReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateTradeCorrectionReq) GetCorrection ¶
func (s *UpdateTradeCorrectionReq) GetCorrection() OptString
GetCorrection returns the value of Correction.
func (*UpdateTradeCorrectionReq) GetRecord ¶
func (s *UpdateTradeCorrectionReq) GetRecord() []int
GetRecord returns the value of Record.
func (*UpdateTradeCorrectionReq) MarshalJSON ¶
func (s *UpdateTradeCorrectionReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateTradeCorrectionReq) SetCorrection ¶
func (s *UpdateTradeCorrectionReq) SetCorrection(val OptString)
SetCorrection sets the value of Correction.
func (*UpdateTradeCorrectionReq) SetRecord ¶
func (s *UpdateTradeCorrectionReq) SetRecord(val []int)
SetRecord sets the value of Record.
func (*UpdateTradeCorrectionReq) UnmarshalJSON ¶
func (s *UpdateTradeCorrectionReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateTradeCorrectionRes ¶
type UpdateTradeCorrectionRes interface {
// contains filtered or unexported methods
}
type UpdateTradeRecordParams ¶
type UpdateTradeRecordParams struct { // ID of the TradeRecord. ID int }
UpdateTradeRecordParams is parameters of updateTradeRecord operation.
type UpdateTradeRecordReq ¶
type UpdateTradeRecordReq struct { Price OptFloat64 `json:"price"` Timestamp OptDateTime `json:"timestamp"` Volume OptInt32 `json:"volume"` TimeRangeID OptInt `json:"time_range_id"` TimeRange OptInt `json:"time_range"` Conditions []int `json:"conditions"` Correction []int `json:"correction"` Exchange []int `json:"exchange"` }
func (*UpdateTradeRecordReq) Decode ¶
func (s *UpdateTradeRecordReq) Decode(d *jx.Decoder) error
Decode decodes UpdateTradeRecordReq from json.
func (*UpdateTradeRecordReq) Encode ¶
func (s *UpdateTradeRecordReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateTradeRecordReq) GetConditions ¶
func (s *UpdateTradeRecordReq) GetConditions() []int
GetConditions returns the value of Conditions.
func (*UpdateTradeRecordReq) GetCorrection ¶
func (s *UpdateTradeRecordReq) GetCorrection() []int
GetCorrection returns the value of Correction.
func (*UpdateTradeRecordReq) GetExchange ¶
func (s *UpdateTradeRecordReq) GetExchange() []int
GetExchange returns the value of Exchange.
func (*UpdateTradeRecordReq) GetPrice ¶
func (s *UpdateTradeRecordReq) GetPrice() OptFloat64
GetPrice returns the value of Price.
func (*UpdateTradeRecordReq) GetTimeRange ¶
func (s *UpdateTradeRecordReq) GetTimeRange() OptInt
GetTimeRange returns the value of TimeRange.
func (*UpdateTradeRecordReq) GetTimeRangeID ¶
func (s *UpdateTradeRecordReq) GetTimeRangeID() OptInt
GetTimeRangeID returns the value of TimeRangeID.
func (*UpdateTradeRecordReq) GetTimestamp ¶
func (s *UpdateTradeRecordReq) GetTimestamp() OptDateTime
GetTimestamp returns the value of Timestamp.
func (*UpdateTradeRecordReq) GetVolume ¶
func (s *UpdateTradeRecordReq) GetVolume() OptInt32
GetVolume returns the value of Volume.
func (*UpdateTradeRecordReq) MarshalJSON ¶
func (s *UpdateTradeRecordReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateTradeRecordReq) SetConditions ¶
func (s *UpdateTradeRecordReq) SetConditions(val []int)
SetConditions sets the value of Conditions.
func (*UpdateTradeRecordReq) SetCorrection ¶
func (s *UpdateTradeRecordReq) SetCorrection(val []int)
SetCorrection sets the value of Correction.
func (*UpdateTradeRecordReq) SetExchange ¶
func (s *UpdateTradeRecordReq) SetExchange(val []int)
SetExchange sets the value of Exchange.
func (*UpdateTradeRecordReq) SetPrice ¶
func (s *UpdateTradeRecordReq) SetPrice(val OptFloat64)
SetPrice sets the value of Price.
func (*UpdateTradeRecordReq) SetTimeRange ¶
func (s *UpdateTradeRecordReq) SetTimeRange(val OptInt)
SetTimeRange sets the value of TimeRange.
func (*UpdateTradeRecordReq) SetTimeRangeID ¶
func (s *UpdateTradeRecordReq) SetTimeRangeID(val OptInt)
SetTimeRangeID sets the value of TimeRangeID.
func (*UpdateTradeRecordReq) SetTimestamp ¶
func (s *UpdateTradeRecordReq) SetTimestamp(val OptDateTime)
SetTimestamp sets the value of Timestamp.
func (*UpdateTradeRecordReq) SetVolume ¶
func (s *UpdateTradeRecordReq) SetVolume(val OptInt32)
SetVolume sets the value of Volume.
func (*UpdateTradeRecordReq) UnmarshalJSON ¶
func (s *UpdateTradeRecordReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateTradeRecordReq) Validate ¶
func (s *UpdateTradeRecordReq) Validate() error
type UpdateTradeRecordRes ¶
type UpdateTradeRecordRes interface {
// contains filtered or unexported methods
}
type UpdateTradeTimeRangeParams ¶
type UpdateTradeTimeRangeParams struct { // ID of the TradeTimeRange. ID int }
UpdateTradeTimeRangeParams is parameters of updateTradeTimeRange operation.
type UpdateTradeTimeRangeReq ¶
type UpdateTradeTimeRangeReq struct { Start OptDateTime `json:"start"` End OptDateTime `json:"end"` IntervalID OptInt `json:"interval_id"` Interval OptInt `json:"interval"` Records []int `json:"records"` }
func (*UpdateTradeTimeRangeReq) Decode ¶
func (s *UpdateTradeTimeRangeReq) Decode(d *jx.Decoder) error
Decode decodes UpdateTradeTimeRangeReq from json.
func (*UpdateTradeTimeRangeReq) Encode ¶
func (s *UpdateTradeTimeRangeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateTradeTimeRangeReq) GetEnd ¶
func (s *UpdateTradeTimeRangeReq) GetEnd() OptDateTime
GetEnd returns the value of End.
func (*UpdateTradeTimeRangeReq) GetInterval ¶
func (s *UpdateTradeTimeRangeReq) GetInterval() OptInt
GetInterval returns the value of Interval.
func (*UpdateTradeTimeRangeReq) GetIntervalID ¶
func (s *UpdateTradeTimeRangeReq) GetIntervalID() OptInt
GetIntervalID returns the value of IntervalID.
func (*UpdateTradeTimeRangeReq) GetRecords ¶
func (s *UpdateTradeTimeRangeReq) GetRecords() []int
GetRecords returns the value of Records.
func (*UpdateTradeTimeRangeReq) GetStart ¶
func (s *UpdateTradeTimeRangeReq) GetStart() OptDateTime
GetStart returns the value of Start.
func (*UpdateTradeTimeRangeReq) MarshalJSON ¶
func (s *UpdateTradeTimeRangeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateTradeTimeRangeReq) SetEnd ¶
func (s *UpdateTradeTimeRangeReq) SetEnd(val OptDateTime)
SetEnd sets the value of End.
func (*UpdateTradeTimeRangeReq) SetInterval ¶
func (s *UpdateTradeTimeRangeReq) SetInterval(val OptInt)
SetInterval sets the value of Interval.
func (*UpdateTradeTimeRangeReq) SetIntervalID ¶
func (s *UpdateTradeTimeRangeReq) SetIntervalID(val OptInt)
SetIntervalID sets the value of IntervalID.
func (*UpdateTradeTimeRangeReq) SetRecords ¶
func (s *UpdateTradeTimeRangeReq) SetRecords(val []int)
SetRecords sets the value of Records.
func (*UpdateTradeTimeRangeReq) SetStart ¶
func (s *UpdateTradeTimeRangeReq) SetStart(val OptDateTime)
SetStart sets the value of Start.
func (*UpdateTradeTimeRangeReq) UnmarshalJSON ¶
func (s *UpdateTradeTimeRangeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateTradeTimeRangeRes ¶
type UpdateTradeTimeRangeRes interface {
// contains filtered or unexported methods
}
Source Files ¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_middleware_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go
- ogent.go
- responses.go