Documentation
  • Welcome
    • 🖥️Insilico Terminal
    • 🚀Terminal 3.8
    • ✍️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
    • 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
    • Tradingview Chart
    • Orderbook
    • Trades
    • Tickers / Instruments
    • Activity
    • Orders
    • Positions
    • DOM
    • PnL Cards
    • Aggr
    • Balances
    • Layouts
    • TradeStream Trading Journal
  • Execution panel
    • Side Panel Overview
    • “Size” Input / Slider bar
    • "Reduce" Switch
    • “TP/SL” Switch
    • 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.8
    • v3.7
    • v3.6
    • v3.5
    • V3.4
    • v3.3.0
    • v3.1.15
    • v3.1.13
    • v3.1.11
    • v3.1.0
    • v3.0.0
    • v2.2.0
    • v2.1.0
    • v2.0.2
Powered by GitBook
On this page
  1. Terminal CLI

Scale Orders

Note: all commands operate on the currently viewed instrument only

Command Text
Description
Example

scale <side> <size> into <count> from <price> to <price>

Place <count> number of orders of a given total <size> between the two prices (order of prices not important). Can also specify to reduce (see example)

scale buy 10 into 10 from 31000 to 32000 scale sell 10000$ into 25 from 50000 to 48500 reduce

scale <side> <size> into <count> from <price> to <price>

scale buy 1000$ into 10 from -0.25% to -1% scale sell 1 into 5 from +1% to 32000 reduce

scale <side> <size> into <count> from <price> to <price> cubic <skew>

As above, but specifying either cubic or icubic followed by a skew figure between 0.0 and 1.0 to specify how to distribute the orders

scale buy 20000 into 10 from 31250 to 32000 icubic 1.0 scale buy 10000$ into 30 from 20500 to 20750 cubic 0.25 reduce

scale <side> <size> into <count> from <price> to <price> cubic <price-skew> cubic <size-skew>

For size distribuition you can add a size skew right after the price skew. However as the only exception, size skew comes after <reduce> If you only want to use only size distribution, you have to use linear 1 (arbitrary number between 0-1) for price distribution

scale buy 10000 into 10 from 50000 to 49000 cubic 1.0 cubic 0.8 scale sell 1 into 10 from 90000 to 100000 cubic 0.25 reduce cubic 0.5 scale buy 50000 into 10 from 30000 to 29500 linear 1.0 cubic 0.8

When using cubic:

  • For buy orders:

    • With a bias of skew 1: distribution towards price range high.

    • With a bias of skew 0: distribution towards price range low.

  • For sell orders:

    • With a bias of skew 1: distribution towards price range low.

    • With a bias of skew 0: distribution towards price range high.

When using icubic:

  • For buy orders:

    • With a bias of skew 1: distribution towards price range low.

    • With a bias of skew 0: distribution towards price range high.

  • For sell orders:

    • With a bias of skew 1: distribution towards price range high.

    • With a bias of skew 0: distribution towards price range low.

PreviousClose PositionNextChase Orders

Last updated 4 days ago

price offset can be mimicked and mixed with other types of figures

Scale Side's