Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Optional attributes on the futures API #15

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 =)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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