Gunbot wiki
Wiki em português
English
English
  • Welcome to the Gunbot wiki
  • About
    • What's new?
      • New in v22
      • New in v20
      • New in v18
      • New in v16.7+
      • New in v16
      • New in v15
      • New in v13 / v14
      • New in v12
      • New in v11
      • New in v10
      • New in v9
      • New in v8
      • New in v7
      • New in v6
    • Supported exchanges
      • Creating API keys
      • Websockets support
    • License info & system specs
      • How to create a wallet
    • Purchasing Gunbot
  • Setup & general settings
    • Installation & startup
      • Quickstart guide
      • Download software
      • Windows installation
      • macOS installation
      • Linux installation
      • ARM installation
      • How to enable SSL/TLS
      • Running multiple instances
      • Headless mode
    • Global settings
      • Import settings
      • Bot settings
      • Cancel orders
      • Advanced
    • Profile settings
      • Exchanges
      • Gunthy wallet
      • Edit license
      • GUI authentication
      • Telegram
      • Tournament
  • How to work with Gunbot
    • Learning the basics
      • Trading logic
      • Important settings
      • Order types
      • Period
      • Trailing
      • ROE trailing
    • Strategies & pairs
      • Easy edit
      • Strategy editor
      • Trading pairs
        • Pair processing
    • Chart & results
    • Extra modules
      • AutoConfig
      • Backtesting
      • Code editor
      • TradingView Alerts
        • IMAP listener
      • Alerts (beta)
  • Trading strategy options
    • About Gunbot strategies
      • Trading methods
      • Protections
    • Regular strategies (spot trading)
      • ADX
      • ATRTS
      • Bollinger Bands
      • Bollinger Bands (TA)
      • EMA spread
      • Emotionless
      • Gain
      • Ichimoku
      • MACD
      • MACDH
      • Pingpong
      • Stepgain
      • Spotgrid
      • Spotgrid Advanced
      • StepGrid
      • SMA cross
      • Support / Resistance
      • Tssl (trailing stop / stop limit)
      • Time series analysis
    • Margin trading strategies
      • ADX
      • ATRTS
      • Bollinger Bands
      • Bollinger Bands (TA)
      • EMA spread
      • Futures Grid
      • Gain
      • Ichimoku
      • MACD
      • MACDH
      • Pingpong
      • Stepgain
      • SMA cross
      • Tenkan
      • Tssl (trailing stop / stop limit)
      • Time series analysis
    • Custom strategies
    • Balance settings
    • Confirming indicators
    • Dollar Cost Avg (DCA)
    • Reversal trading (RT)
    • TrailMe
    • Misc settings
  • More
    • Config marketplace
  • Various
    • Backups
    • Logs
    • Handling bags
    • Acronyms
  • Troubleshooting
    • Critical errors
    • Bot does not trade
    • Reset password
Powered by GitBook
On this page
  • Wait it out
  • Reversal trading
  • Stop limit
  • Averaging down

Was this helpful?

  1. Various

Handling bags

PreviousLogsNextAcronyms

Last updated 5 years ago

Was this helpful?

Every trader will have to deal with the situation that sometimes after a buy order has been successfully placed, the price drops and you're stuck with assets that lost value and cannot be sold for profit soon. Such assets block further trade activity for that pair, and are commonly called bags.

There are several things you can do to prevent this from happening, or to deal with bags.

Wait it out

Not the most appealing option, but a common way to deal with bags is to just wait it out for the market to reach a profitable price level again. This of course won't always work, but it often does. Try to always keep enough base currency balance, to be able to keep on trading while you wait for one or more bags to recover.

Keep in mind that it is not possible to retrieve old bought prices from the exchange API. At some point, usually after 30 days, you have to provide BOUGHT_PRICE manually as an override for your pair. On Poloniex Gunbot is able to retrieve older bought prices than 30 days.

Reversal trading

With reversal trading Gunbot automatically accumulates quote currency while prices drop. It does this by first selling your assets at a lower price, then buying back more units when prices dropped further. This enables you to sell the bag profitably at a lower price than you initially bought it for.

Stop limit

A common way to prevent accumulating bags is to cut your losses fast. With Gunbot you can set a STOP_LIMIT to sell a pair automatically after it loses x% of it's value.

Averaging down

By buying more assets at a lower price than the initial price, you get a lower average buy price - this allows you to sell at a lower price than the price you initially bought for and get rid of your bags with profit. You can do this manually, or automatically by using DOUBLE_UP.

When averaging down, it is recommended to invest a lot more than your initial investment. The more you invest, the lower the average price to sell will be and the sooner you can get rid of your bags.

Because of this, it is not recommended to enable DOUBLE_UP for many pairs at the same time. You can control how much funds is used to average down by configuring DOUBLE_UP_CAP.

This is how a typical trading history looks when DOUBLE_UP has been used:

Reversal trading (RT)
Dollar Cost Avg (DCA)