Skip to content

Commit c58dce0

Browse files
authored
fix the format to compatible mdx (#153)
1 parent 5d345c9 commit c58dce0

File tree

10 files changed

+87
-87
lines changed

10 files changed

+87
-87
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ SPOT API
282282
* `GET /api/v3/ticker/24hr`
283283
* `GET /api/v3/ticker/price`
284284
* `GET /api/v3/ticker/bookTicker`
285-
* In the above, the request weight will depend on the number of symbols provided in `symbols`. <br> Please refer to the table below:
285+
* In the above, the request weight will depend on the number of symbols provided in `symbols`. <br/> Please refer to the table below:
286286

287287
|Endpoint|Number of Symbols|Weight|
288288
|-----|-----|----|

errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Error message | Description
182182
"Order would trigger immediately." | The order's stop price is not valid when compared to the last traded price.
183183
"Cancel order is invalid. Check origClOrdId and orderId." | No `origClOrdId` or `orderId` was sent in.
184184
"Order would immediately match and take." | `LIMIT_MAKER` order type would immediately match and trade, and not be a pure maker order.
185-
"The relationship of the prices for the orders is not correct." | The prices set in the `OCO` is breaking the Price rules. <br> The rules are: <br> `SELL Orders`: Limit Price > Last Price > Stop Price <br>`BUY Orders`: Limit Price < Last Price < Stop Price
185+
"The relationship of the prices for the orders is not correct." | The prices set in the `OCO` is breaking the Price rules. <br/> The rules are: <br/> `SELL Orders`: Limit Price > Last Price > Stop Price <br/>`BUY Orders`: Limit Price < Last Price < Stop Price
186186
"OCO orders are not supported for this symbol" | `OCO` is not enabled on the symbol
187187
"Quote order qty market orders are not support for this symbol."| `MARKET` orders using the parameter `quoteOrderQty` are not enabled on the symbol.
188188
"Trailing stop orders are not supported for this symbol." | Orders using `trailingDelta` are not enabled on the symbol.
@@ -207,7 +207,7 @@ Error message | Description
207207
"Filter failure: MIN_NOTIONAL" | `price` * `quantity` is too low to be a valid order for the symbol.
208208
"Filter failure: ICEBERG_PARTS" | `ICEBERG` order would break into too many parts; icebergQty is too small.
209209
"Filter failure: MARKET_LOT_SIZE" | `MARKET` order's `quantity` is too high, too low, and/or not following the step size rule for the symbol.
210-
"Filter failure: MAX_POSITION" | The account's position has reached the maximum defined limit. <br> This is composed of the sum of the balance of the base asset, and the sum of the quantity of all open `BUY` orders.
210+
"Filter failure: MAX_POSITION" | The account's position has reached the maximum defined limit. <br/> This is composed of the sum of the balance of the base asset, and the sum of the quantity of all open `BUY` orders.
211211
"Filter failure: MAX_NUM_ORDERS" | Account has too many open orders on the symbol.
212212
"Filter failure: MAX_NUM_ALGO_ORDERS" | Account has too many open stop loss and/or take profit orders on the symbol.
213213
"Filter failure: MAX_NUM_ICEBERG_ORDERS" | Account has too many open iceberg orders on the symbol.

errors_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"Order would trigger immediately." | 止盈、止损单必须在未来触发,如果条件太弱现在的市场行情就可以触发(通常是误操作填错了条件),就会报这个错误。
176176
"Cancel order is invalid. Check origClOrdId and orderId." | 撤销订单必须提供`origClOrdId`或者`orderId`中的一个。
177177
"Order would immediately match and take." | `LIMIT_MAKER` 订单如果按照规则会成为Taker,就会报此错。
178-
"The relationship of the prices for the orders is not correct." | `OCO`订单中设置的价格不符合报价规则:<br> The rules are: <br> `SELL Orders`: Limit Price > Last Price > Stop Price <br>`BUY Orders`: Limit Price < Last Price < Stop Price
178+
"The relationship of the prices for the orders is not correct." | `OCO`订单中设置的价格不符合报价规则:<br/> The rules are: <br/> `SELL Orders`: Limit Price > Last Price > Stop Price <br/>`BUY Orders`: Limit Price < Last Price < Stop Price
179179
"OCO orders are not supported for this symbol" | `OCO`订单不支持该交易对
180180
"Quote order qty market orders are not support for this symbol."| 这个交易对,市价单不支持参数`quoteOrderQty`
181181
"Trailing stop orders are not supported for this symbol." | 此symbol不支持 `trailingDelta`

faqs/trailing-stop-faq-cn.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
`12:05:00``12:05:30` 之间市场交易让最新价上涨到44,100. 最新的交易价格到达或者超过了订单设置的500个基点要求(`44,100 = 42,000 * 1.05`). 这导致了订单被触发, 然后被以限价45,000的价格放到订单薄(order book)里面.
7979

80-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370103-ab3b4c05-1e13-4a25-b99a-42f9e4d6adc8.png">
80+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370103-ab3b4c05-1e13-4a25-b99a-42f9e4d6adc8.png" />
8181

8282
### 用例 B - 追踪止损限价卖单
8383

@@ -93,7 +93,7 @@
9393

9494
`12:05:00``12:05:30` 之间的一些市场交易让最新价下跌到36,900. 最新的交易价格到达或者超过了订单设置的1000个基点要求(`36,900 = 41,000 * 0.90`). 这导致了订单被触发, 然后被以限价38,000的价格放到订单薄(order book)里面.
9595

96-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370383-eb813cc1-d9b8-4a94-896c-a1a29551e09d.png">
96+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370383-eb813cc1-d9b8-4a94-896c-a1a29551e09d.png" />
9797

9898
### 用例 C - 追踪止盈限价买单
9999

@@ -110,7 +110,7 @@
110110

111111
`12:05:00``12:05:30` 之间的一些市场交易让最新价上涨到40,145. 最新的交易价格到达或者超过了订单设置的850个基点要求(`40,145 = 37,000 * 1.085`). 这导致了订单被触发, 然后被以限价38,500的价格放到订单薄(order book)里面.
112112

113-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370339-f1b83c76-790b-4108-8c9a-db2d89a4850f.png">
113+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370339-f1b83c76-790b-4108-8c9a-db2d89a4850f.png" />
114114

115115
### 用例 D - 追踪止盈限价卖单
116116

@@ -131,7 +131,7 @@
131131

132132
`12:06:00``12:06:50` 之间的一些市场交易让最新价下跌到43,012.5. 当前价格达到或者超过了追踪订单设定的750个基点(`43,012.5 = 46,500 * 0.925`), 导致订单被触发, 以限价(LIMIT)41,000的价格被放入订单薄.
133133

134-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370298-172b227a-198d-46ee-a385-5cc267dc253b.png">
134+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370298-172b227a-198d-46ee-a385-5cc267dc253b.png" />
135135

136136
### 用例 E - 不设置限价的追踪止盈止损订单
137137

@@ -145,7 +145,7 @@
145145

146146
`12:04:00``12:04:45` 之间市场上一系列的交易让价格下跌到42,315. 当前价格达到或者超过了追踪订单设定的700个基点(`42,315 = 45,500 * 0.93`), 导致订单被触发, 以限价(LIMIT)39,000的价格被放入订单薄.
147147

148-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370616-17d3295a-3e7c-4314-aa13-ad44e685a311.png">
148+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370616-17d3295a-3e7c-4314-aa13-ad44e685a311.png" />
149149

150150
## 追踪止盈止损下单示例
151151

faqs/trailing-stop-faq.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Between `12:04:00` and `12:05:00` a series of linear trades lead to a decrease i
7878

7979
Between `12:05:00` and `12:05:30` a series of linear trades lead to an increase in last price to 44,100. This trade is equal to, or surpasses, the order's requirement of 500 BIPS, as `44,100 = 42,000 * 1.05`. This causes the order to trigger and start working against the order book at its limit price of 45,000.
8080

81-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370103-ab3b4c05-1e13-4a25-b99a-42f9e4d6adc8.png">
81+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370103-ab3b4c05-1e13-4a25-b99a-42f9e4d6adc8.png" />
8282

8383
### Scenario B - Trailing Stop Loss Limit Sell Order
8484

@@ -94,7 +94,7 @@ Between `12:04:00` and `12:05:00` a series of linear trades lead to an increase
9494

9595
Between `12:05:00` and `12:05:30` a series of linear trades lead to a decrease in last price to 36,900. This trade is equal to, or surpasses, the order's requirement of 1000 BIPS, as `36,900 = 41,000 * 0.90`. This causes the order to trigger and start working against the order book at its limit price of 38,000.
9696

97-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370383-eb813cc1-d9b8-4a94-896c-a1a29551e09d.png">
97+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370383-eb813cc1-d9b8-4a94-896c-a1a29551e09d.png" />
9898

9999
### Scenario C - Trailing Take Profit Limit Buy Order
100100

@@ -112,7 +112,7 @@ Between `12:04:00` and `12:05:00` a series of linear trades lead to a decrease i
112112

113113
Between `12:05:00` and `12:05:30` a series of linear trades lead to an increase in last price to 40,145. This trade is equal to, or surpasses, the order's requirement of 850 BIPS, as `40,145 = 37,000 * 1.085`. This causes the order to trigger and start working against the order book at its limit price of 38,500.
114114

115-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370339-f1b83c76-790b-4108-8c9a-db2d89a4850f.png">
115+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370339-f1b83c76-790b-4108-8c9a-db2d89a4850f.png" />
116116

117117
### Scenario D - Trailing Take Profit Limit Sell Order
118118

@@ -132,7 +132,7 @@ Between `12:05:00` and `12:06:00` a series of linear trades lead to an increase
132132

133133
Between `12:06:00` and `12:06:50` a series of linear trades lead to a decrease in last price to 43,012.5. This trade is equal to, or surpasses, the order's requirement of 750 BIPS, as `43,012.5 = 46,500 * 0.925`. This causes the order to trigger and start working against the order book at its limit price of 41,000.
134134

135-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370298-172b227a-198d-46ee-a385-5cc267dc253b.png">
135+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370298-172b227a-198d-46ee-a385-5cc267dc253b.png" />
136136

137137
### Scenario E - Trailing Stop Order Without A Stop Price
138138

@@ -146,7 +146,7 @@ Between `12:03:00` and `12:04:00` a series of linear trades lead to an increase
146146

147147
Between `12:04:00` and `12:04:45` a series of linear trades lead to a decrease in last price to 42,315. This trade is equal to, or surpasses, the order's requirement of 700 BIPS, as `42,315 = 45,500 * 0.93`. This causes the order to trigger and start working against the order book at its limit price of 39,000.
148148

149-
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370616-17d3295a-3e7c-4314-aa13-ad44e685a311.png">
149+
<img alt="image" src="https://user-images.githubusercontent.com/17701918/167370616-17d3295a-3e7c-4314-aa13-ad44e685a311.png" />
150150

151151
## Trailing Stop Order Examples
152152

filters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ In order to pass the `percent price`, the following must be true for `price`:
4545
```
4646

4747
### PERCENT_PRICE_BY_SIDE
48-
The `PERCENT_PRICE_BY_SIDE` filter defines the valid range for the price based on the average of the previous trades.<br>
49-
`avgPriceMins` is the number of minutes the average price is calculated over. 0 means the last price is used. <br>
48+
The `PERCENT_PRICE_BY_SIDE` filter defines the valid range for the price based on the average of the previous trades.<br/>
49+
`avgPriceMins` is the number of minutes the average price is calculated over. 0 means the last price is used. <br/>
5050
There is a different range depending on whether the order is placed on the `BUY` side or the `SELL` side.
5151

5252
Buy orders will succeed on this filter if:
@@ -112,16 +112,16 @@ Since `MARKET` orders have no price, the average price is used over the last `av
112112
```
113113

114114
### NOTIONAL
115-
The `NOTIONAL` filter defines the acceptable notional range allowed for an order on a symbol. <br><br>
116-
`applyMinToMarket` determines whether the `minNotional` will be applied to `MARKET` orders. <br>
115+
The `NOTIONAL` filter defines the acceptable notional range allowed for an order on a symbol. <br/><br/>
116+
`applyMinToMarket` determines whether the `minNotional` will be applied to `MARKET` orders. <br/>
117117
`applyMaxToMarket` determines whether the `maxNotional` will be applied to `MARKET` orders.
118118

119119
In order to pass this filter, the notional (`price * quantity`) has to pass the following conditions:
120120

121121
* `price * quantity` <= `maxNotional`
122122
* `price * quantity` >= `minNotional`
123123

124-
For `MARKET` orders, the average price used over the last `avgPriceMins` minutes will be used for calculation. <br>
124+
For `MARKET` orders, the average price used over the last `avgPriceMins` minutes will be used for calculation. <br/>
125125
If the `avgPriceMins` is 0, then the last price will be used.
126126

127127
**/exchangeInfo format:**

filters_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
```
4646

4747
#### PERCENT_PRICE_BY_SIDE
48-
`PERCENT_PRICE_BY_SIDE` 过滤器定义了基于交易对平均价格的合法价格范围. 取决于`BUY`或者`SELL`, 价格范围可能有所不同.<br>
48+
`PERCENT_PRICE_BY_SIDE` 过滤器定义了基于交易对平均价格的合法价格范围. 取决于`BUY`或者`SELL`, 价格范围可能有所不同.<br/>
4949

50-
`avgPriceMins` 是用来计算平均价格的分钟数. 0 表示用最新价(last price).<br>
50+
`avgPriceMins` 是用来计算平均价格的分钟数. 0 表示用最新价(last price).<br/>
5151

5252
买向订单需要满足:
5353

@@ -130,16 +130,16 @@ MIN_NOTIONAL过滤器定义了交易对订单所允许的最小名义价值(成
130130
}
131131
```
132132

133-
名义价值过滤器(`NOTIONAL`)定义了订单在一个交易对上可以下单的名义价值区间.<br><br>
134-
`applyMinToMarket` 定义了 `minNotional` 是否适用于市价单(`MARKET`) <br>
133+
名义价值过滤器(`NOTIONAL`)定义了订单在一个交易对上可以下单的名义价值区间.<br/><br/>
134+
`applyMinToMarket` 定义了 `minNotional` 是否适用于市价单(`MARKET`) <br/>
135135
`applyMaxToMarket` 定义了 `maxNotional` 是否适用于市价单(`MARKET`).
136136

137137
要通过此过滤器, 订单的名义价值 (单价 x 数量, `price * quantity`) 需要满足如下条件:
138138

139139
* `price * quantity` <= `maxNotional`
140140
* `price * quantity` >= `minNotional`
141141

142-
对于市价单(`MARKET`), 用于计算的价格采用的是在 `avgPriceMins` 定义的时间之内的平均价.<br>
142+
对于市价单(`MARKET`), 用于计算的价格采用的是在 `avgPriceMins` 定义的时间之内的平均价.<br/>
143143
如果 `avgPriceMins` 为 0, 则采用最新的价格.
144144

145145
### ICEBERG_PARTS 冰山订单拆分数

0 commit comments

Comments
 (0)