GUNBOT: The automatic profit generator > Technical Support & Development

Max volume to buy

(1/1)

Asp75:
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.

Aitor:

--- Quote from: Asp75 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.

--- End quote ---

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
                       }
            }

Asp75:
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.

Aitor:

--- Quote from: Asp75 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.

--- End quote ---

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.

Asp75:
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.

Navigation

[0] Message Index

Go to full version