diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 000000000..a04abec91 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.6.10 diff --git a/locales/en.yml b/locales/en.yml index f17641720..d4deed54a 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -3133,6 +3133,14 @@ en: linear_private_switchmode: Switch mode between Full or Partial linear_row_comment_limit: Limit for data size per page, max size is 50. Default as showing 20 pieces of data per page. linear_row_comment_limit_50_200: Limit for data size per page, max size is 200. Default as showing 50 pieces of data per page. + restapi_update_20220905_2: Deprecated created_at and updated_at, empty string is returned + restapi_update_20220905_1: Deprecated the following fields, and default value will be returned instead +
countdown_hour : 0 +
predicted_funding_rate : "" +
total_turnover : "" +
total_volume : 0 +
price_1h_pcnt : "" +
open_value : "" restapi_update_200220901_1: Support place TP/Sl order restapi_update_200220901_2: Add new API restapi_update_200220901_3: Add new response fields takeProfitstopLosstpTriggerByslTriggerBy diff --git a/locales/zh-cn.yml b/locales/zh-cn.yml index 6b75516b1..6baba22aa 100644 --- a/locales/zh-cn.yml +++ b/locales/zh-cn.yml @@ -2699,6 +2699,14 @@ zh-cn: linear_private_switchmode: 切換止盈止損模式至全倉或部分 linear_row_comment_limit: 每頁數量, 最大50. 默認每頁20條,最多50條每頁 linear_row_comment_limit_50_200: 每頁數量, 最大200. 默認每頁50條,最多200條每頁 + restapi_update_20220905_2: 廢棄字段 created_atupdated_at, 返回空字符串 + restapi_update_20220905_1: 以下字段廢棄, 並且返回默認值 +
countdown_hour : 0 +
predicted_funding_rate : "" +
total_turnover : "" +
total_volume : 0 +
price_1h_pcnt : "" +
open_value : "" restapi_update_200220901_1: 新增功能支持止盈止損 restapi_update_200220901_2: 新增接口 restapi_update_200220901_3: 新增響應字段takeProfitstopLosstpTriggerByslTriggerBy diff --git a/source/includes/testnet/futuresV2/inverse_futures/_changelog.md b/source/includes/testnet/futuresV2/inverse_futures/_changelog.md new file mode 100644 index 000000000..1ed2b3c41 --- /dev/null +++ b/source/includes/testnet/futuresV2/inverse_futures/_changelog.md @@ -0,0 +1,118 @@ +# t(:changelog) + +## 2022-09-05 +### REST API +- [t(:latestsymbolinfo)](#t-latestsymbolinfo) [t(:changelog_update)] + - t(:restapi_update_20220905_1) +- [t(:getrisklimit)](#t-getrisklimit) [t(:changelog_update)] + - t(:restapi_update_20220905_2) + +## 2022-08-25 +### WEBSOCKET API +- [t(:websocketstoporder)](#t-websocketstoporder) [t(:changelog_update)] + - t(:restapi_update_20220825) + +## 2022-04-29 +### REST API +- [t(:placeactive)](#t-placeactive) & [t(:querysymbol)](#t-querysymbol) [t(:changelog_update)] + - t(:restapi_update_20220429) + +## 2022-04-28 +### REST API +- [t(:switchpositionmode)](#t-switchpositionmode) [t(:changelog_update)] + - t(:restapi_update_2022042801) + +## 2021 +### 2021-09-03 +#### WebSocket API +- [t(:websocketinstrumentInfo)](#t-websocketinstrumentinfo) [t(:changelog_update)] + t(:restapi_update_20210902) + +### 2021-06-03 +#### REST API + +- [t(:switchmode)](#t-switchmode) [t(:changelog_new)] +- [t(:placecond)](#t-placecond) [t(:changelog_update)] + - t(:restapi_update_20200826_1) + - t(:restapi_update_20200826_3) +- [t(:placeactive)](#t-placeactive) [t(:changelog_update)] + - t(:restapi_update_20210527_1) + - t(:restapi_update_20200826_3) +- [t(:myposition)](#t-myposition) [t(:changelog_update)] + - t(:restapi_update_20200826_2) +- [t(:tradingstop)](#t-tradingstop) [t(:changelog_update)] + - t(:restapi_update_20200826_4) +- [t(:cancelcond)](#t-cancelcond) [t(:changelog_update)] + - t(:restapi_update_20200826_5) +- [t(:replacecond)](#t-replacecond) [t(:changelog_update)] + - t(:restapi_update_20200826_6) +- [t(:replaceactive)](#t-replaceactive) [t(:changelog_update)] + - t(:restapi_update_20200826_6) +- [t(:getactive)](#t-getactive) [t(:changelog_update)] + - t(:restapi_update_20200826_3) +- [t(:queryactive)](#t-queryactive) [t(:changelog_update)] + - t(:restapi_update_20200826_3) +- [t(:getcond)](#t-getcond) [t(:changelog_update)] + - t(:restapi_update_20200826_3) +- [t(:querycond)](#t-querycond) [t(:changelog_update)] + - t(:restapi_update_20200826_3) + +### 2021-05-20 +#### REST API +- t(:restapi_update_20210520) + +### 2021-05-17 +#### REST API +- [t(:setrisklimit)](#t-setrisklimit) [t(:changelog_new)] + + +### 2021-05-12 +#### REST API +- [t(:setrisklimit)](#t-setrisklimit) [t(:changelog_new)] + + +### 2021-05-12 +#### REST API +- t(:restapi_update_2021051201) +- t(:restapi_update_2021051202) + +### 2021-05-07 +#### REST API +- t(:restapi_update_2021050705) +- t(:restapi_update_2021050706) + +### 2021-04-15 +#### REST API +- t(:restapi_update_20210415) + +### 2021-04-14 +#### REST API +- t(:restapi_update_20210414_1) +- t(:restapi_update_20210414_2) + +### 2021-04-07 +#### REST API +- t(:restapi_update_20210407) + +### 2021-04-02 + +#### REST API +- t(:restapi_update_20210402) + +### 2021-03-12 + +#### REST API +- t(:restapi_update_20210312) + +### 2021-02-25 + +#### REST API +- t(:restapi_update_20210225) + +#### WebSocket API +- t(:ws_update_20210225) + +### 2021-03-01 + +#### REST API +- t(:restapi_update_20210301) diff --git a/source/includes/testnet/futuresV2/inverse_perpetual/_changelog.md b/source/includes/testnet/futuresV2/inverse_perpetual/_changelog.md index 073aca532..7f56bfd67 100644 --- a/source/includes/testnet/futuresV2/inverse_perpetual/_changelog.md +++ b/source/includes/testnet/futuresV2/inverse_perpetual/_changelog.md @@ -1,5 +1,12 @@ # t(:changelog) +## 2022-09-05 +### REST API +- [t(:latestsymbolinfo)](#t-latestsymbolinfo) [t(:changelog_update)] + - t(:restapi_update_20220905_1) +- [t(:getrisklimit)](#t-getrisklimit) [t(:changelog_update)] + - t(:restapi_update_20220905_2) + ## 2021-07-09 ### REST API - [t(:setleverage)](#t-setleverage) [t(:changelog_update)] diff --git a/source/includes/testnet/futuresV2/linear_perpetual/_changelog.md b/source/includes/testnet/futuresV2/linear_perpetual/_changelog.md index 124d2b8c3..b83f4f635 100644 --- a/source/includes/testnet/futuresV2/linear_perpetual/_changelog.md +++ b/source/includes/testnet/futuresV2/linear_perpetual/_changelog.md @@ -1,11 +1,46 @@ # t(:changelog) + +## 2022-09-05 +### REST API +- [t(:getrisklimit)](#t-risklimit) [t(:changelog_update)] + - t(:restapi_update_20220905_2) + +## 2022-08-25 +### WEBSOCKET API +- [t(:websocketstoporder)](#t-websocketstoporder) [t(:changelog_update)] + - t(:restapi_update_20220825) + +## 2022-07-18 +### REST API +- [t(:latestsymbolinfo)](#t-latestsymbolinfo) [t(:changelog_update)] + - t(:restapi_update_20220718_2) + +### WebSocket API +- [t(:latestsymbolinfo)](#t-latestsymbolinfo) [t(:changelog_update)] + - t(:restapi_update_20220718_1) + +## 2022-06-30 +### REST API +- [t(:userhistorytraderecords)](#t-userhistorytraderecords) [t(:changelog_update)] + - t(:restapi_update_20220630) + +## 2022-04-29 +### REST API +- [t(:placeactive)](#t-placeactive) & [t(:querysymbol)](#t-querysymbol) [t(:changelog_update)] + - t(:restapi_update_20220429) + ## 2022-04-28 ### REST API - [t(:userhistorytraderecords)](#t-userhistorytraderecords) [t(:changelog_new)] - t(:restapi_update_2022042501) +- [t(:switchpositionmode)](#t-switchpositionmode) [t(:changelog_update)] + - t(:restapi_update_2022042801) -## 2021-12-06 -### REST API + + +## 2021 +### 2021-12-28 +#### REST API - [t(:switchpositionmode)](#t-switchpositionmode) [t(:changelog_new)] - [t(:placeactive)](#t-placeactive) [t(:changelog_update)] - t(:restapi_update_20211206) @@ -21,8 +56,8 @@ - t(:restapi_update_20211206_1) - [t(:myposition)](#t-myposition) [t(:changelog_update)] - t(:restapi_update_20211206_2) - -### WebSocket API + +#### WebSocket API - [t(:websocketposition)](#t-websocketposition) [t(:changelog_update)] - t(:restapi_update_20211206_2) - [t(:websocketorder)](#t-websocketorder) [t(:changelog_update)] @@ -30,71 +65,71 @@ - [t(:websocketstoporder)](#t-websocketstoporder) [t(:changelog_update)] - t(:restapi_update_20211206_2) -## 2021-10-13 -### REST API +### 2021-10-13 +#### REST API - [t(:querysymbol)](#t-querysymbol) [t(:changelog_update)] - t(:restapi_update_2021101201) -## 2021-09-17 -### WebSocket API +### 2021-09-17 +#### WebSocket API - [t(:websocketliquidation)](#t-websocketliquidation) [t(:changelog_new)] - t(:restapi_update_20210917) -## 2021-09-10 -### REST API +### 2021-09-10 +#### REST API - [t(:usertraderecords)](#t-usertraderecords) [t(:changelog_update)] t(:restapi_update_20210910) -## 2021-09-07 -### REST API +### 2021-09-07 +#### REST API - [t(:closedprofitandloss)](#t-closedprofitandloss) [t(:changelog_update)] t(:restapi_update_20210907) -## 2021-09-03 -### WebSocket API +### 2021-09-03 +#### WebSocket API - [t(:websocketinstrumentInfo)](#t-websocketinstrumentinfo) [t(:changelog_update)] t(:restapi_update_20210902) -## 2021-06-29 -### REST API +### 2021-06-29 +#### REST API - t(:restapi_update_20210629) [t(:changelog_update)] -## 2021-06-28 -### REST API +### 2021-06-28 +#### REST API - [t(:myposition)](#t-position) [t(:changelog_update)] - t(:restapi_update_20210628) -## 2021-06-02 -### REST API +### 2021-06-02 +#### REST API - t(:restapi_update_20210602) [t(:changelog_update)] -## 2021-05-13 -### REST API +### 2021-05-13 +#### REST API - t(:restapi_update_20210513) [t(:changelog_update)] -## 2021-04-30 -### REST API +### 2021-04-30 +#### REST API - t(:restapi_update_20210430) [t(:changelog_update)] -## 2021-04-07 -### REST API +### 2021-04-07 +#### REST API - t(:restapi_update_20210407) -## 2021-04-02 +### 2021-04-02 -### REST API +#### REST API - t(:linear_restapi_update_20210402) -## 2021-03-18 -### REST API +### 2021-03-18 +#### REST API - t(:restapi_update_20210318_1) [t(:changelog_update)] - [t(:getrisklimit)](#t-getrisklimit) [t(:changelog_update)] - t(:restapi_update_20210318_2) -## 2021-02-02 +### 2021-02-02 -### WebSocket API +#### WebSocket API - Topic order [t(:changelog_update)] - t(:ws_update_20210202_2) @@ -102,17 +137,19 @@ - t(:ws_update_20210202_2) -## 2021-02-01 -### REST API +### 2021-02-01 +#### REST API - t(:restapi_update_20210201_0_1) - [t(:setrisklimit)](#t-setrisklimit) [t(:changelog_new)] -## 2021-01-12 -### REST API +### 2021-01-12 +#### REST API - [t(:queryindexpricekline)](#t-queryindexpricekline) [t(:changelog_new)] - [t(:querypremiumindexkline)](#t-querypremiumindexkline) [t(:changelog_new)] + + ## 2020 ### 2020-12-14 #### REST API diff --git a/source/localizable/testnet/futuresV2/inverse_futures.html.erb b/source/localizable/testnet/futuresV2/inverse_futures.html.erb index c4c378800..fbc3b13b4 100644 --- a/source/localizable/testnet/futuresV2/inverse_futures.html.erb +++ b/source/localizable/testnet/futuresV2/inverse_futures.html.erb @@ -15,7 +15,7 @@ toc_footers: includes: - futuresV2/inverse_futures/intro # Introduce - - futuresV2/inverse_futures/changelog # Changelog + - testnet/futuresV2/inverse_futures/changelog # Changelog - futuresV2/inverse_perpetual/faq # FAQ - futuresV2/inverse_futures/api_auth # Authentication - futuresV2/inverse_futures/market_data # Market Data Endpoints diff --git a/source/localizable/testnet/futuresV2/linear.html.erb b/source/localizable/testnet/futuresV2/linear.html.erb index 9ae335f89..0a0297221 100644 --- a/source/localizable/testnet/futuresV2/linear.html.erb +++ b/source/localizable/testnet/futuresV2/linear.html.erb @@ -15,7 +15,7 @@ toc_footers: includes: - futuresV2/linear_perpetual/intro # Introduce - - futuresV2/linear_perpetual/changelog # Changelog + - testnet/futuresV2/linear_perpetual/changelog # Changelog - futuresV2/inverse_perpetual/faq # FAQ - futuresV2/linear_perpetual/api_auth # Authentication - futuresV2/linear_perpetual/market_data # Market Data Endpoints