Documentation
  • Welcome
    • 🖥️Insilico Terminal
    • 🚀Terminal 3.9
    • ✍️Registration
    • 🔑Security
    • ❔Frequently Asked Questions
    • 🏛️Terms of Service
  • Setup
    • Creating an API Key
      • Creating a Bybit API Key
      • Creating a Bitmex API Key
      • Creating a Binance Key
      • Creating a Bitget API Key
      • Creating a Coinbase API Key
      • Creating an OKX API Key
      • Creating a BloFin API Key
    • Adding Hyperliquid
    • Adding your API Key to the Terminal
    • Synchronize API Keys Across Devices
    • Progressive Web App (PWA) Guide
  • Application Elements
    • UI overview
    • Performance
    • Multi Mode
      • Multi Account
      • Multi Layout
      • Link System
      • Hotkeys
    • Classic Mode
    • Mobile Mode
    • Header controls
    • Interactive Chart
      • Designer
      • Skip initial candles
    • Tradingview Chart
    • Orderbook
    • Trades
    • Tickers / Instruments
    • Activity
    • Orders
    • Positions
    • DOM
    • PnL Cards
    • Aggr
    • Balances
    • Layouts
    • Basket Trading
    • TradeStream Trading Journal
  • Execution panel
    • Side Panel Overview
    • “Size” Input / Slider bar
    • "Reduce" Switch
    • “TP/SL” Switch
    • Smart Hedging
    • Buy / Sell Buttons
    • Margin / Leverage Control
    • Instrument Statistics
  • Limit Tab
    • Limit
    • Stop Limit
    • Click Placement
    • Chase
    • Scale
    • Scale Side
  • Market
    • Market
    • Stop Market Order
    • Swarm
    • TWAP
  • Terminal CLI
    • Overview
    • 'Constant' values
    • User Defined Variables
    • General Commands
    • Simple Ordering
    • Stops
    • Ordering with Stops
    • Cancel Orders
    • Close Position
    • Scale Orders
    • Chase Orders
    • Swarm Order
    • Shortcut / Hotkeys
    • UI Control
  • Changelog
    • v3.9
    • v3.8.12
    • v3.8.11
    • v3.8.10
    • v3.8.9
    • v3.8.5
    • v3.8.4
    • v3.8.3
    • v3.8.1
    • v3.8
    • v3.7.9
    • v3.7.8
    • v3.7.7
    • v3.7.4
    • v3.7
    • v3.6.15
    • v3.6.10
    • v3.6.9
    • v3.6
    • v3.5
    • V3.4
    • v3.3.0
    • v3.1.15
    • v3.1.13
    • v3.1.11
    • v3.1.9
    • v3.1.7
    • v3.1.6
    • v3.1.5
    • v3.1.0
    • v3.0.0
    • v2.2.0
    • v2.1.0
    • v2.0.2
Powered by GitBook
On this page
  • Market Orders
  • Limit Orders
  1. Terminal CLI

Simple Ordering

PreviousGeneral CommandsNextStops

Last updated 1 year ago

Note: all commands operate on the currently viewed instrument only

You can use variables $size and $entry wherever you see <size> and <price>. You can enter <size> as the base / the underlying asset, in USD value (using "$") or as a percentage of the available balance (using "%"). <price> can be specified as an absolute price or as a distance from last price (relative or in %). See for more details

Market Orders

Command Text
Description
Example

buy <size>

Market buy immediately 100 of the underlying

buy 100

buy <size>

Market buy immediately with a size worth 1000 USD

buy 1000$

buy <size>

Market buy immediately with an amount of available balance

buy 10%, buy 100%

sell <size>

Market sell immediately 0.1 of the underlying

sell 0.1

sell <size>

Market sell immediately with a size worth 5000 USD

sell 5000$

sell <size>

Market sell immediately with an amount of available balance

sell 10%, sell 50%

buy <size> reduce

Market buy with reduce e.g. unwind a short position

buy 100 reduce, buy 50% reduce

sell <size> reduce

Market sell with reduce e.g. unwind a long position

sell 10 reduce, sell 100$ reduce

Limit Orders

Command Text
Description
Example

buy <size> at <price>

Place a limit buy order for the given size at a specified price or distance

buy 100 at 13789 buy 10% at -250 buy 1000$ at -1%

sell <size> at <price>

Place a limit sell order for the given size at a specified price or distance

sell 0.5 at 64000 sell 25% at +100 sell 1000$ at 0.1%

buy <size> at <price> reduce

Place a reduce limit buy order at the price

buy 10 at 11000 reduce buy 100% at -1% reduce

sell <size> at <price> reduce

Place a reduce limit sell order at the price

sell 100$ at 456 reduce sell 50% at +300 reduce

buy <size> best

Enter the size at the best price in the orderbook (quote)

buy 0.1 best buy 1000$ best buy 100% best

sell <size> best

Enter the size at the best price in the orderbook (quote)

sell 100 best sell 10000$ best sell 10% best

buy <size> best reduce

Close / reduce a position at best price

buy 0.25 best reduce buy 100% best reduce buy 500$ best reduce

sell <size> best reduce

Close / reduce a position at best price

sell 25 best reduce sell 50% best reduce sell 5000$ best reduce

Variables