Skip to content

Fix JSON deserialization issues #796

@OlegRa

Description

@OlegRa

The underlying REST API added some new enum values in different cases, and the current JSON deserialization logic does not handle these cases:

  • The new margin_requirement_long and margin_requirement_short fields have been added to the asset object. Go #339
  • The new boats and overnight values for the stock data feed enumeration. Python #609, Go #346
  • The old maintanence_margin_requirement field of the asset object is deprecated. Go #339
  • The new crypto_perp value for the asset class enumeration. Python #625
  • The new ASCX value for the asset exchange enumeration. Python #625
  • The base_value of the portfolio history item can be null. Python #597

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions