Username: Password:

Author Topic: Max volume to buy  (Read 3480 times)

Offline Asp75

  • Rookie
  • *
  • Posts: 17
    • View Profile
Max volume to buy
« on: June 19, 2020, 02:37:18 PM »
Is there a way to set the max volume to buy on a pair?

It's tedious to constantly monitor the accumulated amount from multiple buys and manually disable the Buy on that pair when a certain threshold is reached.

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Max volume to buy
« Reply #1 on: June 19, 2020, 08:25:32 PM »
Is there a way to set the max volume to buy on a pair?

It's tedious to constantly monitor the accumulated amount from multiple buys and manually disable the Buy on that pair when a certain threshold is reached.

You can override Trading_limit parameter for each pair, like this:

"pairs": {
        "binance": {
            "USDT-BTC": {
                "strategy": "Base_USDT",
                "enabled": true,
                "override": {
                    "TRADING_LIMIT": 150
                    }
            },
            "USDT-ETH": {
                "strategy": "Base_USDT",
                "enabled": true,
                "override": {        "TRADING_LIMIT": 70
                       }
            },
            "USDT-VET": {
                "strategy": "Base_USDT",
                "enabled": true,
                "override": {
  "TRADING_LIMIT": 30
                       }
            }

Offline Asp75

  • Rookie
  • *
  • Posts: 17
    • View Profile
Re: Max volume to buy
« Reply #2 on: June 20, 2020, 07:12:57 AM »
That will set the limit for a single buy.
Some nice strategies allow multiple consecutive buys, when the conditions are met.
Often, there are 4-5 buys before a sell is complete.

But sometimes, usually when the price keeps falling, I can wake up to 20 buys and a huge bag.
Is there some way I can set a hard limit for how much a pair can execute buys?

As per your example,
binance": {
            "USDT-BTC": {
                "strategy": "Base_USDT",
                "enabled": true,
                "override": {
                    "TRADING_LIMIT": 150
             
SMACROSS will buy 150 USDT in BTC each time. But when done 20 times, that will come up with 3000 invested in 1 trade.
It would be great to be able to set a certain amount, say 1000, that would disable the future buys until the Sell is made.

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Max volume to buy
« Reply #3 on: June 22, 2020, 03:07:17 AM »
That will set the limit for a single buy.
Some nice strategies allow multiple consecutive buys, when the conditions are met.
Often, there are 4-5 buys before a sell is complete.

But sometimes, usually when the price keeps falling, I can wake up to 20 buys and a huge bag.
Is there some way I can set a hard limit for how much a pair can execute buys?

As per your example,
binance": {
            "USDT-BTC": {
                "strategy": "Base_USDT",
                "enabled": true,
                "override": {
                    "TRADING_LIMIT": 150
             
SMACROSS will buy 150 USDT in BTC each time. But when done 20 times, that will come up with 3000 invested in 1 trade.
It would be great to be able to set a certain amount, say 1000, that would disable the future buys until the Sell is made.

If it can buy up 20 times and you don't want to use 3000, then what you can do is to lower Trading Limit value. If you put it to 50, it will buy 1000 max if it buys 20 times.

Offline Asp75

  • Rookie
  • *
  • Posts: 17
    • View Profile
Re: Max volume to buy
« Reply #4 on: June 22, 2020, 07:04:07 AM »
Those numbers were arbitrary. It can buy 1 time or 10000 times until it blows all your balance.
I would like to suggest to simply implement a Max_Buy_Limit in a future update.

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Max volume to buy
« Reply #5 on: June 24, 2020, 01:50:04 AM »
Those numbers were arbitrary. It can buy 1 time or 10000 times until it blows all your balance.
I would like to suggest to simply implement a Max_Buy_Limit in a future update.

There is a way to limit the amount per trade and the number of traders running TradingView Addon. Good suggestion for standalone bot.