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

'Constant' values

For convenience, you can use constants which are like placeholders representing useful data such as the entry price or current size of the open position. You cannot change the value of these, they are derived from your position.

All constants start with the "$" symbol

Constant
Description

$size

Size of the current position long or short

$lsize

Size of the open long position (hedge mode)

$ssize

Size of the open short position (hedge mode)

$entry

Average entry price of the current position

$lentry

Average entry price of the current long position (hedge mode)

$sentry

Average entry price of the current short position (hedge mode)

Example 1
swarm buy $size into 10
Example 2
buy $size at $entry

You can set up a shortcut bind using these constants and when pressed will always represent the correct size or entry etc of your position

To efficiently pyramid your positions in Insilico Terminal, use the commands "buy $size" or "sell $size". These commands automatically replicate your current position size, enabling easy doubling of your position. The "$size" variable dynamically adjusts to your existing position, facilitating rapid and precise adjustments in response to market shifts. This feature simplifies position management, ensuring you can act quickly without manual calculations.

PreviousOverviewNextUser Defined Variables

Last updated 1 year ago