Bot commands · Which signals are traded
/setPositionSide: trade longs, shorts or both
/setPositionSide chooses which signals HafizeBot trades for you: LONGONLY, SHORTONLY or BOTH, which is the default.
- Command
/setPositionSide- Also on this page
/myPositionSide- Who can use it
- VIP members with auto-trading switched on (/autotrade)
- Where
- In your chat with @hafizebot on Telegram
Every signal is a long or a short. /setPositionSide lets the bot take only one side, for example longs only if you never want to short.
Examples
/setPositionSide LONGONLY
Position side updated to LONGONLY.
Send it alone for the options:
Choose Position side. Options are: LONGONLY SHORTONLY BOTH
/myPositionSide
Your Position side: LONGONLY
A skipped signal reads like this in /lastsignals:
Oct 11 09:42 UTC ETHUSDT SHORT, strength 2: skipped: your direction setting does not take this side (/setPositionSide)
Values
| Option | The bot trades |
|---|---|
| BOTH | longs and shorts (starting value) |
| LONGONLY | long signals only |
| SHORTONLY | short signals only |
Questions
Is this the same as Binance's Hedge mode?
No. Hedge mode is a Binance account setting that lets you hold a long and a short on one coin at once; HafizeBot needs it off (One-way mode). /setPositionSide only decides which signals the bot takes. See one-way mode.
Can I trade fewer shorts instead of none?
On Tier 2 and 3, yes: /setSize shorts 50 trades shorts at half your position size, and /setRule shorts strength 2 off skips only the weaker shorts.
Updated 2026-10-11.
Related commands
- /setMinStrength/setMinStrength sets the lowest strength, on HafizeBot's 0 to 5 rating, that the bot trades for you, 2 by default; a higher minimum means fewer, pickier entries, and 0 takes every signal.
- /tradeRules/tradeRules shows, and /setRule sets, your own stop-loss, same-coin gap or on/off for one kind of trade, such as /setRule shorts stop 30; anything a rule does not set uses your normal settings, on Tier 2 and 3.
- /smartSizing/smartSizing shows, and /setSize changes, how much of your position size each kind of trade uses, such as /setSize longs 50 for half-size longs; 0% skips that kind of trade, and Tier 2 and 3 can use it.
More help
- Why does auto-trading need one-way mode?
- What settings does auto-trading start with?
- Commands that choose which signals the bot trades
- All bot commands
Not a member yet? Try VIP free for 3 days, auto-trading included.
A question this page does not answer? Send /support to @hafizebot, or write to [email protected]. Futures trading carries a high risk of loss; nothing here is investment advice.