diff --git a/libs/deal-ticket/src/components/deal-ticket/deal-ticket.tsx b/libs/deal-ticket/src/components/deal-ticket/deal-ticket.tsx index 591b18d61..2693449ab 100644 --- a/libs/deal-ticket/src/components/deal-ticket/deal-ticket.tsx +++ b/libs/deal-ticket/src/components/deal-ticket/deal-ticket.tsx @@ -662,44 +662,31 @@ export const DealTicket = ({ )} /> )} -
- ( - - - {disablePostOnlyCheckbox - ? t( - '"Post only" can not be used on "Fill or Kill" or "Immediate or Cancel" orders.' - ) - : t( - '"Post only" will ensure the order is not filled immediately but is placed on the order book as a passive order. When the order is processed it is either stopped (if it would not be filled immediately), or placed in the order book as a passive order until the price taker matches with it.' - )} - {' '} - - {t('Find out more')} - - - } - > -
- { - field.onChange(postOnly); - setValue('reduceOnly', false); - }} - label={t('Post only')} - /> -
-
- )} - /> + +
+ {featureFlags.TAKE_PROFIT_STOP_LOSS && ( + ( + {t('TP_SL_TOOLTIP', 'Take profit / Stop loss')}

+ } + > +
+ +
+
+ )} + /> + )}
- { - <> -
- {isLimitType && ( - ( - - {t( - 'ICEBERG_TOOLTIP', - 'Trade only a fraction of the order size at once. After the peak size of the order has traded, the size is reset. This is repeated until the order is cancelled, expires, or its full volume trades away. For example, an iceberg order with a size of 1000 and a peak size of 100 will effectively be split into 10 orders with a size of 100 each. Note that the full volume of the order is not hidden and is still reflected in the order book.' - )}{' '} - - {t('Find out more')} - {' '} -

- } - > -
- -
-
- )} - /> + + {isLimitType && ( +
+ ( + + {t( + 'ICEBERG_TOOLTIP', + 'Trade only a fraction of the order size at once. After the peak size of the order has traded, the size is reset. This is repeated until the order is cancelled, expires, or its full volume trades away. For example, an iceberg order with a size of 1000 and a peak size of 100 will effectively be split into 10 orders with a size of 100 each. Note that the full volume of the order is not hidden and is still reflected in the order book.' + )}{' '} + + {t('Find out more')} + {' '} +

+ } + > +
+ +
+
)} - {featureFlags.TAKE_PROFIT_STOP_LOSS && ( - ( - {t('TP_SL_TOOLTIP', 'Take profit / Stop loss')}

- } - > -
- -
-
- )} - /> + /> + + ( + + + {disablePostOnlyCheckbox + ? t( + '"Post only" can not be used on "Fill or Kill" or "Immediate or Cancel" orders.' + ) + : t( + '"Post only" will ensure the order is not filled immediately but is placed on the order book as a passive order. When the order is processed it is either stopped (if it would not be filled immediately), or placed in the order book as a passive order until the price taker matches with it.' + )} + {' '} + + {t('Find out more')} + + + } + > +
+ { + field.onChange(postOnly); + setValue('reduceOnly', false); + }} + label={t('Post only')} + /> +
+
)} -
- {isLimitType && iceberg && ( - - )} - {featureFlags.TAKE_PROFIT_STOP_LOSS && tpSl && ( - - )} - - } + /> +
+ )} + + {isLimitType && iceberg && ( + + )} + + {featureFlags.TAKE_PROFIT_STOP_LOSS && tpSl && ( + + )}