Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional attributes on the futures API #15

Open
Marinell0 opened this issue Sep 15, 2022 · 0 comments
Open

Optional attributes on the futures API #15

Marinell0 opened this issue Sep 15, 2022 · 0 comments

Comments

@Marinell0
Copy link

Marinell0 commented Sep 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant