@imbingox/acex 0.4.0-beta.8 → 0.4.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imbingox/acex",
3
- "version": "0.4.0-beta.8",
3
+ "version": "0.4.0-beta.9",
4
4
  "description": "Multi-exchange trading SDK for market data, account, and order management",
5
5
  "repository": {
6
6
  "type": "git",
@@ -112,7 +112,9 @@ function inferContractType(
112
112
  contractType: string | undefined,
113
113
  deliveryDate: number | undefined,
114
114
  ): MarketType {
115
- if (contractType === "PERPETUAL") {
115
+ // Binance TradFi perpetuals expose a far-future deliveryDate, so the
116
+ // contractType is authoritative for perpetual classification.
117
+ if (contractType === "PERPETUAL" || contractType === "TRADIFI_PERPETUAL") {
116
118
  return "swap";
117
119
  }
118
120