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

Feature/2024.05.29 may update #59

Merged
merged 5 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,64 @@
## [1.0.9] - 2024-05-30

### Added APIs
#### Universal Transfer API
- **Added**: `POST /api/v3/accounts/universal-transfer`

#### Margin Borrowing APIs
- **Added**: `POST /api/v3/margin/borrow`
- **Added**: `GET /api/v3/margin/borrow`

#### Margin Repayment APIs
- **Added**: `POST /api/v3/margin/repay`
- **Added**: `GET /api/v3/margin/repay`

#### Margin Interest APIs
- **Added**: `GET /api/v3/margin/interest`

#### Project APIs
- **Added**: `GET /api/v3/project/list`
- **Added**: `GET /api/v3/project/marketInterestRate`

#### Purchase APIs
- **Added**: `POST /api/v3/purchase`
- **Added**: `POST /api/v3/redeem`
- **Added**: `POST /api/v3/lend/purchase/update`
- **Added**: `GET /api/v3/redeem/orders`
- **Added**: `GET /api/v3/purchase/orders`

#### Test Order APIs
- **Added**: `POST /api/v1/hf/orders/test`
- **Added**: `POST /api/v1/margin/order/test`
- **Added**: `POST /api/v1/orders/test`

### Deprecated APIs
#### Margin Borrowing APIs
- **Deprecated**: Publish Borrow Order, deprecated `POST /api/v1/margin/borrow`
- **Deprecated**: Query Borrow Orders, deprecated `GET /api/v1/margin/borrow`
- **Deprecated**: Query Repaid Records, deprecated `GET /api/v1/margin/borrow/repaid`
- **Deprecated**: One-Click Repayment, deprecated `POST /api/v1/margin/repay/all`
- **Deprecated**: Single Repayment, deprecated `POST /api/v1/margin/repay/single`

#### Margin Lending APIs
- **Deprecated**: Publish Lend Order, deprecated `POST /api/v1/margin/lend`
- **Deprecated**: Cancel Lend Order, deprecated `DELETE /api/v1/margin/lend/{orderId}`
- **Deprecated**: Set Auto-Lend, deprecated `POST /api/v1/margin/toggle-auto-lend`
- **Deprecated**: Query Active Lend Orders, deprecated `GET /api/v1/margin/lend/active`
- **Deprecated**: Query Historical Lend Orders, deprecated `GET /api/v1/margin/lend/done`
- **Deprecated**: Query Unsettled Lend Records, deprecated `GET /api/v1/margin/lend/trade/unsettled`
- **Deprecated**: Query Settled Lend Records, deprecated `GET /api/v1/margin/lend/trade/settled`
- **Deprecated**: Asset Lend Records, deprecated `GET /api/v1/margin/lend/assets`
- **Deprecated**: Lend Market Information, deprecated `GET /api/v1/margin/market`
- **Deprecated**: Lending Market Transaction Information, deprecated `GET /api/v1/margin/trade/last`

#### Isolated Margin Borrowing APIs
- **Deprecated**: Isolated Borrowing, deprecated `POST /api/v1/isolated/borrow`
- **Deprecated**: One-Click Repayment, deprecated `POST /api/v1/isolated/repay/all`
- **Deprecated**: Single Repayment, deprecated `POST /api/v1/isolated/repay/single`
- **Deprecated**: Query Repaid Records, deprecated `GET /api/v1/isolated/borrow/repaid`
- **Deprecated**: Query Outstanding Isolated Borrow Records, deprecated `GET /api/v1/isolated/borrow/outstanding`
- **Deprecated**: Query Outstanding Borrow Records, deprecated `GET /api/v1/margin/borrow/outstanding`

## [1.0.8] - 2024-04-15
### Added
- Added `getCurrencyDetail_V3` Request via this endpoint to get the currency details of a specified currency.
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@ Signature is not required for this part
- [x] queryRepaymentRecords
- [x] quickRepayment
- [x] singleRepayment
#### Rest/Margin/MarginV3
- [x] marginBorrowV3
- [x] getBorrowHistoryV3
- [x] repayMarginLoanV3
- [x] getRepayHistoryV3
- [x] getMarginInterestRecordsV3
- [x] getLendingCurrencyInfoV3
- [x] getMarketInterestRateV3
- [x] initiatePurchaseV3
- [x] getPurchaseOrdersV3
- [x] redeemMarketV3
- [x] getRedemptionOrdersV3
- [x] updatePurchaseOrderInterestRateV3

#### Rest/Others
- [x] getTimestamp
Expand Down
Loading