Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cat9999sss opened this issue Aug 12, 2023 · 2 comments

Comments

@cat9999sss
Copy link

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

@raftheunis87
Copy link

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

Last question: which exchange?

@cat9999sss
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants