Skip to content

v4.6.3: Add new PWM investment plan APIs & examples

Choose a tag to compare

@tiagosiebler tiagosiebler released this 04 Jun 09:20
c48ef23

What's Changed

  • refactor: update import statements to ES6 syntax across multiple API documentation files by @JJ-Cro in #542
  • feat: add tutorial by @tiagosiebler in #544
  • feat(v4.6.3): add new PWM investment plan APIs and examples by @JJ-Cro in #546

Full Changelog: v4.6.2...v4.6.3

Bybit API changelog catch-up (~Apr-Jun 2026). Types + RestClientV5 methods + apidoc examples where we had HTTP samples.

Breaking / watch out

  • FiatBybitPay dropped from PermissionsV5 / ApiKeyPermissionsV5 (use FiatBitPay)
  • EarnPositionV5.availableAmount + freezeDetails are required in types now (API returns them)
  • CoinInfoV5.chains[].withdrawMax added; remainAmount still typed but deprecated

Type updates (existing endpoints)

  • Position - openTime on PositionV5 + WSPositionV5
  • Instruments - symbolId on spot / linear / inverse / option; InstrumentSymbolTypeV5 (stock, forex, etc.)
  • Affiliate user info - paySendAmount30Day, payFtt, cardFtt; request params coin, business
  • Fixed loan supply - availableSource on create; refundedAccount on cancel supply
  • Earn position - availableAmount, freezeDetails[]

New - Strategy (/v5/strategy/*)

  • createStrategyOrder - twap / chaseOrder / iceberg / pov
  • getStrategyList
  • getStrategyOrderList
  • stopStrategy

New - Hold to Earn (/v5/earn/hold-to-earn/*)

  • getHoldToEarnAirdropProducts - public, no auth
  • getHoldToEarnAirdropYieldHistory - needs Earn permission

New - PWM investment plan (user)

  • getPwmInvestmentPlanList - GET .../investment-plan/list
  • getPwmInvestmentPlanDetail
  • getPwmPendingInvestmentPlanDetail - .../new-plan
  • claimPwmWithdrawableFunds
  • getPwmInvestmentPlanAssetTrend
  • getPwmFundHistoricalNav
  • subscribePwmInvestmentPlan
  • investMorePwmInvestmentPlan
  • redeemPwmInvestmentPlan
  • getPwmInvestmentPlanOrders

New - PWM customize plan

  • getPwmSubscribableProductInfo - public
  • createPwmCustomizeInvestmentPlan

New - PWM asset manager

  • getPwmAllFunds
  • settlePwmFundProfit
  • createPwmFund
  • createPwmAssetManagerInvestmentPlan
  • getPwmAssetManagerInvestmentPlans - not the same as user getPwmInvestmentPlanList
  • managePwmAssetManagerInvestmentPlan
  • getPwmAllFundOrders
  • managePwmFundOrder - approve/reject
  • createPwmFundSubAccount
  • pwmFundTransfer - custodian sub-account key
  • getPwmFundTransferRecords

Affiliate

  • getAffiliateSubAffiliateList - GET /v5/affiliate/affiliate-sub-list

New modules

  • src/types/request|response/v5-strategy.ts
  • src/types/request|response/v5-earn-pwm.ts

Examples (examples/apidoc/)

  • V5/Strategy/* (4)
  • V5/Earn/get-hold-to-earn-* (2)
  • V5/Earn/PWM/* (23)
  • V5/Affiliate/get-affiliate-sub-affiliate-list.js

Other

  • docs/endpointFunctionList.md regenerated
  • llms.txt regenerated
  • version bump 4.6.2 -> 4.6.3