@dydxprotocol/v4-localization 1.1.45 → 1.1.46

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.
@@ -39,6 +39,10 @@
39
39
  "TITLE": "Buying Power",
40
40
  "BODY": "Total available buying power to increase your position on {MARKET}. Your buying power will change based on the market you have selected."
41
41
  },
42
+ "CUSTOM_AMOUNT": {
43
+ "TITLE": "Custom Amount",
44
+ "BODY": "Adjusting your custom amount will apply to both Take Profit and Stop Loss orders."
45
+ },
42
46
  "DEFAULT_EXECUTION": {
43
47
  "TITLE": "Default Execution",
44
48
  "BODY": "Your order will fill any crossing orders at the time of opening. If your order is not fully filled, it will remain open until it is filled, cancelled, or expires."
@@ -91,6 +95,10 @@
91
95
  "TITLE": "Limit Price",
92
96
  "BODY": "This order can only be filled at the specified limit price or better. If your order crosses at the time of placement, your order will fill any crossing orders at the most favorable price."
93
97
  },
98
+ "LIMIT_PRICE_LEARN_MORE": {
99
+ "TITLE": "Limit Price",
100
+ "BODY": "By identifying a limit price, you are placing a Take Profit Limit Order and/or a Stop Limit Order. Click {DOCUMENTATION_LINK} for more details."
101
+ },
94
102
  "LIMIT_PRICE_SLIPPAGE": {
95
103
  "TITLE": "Slippage",
96
104
  "BODY": "Percentage difference between your trigger price and limit price."
@@ -151,6 +159,14 @@
151
159
  "TITLE": "Order Amount",
152
160
  "BODY": "Amount of {SYMBOL} in USD to buy or sell. This is the amount your position will increase or decrease by when the order is filled, not your resulting position amount."
153
161
  },
162
+ "PARTIAL_CLOSE_STOP_LOSS": {
163
+ "TITLE": "Stop Loss is a Partial Close",
164
+ "BODY": "Your stop loss is not configured to close your entire position. This could be because you set a custom amount, or because you have changed your position size after adding this trigger."
165
+ },
166
+ "PARTIAL_CLOSE_TAKE_PROFIT": {
167
+ "TITLE": "Take Profit is a Partial Close",
168
+ "BODY": "Your take profit is not configured to close your entire position. This could be because you set a custom amount, or because you have changed your position size after adding this trigger."
169
+ },
154
170
  "POST_ONLY": {
155
171
  "TITLE": "Post-Only",
156
172
  "BODY": "Orders with post-only enabled can only be placed as maker orders. If the order crosses other orders at the time of placement, it will be automatically cancelled."
@@ -187,6 +203,10 @@
187
203
  "TITLE": "Step Size",
188
204
  "BODY": "Step size is the smallest factor allowed for order amounts on this market."
189
205
  },
206
+ "STOP_LOSS": {
207
+ "TITLE": "Stop Loss",
208
+ "BODY": "Protects against losses by closing a trader’s position once the oracle price crosses the trigger price."
209
+ },
190
210
  "STOP_LOSS_ABOVE_LIQUIDATION_PRICE": {
191
211
  "TITLE": "Stop Loss Above Liquidation Price",
192
212
  "BODY": "The stop-loss price has risen above the liquidation price. This can happen due to funding changes, due to withdrawing funds, or due to changing margin requirements."
@@ -199,6 +219,10 @@
199
219
  "TITLE": "Taker Fee",
200
220
  "BODY": "Trades that take liquidity from the book (e.g. market or crossing limit orders) execute as taker orders. Taker orders have a higher fee than maker orders."
201
221
  },
222
+ "TAKE_PROFIT": {
223
+ "TITLE": "Take Profit",
224
+ "BODY": "Allows traders to set targets and protects profits on positions by specifying a price at which to close an open position for profit."
225
+ },
202
226
  "TICK_SIZE": {
203
227
  "TITLE": "Tick Size",
204
228
  "BODY": "Tick size is the minimum price movement on this market."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -57,6 +57,8 @@ export const TOOLTIP_STRING_KEYS = {
57
57
  BRACKET_ORDER_TP_TITLE: 'TOOLTIPS.TRADE.BRACKET_ORDER_TP.TITLE',
58
58
  BUYING_POWER_BODY: 'TOOLTIPS.TRADE.BUYING_POWER.BODY',
59
59
  BUYING_POWER_TITLE: 'TOOLTIPS.TRADE.BUYING_POWER.TITLE',
60
+ CUSTOM_AMOUNT_BODY: 'TOOLTIPS.TRADE.CUSTOM_AMOUNT.BODY',
61
+ CUSTOM_AMOUNT_TITLE: 'TOOLTIPS.TRADE.CUSTOM_AMOUNT.TITLE',
60
62
  DEFAULT_EXECUTION_BODY: 'TOOLTIPS.TRADE.DEFAULT_EXECUTION.BODY',
61
63
  DEFAULT_EXECUTION_TITLE: 'TOOLTIPS.TRADE.DEFAULT_EXECUTION.TITLE',
62
64
  EQUITY_BODY: 'TOOLTIPS.TRADE.EQUITY.BODY',
@@ -83,6 +85,8 @@ export const TOOLTIP_STRING_KEYS = {
83
85
  LEVERAGE_TITLE: 'TOOLTIPS.TRADE.LEVERAGE.TITLE',
84
86
  LIMIT_PRICE_BODY: 'TOOLTIPS.TRADE.LIMIT_PRICE.BODY',
85
87
  LIMIT_PRICE_TITLE: 'TOOLTIPS.TRADE.LIMIT_PRICE.TITLE',
88
+ LIMIT_PRICE_LEARN_MORE_BODY: 'TOOLTIPS.TRADE.LIMIT_PRICE_LEARN_MORE.BODY',
89
+ LIMIT_PRICE_LEARN_MORE_TITLE: 'TOOLTIPS.TRADE.LIMIT_PRICE_LEARN_MORE.TITLE',
86
90
  LIMIT_PRICE_SLIPPAGE_BODY: 'TOOLTIPS.TRADE.LIMIT_PRICE_SLIPPAGE.BODY',
87
91
  LIMIT_PRICE_SLIPPAGE_TITLE: 'TOOLTIPS.TRADE.LIMIT_PRICE_SLIPPAGE.TITLE',
88
92
  LIQUIDATION_PRICE_BODY: 'TOOLTIPS.TRADE.LIQUIDATION_PRICE.BODY',
@@ -113,6 +117,10 @@ export const TOOLTIP_STRING_KEYS = {
113
117
  ORDER_AMOUNT_TITLE: 'TOOLTIPS.TRADE.ORDER_AMOUNT.TITLE',
114
118
  ORDER_AMOUNT_USD_BODY: 'TOOLTIPS.TRADE.ORDER_AMOUNT_USD.BODY',
115
119
  ORDER_AMOUNT_USD_TITLE: 'TOOLTIPS.TRADE.ORDER_AMOUNT_USD.TITLE',
120
+ PARTIAL_CLOSE_STOP_LOSS_BODY: 'TOOLTIPS.TRADE.PARTIAL_CLOSE_STOP_LOSS.BODY',
121
+ PARTIAL_CLOSE_STOP_LOSS_TITLE: 'TOOLTIPS.TRADE.PARTIAL_CLOSE_STOP_LOSS.TITLE',
122
+ PARTIAL_CLOSE_TAKE_PROFIT_BODY: 'TOOLTIPS.TRADE.PARTIAL_CLOSE_TAKE_PROFIT.BODY',
123
+ PARTIAL_CLOSE_TAKE_PROFIT_TITLE: 'TOOLTIPS.TRADE.PARTIAL_CLOSE_TAKE_PROFIT.TITLE',
116
124
  POST_ONLY_BODY: 'TOOLTIPS.TRADE.POST_ONLY.BODY',
117
125
  POST_ONLY_TITLE: 'TOOLTIPS.TRADE.POST_ONLY.TITLE',
118
126
  POST_ONLY_TIMEINFORCE_GTT_BODY: 'TOOLTIPS.TRADE.POST_ONLY_TIMEINFORCE_GTT.BODY',
@@ -132,12 +140,16 @@ export const TOOLTIP_STRING_KEYS = {
132
140
  SPREAD_TITLE: 'TOOLTIPS.TRADE.SPREAD.TITLE',
133
141
  STEP_SIZE_BODY: 'TOOLTIPS.TRADE.STEP_SIZE.BODY',
134
142
  STEP_SIZE_TITLE: 'TOOLTIPS.TRADE.STEP_SIZE.TITLE',
143
+ STOP_LOSS_BODY: 'TOOLTIPS.TRADE.STOP_LOSS.BODY',
144
+ STOP_LOSS_TITLE: 'TOOLTIPS.TRADE.STOP_LOSS.TITLE',
135
145
  STOP_LOSS_ABOVE_LIQUIDATION_PRICE_BODY: 'TOOLTIPS.TRADE.STOP_LOSS_ABOVE_LIQUIDATION_PRICE.BODY',
136
146
  STOP_LOSS_ABOVE_LIQUIDATION_PRICE_TITLE: 'TOOLTIPS.TRADE.STOP_LOSS_ABOVE_LIQUIDATION_PRICE.TITLE',
137
147
  STOP_LOSS_BELOW_LIQUIDATION_PRICE_BODY: 'TOOLTIPS.TRADE.STOP_LOSS_BELOW_LIQUIDATION_PRICE.BODY',
138
148
  STOP_LOSS_BELOW_LIQUIDATION_PRICE_TITLE: 'TOOLTIPS.TRADE.STOP_LOSS_BELOW_LIQUIDATION_PRICE.TITLE',
139
149
  TAKER_FEE_BODY: 'TOOLTIPS.TRADE.TAKER_FEE.BODY',
140
150
  TAKER_FEE_TITLE: 'TOOLTIPS.TRADE.TAKER_FEE.TITLE',
151
+ TAKE_PROFIT_BODY: 'TOOLTIPS.TRADE.TAKE_PROFIT.BODY',
152
+ TAKE_PROFIT_TITLE: 'TOOLTIPS.TRADE.TAKE_PROFIT.TITLE',
141
153
  TICK_SIZE_BODY: 'TOOLTIPS.TRADE.TICK_SIZE.BODY',
142
154
  TICK_SIZE_TITLE: 'TOOLTIPS.TRADE.TICK_SIZE.TITLE',
143
155
  TIME_IN_FORCE_BODY: 'TOOLTIPS.TRADE.TIME_IN_FORCE.BODY',