🏹
Orion Terminal
  • Introduction & Installation
    • Windows Installation
    • macOS Installation
    • Linux Installation
    • Bitget (BETA) Account and API Key Creation
    • Bybit Account and API Key Creation
  • Commands Overview & Examples
  • Flags, Variables, and Operators
Powered by GitBook
On this page
  • Flags
  • Global Variables
  • Operators for Variables

Flags, Variables, and Operators

Flags

Flag

!ro

Makes order reduce only

!po

Makes order post only

Global Variables

Name
Description

last

Last traded price of symbol

ask

Best ask of symbol

bid

Best bid of symbol

best

Best bid for buys / Best ask for sells

mark

Market price of symbol, exchange calculated (varies)

index

Index price of the underlying of a derivative

entry

Position average entry

position

Position size

side

Position side (buy or sell)

close

Position close side (opposite of side)

Operators for Variables

var+1% or var-1%

Percentages after variables or values will add or subtract the percentage from the variable

10%var

Percentages before variables will give you that percentage of the variable

var+1 or var-1

Addition or subtraction to/from variables

var?1%

Equal to + if the position is long or - if it is short

PreviousCommands Overview & Examples

Last updated 1 year ago