Skip to content

Optional attributes on the futures API #15

@Marinell0

Description

@Marinell0

Hello. Is there a reason why there are some critical attributes on Futures API that are optional?

Example: https://github.com/gateio/gateapi-nodejs/blob/master/model/futuresOrderBookItem.ts

In the FuturesOrderBookItem, p for price and s for size are both optional, even tho they are both always present.

Another example is the FuturesOrderBook itself: https://github.com/gateio/gateapi-nodejs/blob/master/model/futuresOrderBook.ts

current and update - as I can see from the documentation - are always present.

Thanks in advance =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions