In the world of algorithmic trading, understanding the parameters that guide your Autoview's actions is crucial. These parameters, when used correctly, can help optimize your trading strategy, manage risk, and ultimately, increase profitability. In this article, we will delve into the various parameters that you can tweak to customize your trading bot's behavior.
-
Account [a=]: The alias for the API credentials you want to use for this command. For example, if you have API credentials set up for Binance and Kraken, you might use
a=binance
ora=kraken
to specify which set of credentials to use. -
Auto Borrow [ab=]: Funds will be borrowed to ensure sufficient funds when placing an order. This is a binary parameter, where
ab=0
means auto borrow is off andab=1
means auto borrow is on. -
Account Identifier [aid=]: Using a specific account when multiple accounts are available. For example, if you have multiple subaccounts on Tradovate, you might use
aid=1721618374
to specify which account to use. -
Auto Margin Replenishment [amr=]: Available funds in your account will be transferred to the margin of the position. This is a binary parameter, where
amr=0
means auto margin replenishment is off andamr=1
means auto margin replenishment is on. -
Auto Repay [ar=]: Automatic repayment will be triggered when the order is finished. This is a binary parameter, where
ar=0
means auto repay is off andar=1
means auto repay is on. -
Blind Carbon Copy [bcc=]: Relay this command to the configured endpoint only. Exchange requests will not be made. This is a binary parameter, where
bcc=0
means blind carbon copy is off andbcc=1
means blind carbon copy is on. -
Book [b=]: The side of the market you would like to play. For example,
b=long
means you want to buy, andb=short
means you want to sell. -
Cancel / Close [c=]: Used to cancel open orders or close open positions. For example,
c=order
means cancel the order, andc=position
means close the position. -
Carbon Copy [cc=]: Relay this command to the configured endpoint and exchange. This is a binary parameter, where
cc=0
means carbon copy is off andcc=1
means carbon copy is on. -
Close [close=]: A Close order will cancel other active limit orders with the same side and symbol. This is a binary parameter, where
close=0
means close is off andclose=1
means close is on. -
Cancel / Close Maximum [cm=]: Cancels orders or closes positions. For example,
cm=5
means cancel the 5 oldest orders or close the 5 oldest positions. -
Cancel / Close Maximum Order [cmo=]: How the orders are sorted for canceling. How the positions are sorted for closing. For example,
cmo=newest
means cancel the newest orders first,cmo=oldest
means cancel the oldest orders first. -
Delay [delay=]: Delay allows for a pause (in seconds) between commands within the same alert. For example,
delay=10
means wait for 10 seconds before executing the next command. -
Disabled [d=]: Prevents any live action from the command. This is helpful for debugging by outputting the live parameters. This is a binary parameter, where
d=0
means disabled is off andd=1
means disabled is on. -
Date/Time [dt=]: The date/time when the order will be cancelled (if still an open order). For example,
dt=2023-08-01
means the order will be cancelled on August 1, 2023. -
Exchange [e=]: The receiving exchange for your command. For example,
e=binance
means the command will be sent to Binance. -
Extended Hours [eh=]: Order will be eligible to execute in premarket/after hours. This is a binary parameter, where
eh=0
means extended hours is off andeh=1
means extended hours is on. -
Expiration Time [t=]: How long (in seconds) to wait for the condition to be triggered before cancelling the order. For example,
t=3600
means the order will be cancelled if not filled within 1 hour. -
Fee [f=]: Switch the trading fee to the exchange provided option. This is a binary parameter, where
f=0
means use the default fee andf=1
means use the exchange provided fee. -
Fixed Guaranteed Stop Loss [fgsl=]: Order created with a price threshold which is guaranteed against slippage. For example,
fgsl=100
means the stop loss is set at $100 and is guaranteed against slippage. -
Fixed Price [fp=]: The literal price in which to place an order or close a position. For example,
fp=2000
means the order will be placed at a price of $2000. -
Fixed Price Bound [fpb=]: The worst market price that may be used to fill this Stop Order. If the market gaps and crosses through both the price and the price bound, the Stop Order will be cancelled instead of being filled. For example,
fpb=1900
means the worst market price to fill the order is $1900. -
Fixed Stop Loss [fsl=]: Triggers the order (buy or sell) when the last traded price hits the stop price. For example,
fsl=1800
means the order will be triggered when the last traded price hits $1800. -
Fixed Stop Loss Trigger Price [fslx=]: Triggers the stop loss order when the last traded price hits this price. For example,
fslx=1700
means the stop loss order will be triggered when the last traded price hits $1700. -
Fixed Take Profit [ftp=]: Triggers the order (buy or sell) when the last price hits the profit price. For example,
ftp=2100
means the order will be triggered when the last price hits $2100. -
Fixed Take Profit Trigger Price [ftpx=]: Triggers the take profit order when the last traded price hits this price. For example,
ftpx=2200
means the take profit order will be triggered when the last traded price hits $2200. -
Fixed Trailing Stop [fts=]: The trailing stop price adjusts or "trails" the market price by a specified amount. For example,
fts=100
means the trailing stop price will adjust $100 below the market price. -
Fixed Trigger Price [fpx=]: Set the price for stop limit orders. For example,
fpx=2300
means the stop limit order will be set at a price of $2300. -
Guaranteed Stop Loss [gsl=]: Order created with a price threshold which is guaranteed against slippage. For example,
gsl=5%
means the stop loss is set at 5% below the current price and is guaranteed against slippage. -
Hedge mode [hedge=]: Open both Buy and Sell side positions simultaneously. This is a binary parameter, where
hedge=0
means hedge mode is off andhedge=1
means hedge mode is on. -
Hidden / Iceberg (h): This parameter sets the order to be hidden if 0. If > 0, this portion of the position is visible (i.e., Iceberg). For example, if you want to hide your order, you can set
h=0
. If you want to show only a portion of your order, you can seth=50
, which means 50% of your order will be visible. -
Identifier (id): This is a unique identifier among open orders. It is automatically generated if not used. For example, if you want to set a specific identifier for your order, you can set
id=myUniqueID
. -
Leverage (l): This parameter allows your available balance to be multiplied but increases risk. For example, if you want to set a leverage of 10, you can set
l=10
. -
Leverage Type (lt): This parameter is used to change the leverage type when placing new orders. The options are "cross" and "isolated". For example, if you want to set the leverage type to isolated, you can set
lt=isolated
. -
One Cancels the Other (oco): This is a conditional order that combines a limit order with a stop-limit order. For example, if you want to set a OCO order, you can set
oco=1
. -
One Sends the Other (oso): OSO orders allow for the most complex multi-bracket trading strategies. For example, if you want to set a OSO order, you can set
oso=1
. -
Price (p): This parameter is the amount to undercut or over-cut the top order in the book. For example, if you want to undercut the top order by 0.5%, you can set
p=-0.5%
. -
Price Bound (pb): This is the worst market price that may be used to fill this Stop Order. If the market gaps and crosses through both the price and the price bound, the Stop Order will be cancelled instead of being filled. For example, if you want to set a price bound of $100 for a stop order, you can set
pb=100
. -
Price Source (ps): This changes the reference for Price (p) calculations. The options are "last", "top", and "position". For example, if you want to use the last traded price as the reference for your price calculations, you can set
ps=last
. -
Trigger Price (px): This sets the price for stop orders. For example, if you want to set a trigger price of $100 for a stop order, you can set
px=100
. -
Trigger Price Source (pxs): This changes the reference for Trigger Price (px) calculations. The options are "last", "mark", and "index". For example, if you want to use the last traded price as the reference for your trigger price calculations, you can set
pxs=last
. -
Quantity (q): This is the portion of your balance or position you would like to effect. For example, if you want to use 50% of your balance for an order, you can set
q=50%
. -
Reduce Only (ro): This parameter ensures that the order can only reduce your position, not increase it. For example, if you want to set an order that can only reduce your position, you can set
ro=1
. -
Symbol (s): This is the receiving exchange's market for your command. For example, if you want to trade Bitcoin in USD, you can set
s=BTCUSD
. -
Stop Loss (sl): This triggers the order (buy or sell) when the last traded price hits the stop price. For example, if you want to set a stop loss at $100, you can set
sl=100
. -
Stop Loss Trigger Price (slx): This triggers the stop loss order when the last traded price hits this price. For example, if you want to set a stop loss trigger price at $100, you can set
slx=100
. -
Order Type (t): This parameter sets the type of the order. The options are "limit", "market", "fok", "ioc", "post", "close", "open", "settle", and "stop". For example, if you want to set a limit order, you can set
t=limit
. -
Take Profit (tp): This triggers the order (buy or sell) when the last price hits the profit price. For example, if you want to set a take profit at $200, you can set
tp=200
. -
Take Profit Trigger Price (tpx): This triggers the take profit order when the last traded price hits this price. For example, if you want to set a take profit trigger price at $200, you can set
tpx=200
. -
Testing (testing): While enabled, prevents any live action from any command until disabled. This is helpful for debugging by outputting the live parameters. For example, if you want to enable testing mode, you can set
testing=1
. -
Trailing Stop (ts): The trailing stop price adjusts or "trails" the market price by a specified amount. For example, if you want to set a trailing stop of $10, you can set
ts=10
. -
Unit (u): This is the quantity (q) unit being provided. The options are "contracts" and "currency". For example, if you want to set the quantity unit to contracts, you can set
u=contracts
. -
Wallet (w): This parameter is used to transfer currencies from one wallet account to another. Multiple currencies may be used. For example, if you want to transfer Bitcoin from your spot wallet to your margin wallet, you can set
w=btc
. -
Yield (y): This parameter sets the type of your balance. The options are "balance", "equity", "margin", "spot", "borrow", "repay", "futures", "delivery", "spot-futures", "spot-delivery", "contract", "investment", "spot-contract", "spot-investment". For example, if you want to use your available balance excluding open orders/positions, you can set
y=balance
.
These parameters provide a high level of customization for your trading bot, allowing it to adapt to various market conditions and trading strategies. By understanding and effectively using these parameters, you can optimize your trading bot to achieve your financial goals.
Comments
0 comments
Please sign in to leave a comment.