UI Control

Commands that can be utilized to control different aspects of the Terminal user interface. NOTE: This is currently only available for the DOM but will expand to the rest of app later

All UI commands are formatted like so:

ui <component> <action>

CLI

  • Focus the CLI input field itself so you can quickly type in the CLI: ui cli focus e.g. bind global ctrl+space "ui cli focus"

  • CLI link color change: ui cli link_<color> e.g. ui cli link_orange

Place Order Form

  • Change ordertypes with ui order type_<ordertype> of linked place order forms, e.g. ui order type_chase . Ordertype names are: limit, limitstop, click, chase, scale, scaleside, market, marketstop or stop, swarm, twap

  • Size and slider control via ui order size <size> where <size> can set an absolute amount or adjust relatively. E.g. do bind global shift+right "ui order size +10% to globally always bump your order size by 10% (% always refering to 100% max available size). Examples:

    • Absolute set:  

      • ui order size 250    → set to 250 contracts/coins  

      • ui order size 500$   → set to 500 USD (equivalent)  

      • ui order size 40%   → set to 40 % of max size

    • Relative adjust works analogous, just put a + or - infront of the amount and the CLI will then adjust the size accordingly. e.g. ui order size -100$

  • Focus size inputs: ui order sizefocus or ui order sizefocus1 for first size-input, ui order sizefocus2 for the 2nd USD-input

  • Use the Orderform size for CLI commands via $ordersize (only focussed instrument)

  • Toggle quick buttons in the linked orderform via ui order quick<1-7>

  • Use Quicksize button sizes in the CLI via $quick<1-7>

  • Toggle Reduce or Post via btn_reduce and btn_post

  • Toggle Buy and Sell buttons via btn_buy and btn_sell

  • Toggle Designer Mode via ui header designer

  • Toggle Reduce-Only Mode via ui header reduce

Tabs

  • Change layout tabs via ui tab <name>

Chart

  • Use a price from chart click in CLI (= using price from ordermenu) with $click e.g. buy 1 at $click (only implicit instrument)

  • Change chart component timeframes via e.g. ui chart time_4h or ui chart time_5m

DOM

Using the component name "dom", you can control the order form with the following actions

With the latest update the following buttons have been added for the DOM Orderform:

  • Clear Profiles: btn_clear_profiles

  • Freeze view: btn_freeze

  • Follow latest price: btn_follow

Additionally, there are further binds actions available in the DOM settings menu:

For example, to control the "MKT. BUY" button type this into the CLI:

ui dom btn_mkt_buy

You can of course bind these to a hotkey in the usual way:

bind global b "ui dom btn_mkt_buy"

Last updated