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

Spot trading does not work #412

Open
mk2607 opened this issue Aug 16, 2023 · 0 comments
Open

Spot trading does not work #412

mk2607 opened this issue Aug 16, 2023 · 0 comments

Comments

@mk2607
Copy link

mk2607 commented Aug 16, 2023

Hi, I'm trying to set up a bot on the spot market, but it doesn't want to start because of an error. How to solve this problem? Binance Exchange.
2023-08-16T12:46:03 INFO heartbeat DOGEUSDT 2023-08-16T12:46:03 INFO long: 0.0 @ 0.0 lWE: 0.0000 pprc diff -1.000 EMAs: [0.070278, 0.070327, 0.070381] e 0.0 @ 0.0 | c 0.0 @ 0.0 2023-08-16T12:46:03 INFO short: 0.0 @ 0.0 sWE: 0.0000 pprc diff 1.000 EMAs: [0.06312, 0.06312, 0.06312] e 0.0 @ 0.0 | c 0.0 @ 0.0 2023-08-16T12:46:03 INFO balance: 181.016 equity: 181.016 last price: 0.0696 liq: 0.0 error creating orders 'price' returned: {'code': -1013, 'msg': 'Filter failure: NOTIONAL'} returned: [{'code': -1013, 'msg': 'Filter failure: NOTIONAL'}] Traceback (most recent call last): File "/home/mk/passivbot/passivbot.py", line 486, in create_orders for order in sorted(orders, key=lambda x: calc_diff(x["price"], self.price)): File "/home/mk/passivbot/passivbot.py", line 486, in <lambda> for order in sorted(orders, key=lambda x: calc_diff(x["price"], self.price)): KeyError: 'price'

{"config_name": "recursive_grid_0days", "logging_level": 0, "long": {"auto_unstuck_ema_dist": 0.002322225584290439, "auto_unstuck_wallet_exposure_threshold": 0.053437408885307666, "backwards_tp": true, "ddown_factor": 1.439536378902465, "ema_span_0": 570.3551435706529, "ema_span_1": 775.2568309734487, "enabled": true, "initial_eprice_ema_dist": -0.09654408966160626, "initial_qty_pct": 0.013275874806228563, "markup_range": 0.004970612859991687, "min_markup": 0.006149735278472927, "n_close_orders": 5, "rentry_pprice_dist": 0.027588028272537916, "rentry_pprice_dist_wallet_exposure_weighting": 0.78460480605269, "wallet_exposure_limit": 0.3}, "short": {"auto_unstuck_ema_dist": -0.06591704943679003, "auto_unstuck_wallet_exposure_threshold": 0.07570259831178976, "backwards_tp": true, "ddown_factor": 1.4954341446068136, "ema_span_0": 931.2760678467841, "ema_span_1": 197.7506229387329, "enabled": false, "initial_eprice_ema_dist": -0.011024562085378081, "initial_qty_pct": 0.033565724864003034, "markup_range": 0.049506586882820704, "min_markup": 0.004548309937799819, "n_close_orders": 15, "rentry_pprice_dist": 0.007162060958592659, "rentry_pprice_dist_wallet_exposure_weighting": 9.278743458014123, "wallet_exposure_limit": 1.0}}

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

1 participant