passivbot icon indicating copy to clipboard operation
passivbot copied to clipboard

Fixed Capital Purchase Issue: Same Quantity of DOGE Bought with 100USDT and 200USDT

Open cat9999sss opened this issue 1 year ago • 2 comments

Description:

Dear Passivbot Developers,

I have encountered an unexpected behavior while using Passivbot, and I would like to understand the reasoning behind it. Specifically, I found that when placing orders with two different amounts of USDT (100 and 200), the same quantity of DOGE (1000) is purchased.

Here's the detailed scenario:

  • Order 1: Using 100 USDT, 1000 DOGE were bought.
  • Order 2: Using 200 USDT, 1000 DOGE were bought as well.

I would expect that if the capital doubled, the quantity of DOGE purchased would also double. For instance, 200 USDT should be able to buy 2000 DOGE.

I have reviewed the configuration parameters but did not find any direct parameter related to this behavior.

Could you please advise on which specific configuration or condition might lead to this situation? Is this expected behavior or could it be an error? Is there any specific parameter that I can set for the DOGE quantity for each order, or how is this calculated?

Thank you in advance for your assistance. I look forward to your response.

Best regards, Wang Dashen

cat9999sss avatar Aug 12 '23 04:08 cat9999sss

Can you post the config you are using? Also, did you make modifications to the wallet exposure?

Last question: which exchange?

raftheunis87 avatar Aug 12 '23 06:08 raftheunis87

{"config_name": "neat_grid_0days", "logging_level": 0, "long": {"auto_unstuck_ema_dist": 0.001756657266585319, "auto_unstuck_wallet_exposure_threshold": 0.0350738713515603, "backwards_tp": true, "ema_span_0": 926.0601940725588, "ema_span_1": 745.061776980432, "enabled": true, "eprice_exp_base": 1.208624208259861, "eqty_exp_base": 1.196205928453439, "grid_span": 0.11840331949500447, "initial_eprice_ema_dist": 0.0021921881042628734, "initial_qty_pct": 0.01290778975975071, "markup_range": 0.0025129314748184224, "max_n_entry_orders": 8, "min_markup": 0.002221248711713018, "n_close_orders": 14, "wallet_exposure_limit": 1}, "short": {"auto_unstuck_ema_dist": 0.0011272729547178962, "auto_unstuck_wallet_exposure_threshold": 0.032339854033445026, "backwards_tp": true, "ema_span_0": 857.118708359325, "ema_span_1": 5, "enabled": true, "eprice_exp_base": 1.59839323465023, "eqty_exp_base": 1.6698348492615565, "grid_span": 0.7, "initial_eprice_ema_dist": 0.0023672906019560035, "initial_qty_pct": 0.01190033726004514, "markup_range": 0.00018903685130656882, "max_n_entry_orders": 7, "min_markup": 0.0020373640711089766, "n_close_orders": 10, "wallet_exposure_limit": 1}}

cat9999sss avatar Aug 21 '23 02:08 cat9999sss