Skip to main content

Understanding Gunbot Order Types and Timeframes

In terms of Gunbot strategies, understanding different "order types" is crucial for effective trading. This article aims to explain these order types and show the significance of trading timeframes, setting a clear path for both novice and experienced traders.

Timeframes and Trading​

The PERIOD setting in Gunbot defines the timeframe for each trading candlestick, which directly influences trading indicators like EMA, Bollinger Bands, etc. The table below shows the currently supported timeframes for each eschange.

Period1m3m5m15m30m60m120m180m240m360m480m720m1440m4320m10080m20160m43200m525600m
bingx
binance
gateio
coinex
bybit
mex_gunthy
binanceus
binanceFutures
dydx
dydx4
futures_gunthy
bitfinex
ftx
okex5
okgunbot
bitmex
bitmex_testnet
cex
gdax
coinbase
huobi
kraken
krakenFutures
kucoin
poloniex
cryptocom
mexc
bitget
other

Supported Trading Timeframes​

Gunbot supports various timeframes, each represented as a value in minutes. These range from as short as 1 minute to as long as a year. Here’s a quick reference table:

PeriodValue in Gunbot (in Minutes)
1min1
3min3
5min5
15min15
30min30
1h60
2h120
3h180
4h240
6h360
8h480
12h720
1D1440
3D4320
7D10080
14D20160
1M43200

The Impact of Choosing the Right Period​

The choice of PERIOD is more than a mere setting; it shapes how the market is analyzed and reacted to. Each candlestick in a chart represents a block of time and encompasses data like opening, closing, high, and low prices. Common choices are 5 minutes and 15 minutes, but each option has its nuances.

For instance, shorter candlesticks, like 1 or 5 minutes, offer a granular view of the market, allowing for a dynamic trading strategy that responds quickly to price changes. However, this can also increase the risk as it focuses on short-term market movements.

Conversely, longer candlesticks, such as 4 hours or 1 day, provide a broader view of the market, smoothing out short-term volatility but potentially delaying response to market changes.

Impact of Candlestick Size on EMA

In the image above, observe how different candlestick sizes impact the EMA (Exponential Moving Average) lines (green and red). Shorter periods show more fluctuation around the EMAs, indicating more frequent trading signals but with increased market noise. Longer periods smooth out these fluctuations, leading to fewer signals but potentially more significant trends.

In conclusion, understanding and choosing the right order types and timeframes in Gunbot can significantly enhance your trading strategy. It's a balance of precision, risk management, and personal trading style.

Exploring Different Order Types​

Gunbot utilizes a variety of order types/triggers in it's strategies. Here's a brief overview of each:

  • Strategy Buy: This is your standard buy or long order, marking the initiation of a trading position.
  • Strategy Sell: Similarly, this represents a regular sell or short order, signaling the closure of a trading position.
  • Stop Limit: A strategic order to limit losses, typically used to close a losing trade.
  • Close: Exclusive to margin trading, this order type closes an existing margin position.
  • DCA Buy: Stands for Dollar Cost Averaging Buy, a methodical approach to purchasing assets.
  • RT Buy: Short for Reversal Trading Buy, this order type is used during a reversal trading strategy.
  • RT Sell: A sell order within the Reversal Trading framework.
  • RT Buyback: A unique order type in Reversal Trading, focusing on buyback strategies.

Understanding these order types is fundamental, as they are linked to the settings and strategies you'll employ in Gunbot.