Articles on: Layouts and widgets

Understanding the Trading Widget of Altrady

In this documentation, you will understand how to use the Trading widget to place orders using Altrady's Trading widget.
In v4.5 we have added new Position Controls to the Trading widget. These controls are visible when a position exists, or a filled order with no previous positions for that market. See more below.
Additionally, Hedge mode has been added for Binance and Bybit Futures. There are some differences in the Trading widget for these exchanges. See more.
The following article provides an overview of the Trading widget for Spot exchanges and One-way mode for futures exchanges. Further details are found in more comprehensive articles, linked throughout.

Accessing the Trading widget


If you can't find the Trading widget in any of the existing modules, make sure it's enabled in the widget list, or drag it from the right side list of unused widgets.
All preset layouts include the Trading widget, either in vertical or horizontal format. The format changes from vertical to horizontal depending on the width of the widget, so you can choose according to your needs.
It will look like one of these two versions:

Vertical Trading widget showing the main components

Horizontal Trading widget showing the main components

Components of the Trading widget


Click the link to skip to the relevant section:
1. Paper Trading controls
2. Side Selection and available balances
3. Order form for standard orders. Also used for entries for smart orders
4. Smart order extras Any of these can be added to a regular order.
5. Order controls
6. Assets
7. Order Presets menu

Context-dependent Components


Position controls for Smart Positions (Increase, TP, SL, other). Only for open positions.
Futures Controls. Only for Futures markets.

1. Paper Trading controls


The Paper trading icon is shown at the top left, if the selected account is a Paper account. From V4.2 onward, balances can be edited top right. More information on paper trading.



2. Side Selection and available balances


For Spot markets and one-way mode on Futures markets, Buy and Sell selections are available.
Select either Buy or Sell before entering the order details.
Under the Buy is the available balance of quote currency that can be used to buy tokens (spot) or contracts (futures). For Futures this is the leveraged amount.
Under the Sell is the available balance that can be sold for the currently selected market. For Spot markets, this is the available amount of base currency (tokens). For Futures, this is the leveraged number of contracts that could potentially be sold using the available quote currency balance.
For Futures, one-way mode: when Reduce-only is enabled at the bottom of the Trading widget, the Buy and Sell amounts shown are the current open amount on the exchange. If there is no open amount for this market, the values will be zero.

For Futures, one-way mode, if the available balance for Buy or Sell is zero, and there is quote currency available, the most likely reason is that Reduce-Only is enabled in the Order controls near the bottom of the Trading widget. The reserved and available quote currency is visible is the Wallet Balances (section 6).

Available Balance based on available assets and leverage. 2. With Reduce only enabled, Buy and Sell balances shows the open position size

3. Order form for standard orders.


All of these order types can also be used as entries for smart orders.
Select from three general types of order: Market, Limit or Ladder

Note that not all order types are available on all exchanges. If the order type is not visible then it is not available.

More details on how to create each type of order:
Market orders, Video
Stop Market orders
Limit orders
Stop Limit orders, Video
Trailing Stop orders, Video
OCO orders
Ladder orders
Order comparison

4. Smart order extras


Any of these smart or automated extras can be added to a regular order, with the resulting order managed internally by Altrady.
These include:
Exit orders:
Take Profit
Stop Loss: Standard, with Cooldown: Timer or Candle Close, Trailing Stop exit
Risk Controls
And triggers to delay the opening of a position or expire a position with an unfilled entry based on time or price, video, video; or close a filled position based on time.

Overview videos

Mastering Smart Positions
Risk Calculator 1
Risk Calculator 2

All of these are outlined in the documentation on Smart Orders. Start here: Quick Start Guide

5. Order controls


Buttons to Reset the order form (for a new order) or Place Order
For editing an order, these are: Cancel Edit and Place Order
Enable Auto Confirm to skip the confirmation step when placing an order.

Post only can be enabled to ensure that the Limit order placed will only fill as a Maker order, otherwise it will be cancelled.
More info: Post Only
Time in Force can be used with Post only, for Limit Orders. The default is GTC (Good 'til Cancelled, which meets most needs).
More info: Time in Force
Reduce only

Reduce only is visible for Futures markets, one way mode (not hedge mode).
If enabled it will only allow the position to be reduced (not increased).
And will not allow it to be reduced more than 100% (which would create a position in the opposite direction).
RO should be disabled for Entry orders, and Smart Orders.
It should be enabled when placing a regular Exit order.
More info: Reduce Only

6. Assets


The assets or wallet balances for the selected account are shown here.
For Spot, quote and base currency balances are shown for the selected market, divided into Available and Reserved balances.
Check My Orders widget to see where assets are reserved in orders. Select All Markets to see orders for all markets for the currently selected account.

For Spot markets, The Assets shows the available and reserved quote currency and base currency for this market

For Futures, only the amount of quote currency is shown in the Assets, since base currency coins or tokens are not actually purchased (only contracts). "Base currency" values will always be zero.
The open position size can be viewed either:
One-way mode: by enabling Reduce Only in the Order controls on the Trading widget: this will display the current position size and side under the Side Select and Available balance, at the top of the Trading widget.
Hedge mode: select Close, and then Long or Short, to see the open position size for each side.
in the Position Info widget, investments section. This shows the leveraged amount bought or sold, and the amount remaining for the currently selected position.
If there is more than one position open for the current market, the Reduce Only amount will be the total of all open positions, and equal to the total open amount on the exchange.

7. Order Presets menu


This menu allows the trader to create, edit and use order combinations that are used frequently.
These are user-created, based on an order you create in the Trading widget and then save as a Preset.
More details.

Order Presets menu to create, edit or recall a Preset

Position controls for Smart Positions


Management for Smart Positions to make your trading easier (from V4.5)
In some situations, Position controls will be visible under the Order Side and balances.
More details coming soon.

1. for markets with current orders and no previous positions     2. For markets with current positions; or previous positions + current orders

Create new Position

"You have traded this market before but you don't have any registered positions.
Would you like to create a position based on open and closed orders?"
This message will appear in the Trading widget when there is:
One or more filled orders on this market + no previous positions on this market.
Two options are available:
Create a new smart position, including your selection of recently filled orders e.g. one or more filled buy orders (long position). Or one or more filled sell orders (short position).
If there are open orders for the same side, these will be included as additional entry orders (DCAs) in the new smart order.
If there are open orders for the opposite side, these will be included in the smart order, up to the value of the filled entry orders. (If more entry orders are filled, the Take Profit orders will be updated to include the additional tokens.)
The main benefit of converting these orders to a single smart order is:
Altrady will manage the placement of the orders. When another entry is filled, the TP will be updated. Once the TP is filled, the remaining entries will be cancelled.
As well as one of more TP orders, a Stop Loss can be added to the smart order, so that downside risk is also managed. Apart from a regular Stop Loss, Trailing Stop, Trailing Take Profit, and Stop Loss cooldown can be enabled.
It's easy to make changes to the order, for example increasing the size of the position.
Information about the position will be continually updated in the Position Info widget, including the number of orders filled, position size, PnL, Break-even price.
read about smart orders and smart positions

One filled order with a TP for the same amount. And 4 DCAs. This can be converted to a smart order.

To include the filled order in the new smart order, select Use Previous Orders
Then select the orders to be included in this position.
If there are filled Buy orders and filled Sell orders, select only Buys or Sells (to create a new Long or short position, respectively).





Futures Controls


Set the margin type and amount, top left
Set the mode, Hedge or One way (BIFU and BYBIF only), top right
For one-way mode, the rest of the trading widget looks the same as for spot, with the addition of Reduce only with the Order controls, at the bottom.
For Hedge mode, instead of Buy and Sell options, are Open and Close; Long and Short.
Hedge Mode Intro video
Futures: Hedge Mode and One-way Mode

Trading widget in (left) One Way mode            (right) Hedge mode

Revised July 2024 for V4.5

Updated on: 17/08/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!