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
  1. Market

TWAP

PreviousSwarmNextOverview

Last updated 8 days ago

Time Weighted Average Price execution of a large order. A Total Size is divided into the given number of Total Lots which are then executed one by one across the given Total Time at regular intervals (“Order Frequency”).

There is a maximum of 12 hours and a minimum of 5 minutes.

This is a long running process, you may continue trading using the Terminal’s other functions and monitor the TWAP progress in the Activity panel.

TWAP is cancelable at any moment.

Stealth Execution Options

Frequency Jitter

This option is to help avoiding detection of your running TWAP by public market trackers. Usually TWAP orders are place at regular (exact) time intervals. With Jitter enabled, you can displace these time intervals by a random number of seconds up to ±20% for each order placed.

For example, instead of placing orders every 10 seconds, with Jitter of ±20% orders may be placed at the given intervals (seconds): 10, 9, 11, 12, 8, 10.5, 9.7, 11.4 etc. Which are all a random and maximum of 20% deviation from 10.

Irregular Lots

You can also randomize the size of your lots instead of using the same uniform size for each TWAP order placed. Similar to the Irregular option on SWARM orders.

Using the Jitter and Irregular options together, it is practically impossible for your running TWAP to be detected by market analyzers

Price bounds

Define upper and lower price bounds for the TWAP and its reaction:

  • Pause execution until price returns to bounds

  • End execution and abort the TWAP order

  • Execute all remaining orders immediately

  • Close which stops the TWAP and acts as a SL/TP to close your position

Chase option

Toggle this option for the twap in order to use chase orders instead of market orders. Options include:

  • Interval Time Aggression, which lets you select to either market order or add the order to the next chase if the chase order isn't filled in a certain time.

  • On Chase Fail, which lets you decide between market order and adding to the next chase order in case the current chase order fails.

Note: Closing the Terminal will end the TWAP process.