Skip to content

feat(v1.6.8): add stock endpoints and align Gate API types - #153

Merged
tiagosiebler merged 2 commits into
sieblyio:masterfrom
JJ-Cro:update09112026
Nov 9, 2026
Merged

tiagosiebler merged 2 commits into
sieblyio:masterfrom
JJ-Cro:update09112026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds Gate's new stock order-deal, balance-record and margin-financing endpoints. Also aligns trail order, auto-invest, earn, options, TradFi and margin-rate types with the current Gate API v4 docs.

Changelog

  • add stock order deals and balance record queries (getStockOrderDeals, getStockBalanceRecords)
  • add stock margin financing controls (setStockMarginFeature) and margin fields
  • require price type when creating trail orders
  • correct trail order response envelopes and type ids/times as decimal strings
  • require asset type for minimum auto-invest amounts
  • add Simple Earn redemption to spot order types
  • add the options position notional limit
  • require TradFi order update fields inside response data
  • type unified and isolated margin rates as currency maps
  • bump version to 1.6.8
  • regenerate endpoint docs and llms.txt

Checks

  • npm run lint
  • tsc --noEmit
  • npm run build

JJ-Cro and others added 2 commits November 9, 2026 09:16
- Add stock order deals and balance record queries
- Add stock margin financing controls and margin fields
- Require price type when creating trail orders
- Correct trail response envelopes and decimal string fields
- Require asset type for minimum auto-invest amounts
- Add Simple Earn redemption to spot order types
- Add the options position notional limit
- Require TradFi order update fields inside response data
- Type unified and isolated margin rates as currency maps

@tiagosiebler tiagosiebler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tiagosiebler
tiagosiebler merged commit 044a113 into sieblyio:master Nov 9, 2026
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants