Skip to content

Throw exception on missing price #44

@4TT1L4

Description

@4TT1L4

Problem:

  • In some cases there is no price information available. In such cases the framework returns an empty array.

Solution:

  • The framework should not return an array for the current price. It should return a single price point. If there is no price information available then the framework should throw a special exception that could be handled by the client code.

Code:

return cast(List[MarketOHLC], self.process_response(response))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions