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

Filter failure MIN_NOTIONAL when selling #180

Open
Foxel05 opened this issue May 17, 2022 · 3 comments
Open

Filter failure MIN_NOTIONAL when selling #180

Foxel05 opened this issue May 17, 2022 · 3 comments

Comments

@Foxel05
Copy link

Foxel05 commented May 17, 2022

I have a Filter failure MIN_NOTIONAL when i try to sell.

For example:

[5/16/2022, 3:23:00 PM] INFO: Attempting to execute BTC-IDEX-BNB with an age of 507 ms and expected profit of 5.2295%
[5/16/2022, 3:23:00 PM] INFO: Buying 172 IDEXBTC @ market price
[5/16/2022, 3:23:00 PM] [32mINFO�[39m: [36mAttempting to execute BTC-IDEX-BNB with an age of 122 ms and expected profit of 5.1545%[39m
[5/16/2022, 3:23:00 PM] [32mINFO�[39m: [36mBuying 172 IDEXBTC @ market price�[39m
[5/16/2022, 3:23:00 PM] INFO: Successfully bought 172.00000000 IDEXBTC @ a quote of 0.00037324 in 55 ms
[5/16/2022, 3:23:00 PM] INFO: Selling 172 IDEXBNB @ market price
[5/16/2022, 3:23:00 PM] [32mINFO�[39m: [36mSuccessfully bought 172.00000000 IDEXBTC @ a quote of 0.00037152 in 54 ms�[39m
[5/16/2022, 3:23:00 PM] [32mINFO�[39m: [36mSelling 172 IDEXBNB @ market price�[39m
[5/16/2022, 3:23:00 PM] ERROR: Filter failure: MIN_NOTIONAL
[5/16/2022, 3:23:00 PM] [31mERROR�[39m: [36mFilter failure: MIN_NOTIONAL�[39m

[5/16/2022, 5:10:45 PM] INFO: Attempting to execute BTC-ANC-BNB with an age of 115 ms and expected profit of 5.5425%
[5/16/2022, 5:10:45 PM] INFO: Buying 85.51 ANCBTC @ market price
[5/16/2022, 5:10:45 PM] [32mINFO�[39m: [36mAttempting to execute BTC-ANC-BNB with an age of 130 ms and expected profit of 5.4675%[39m
[5/16/2022, 5:10:45 PM] [32mINFO�[39m: [36mBuying 85.51 ANCBTC @ market price�[39m
[5/16/2022, 5:10:45 PM] INFO: Successfully bought 85.51000000 ANCBTC @ a quote of 0.00035914 in 54 ms
[5/16/2022, 5:10:45 PM] INFO: Selling 85.51 ANCBNB @ market price
[5/16/2022, 5:10:46 PM] [32mINFO�[39m: [36mSuccessfully bought 85.51000000 ANCBTC @ a quote of 0.00035572 in 52 ms�[39m
[5/16/2022, 5:10:46 PM] [32mINFO�[39m: [36mSelling 85.51 ANCBNB @ market price�[39m
[5/16/2022, 5:10:46 PM] ERROR: Filter failure: MIN_NOTIONAL

Do I have to increase my INVESTMENT.[].MIN to avoid this error?

@flfsbr
Copy link

flfsbr commented May 17, 2022

Can you share your configuration file?

@Foxel05
Copy link
Author

Foxel05 commented May 17, 2022

Yeah sure, this is my config

{

    "KEYS": {
        "API": "",
        "SECRET": ""
    },

    "INVESTMENT": {
        "BTC": {
            "MIN": 0.00072,
            "MAX": 0.00112,
            "STEP": 0.0002
        }
    },

    "SCANNING": {
        "DEPTH": 10,
        "WHITELIST": []
    },

    "EXECUTION": {
        "ENABLED": true,
        "CAP": 0,
        "STRATEGY": "linear",
        "TEMPLATE": ["BUY", "SELL", "SELL"],
        "FEE": 0.075,
        "THRESHOLD": {
            "PROFIT": 1.5,
            "AGE": 1000
        }
    },

    "HUD": {
        "ENABLED": false,
        "ROWS": 3,
        "REFRESH_RATE": 500
    },

    "LOG": {
        "LEVEL": "debug",
        "PRETTY_PRINT": true,
        "STATUS_UPDATE_INTERVAL": 2
    },

    "WEBSOCKET": {
        "BUNDLE_SIZE": 4,
        "INITIALIZATION_INTERVAL": 200
    },

    "BINANCE_OPTIONS": {
        "useServerTime": true
    }

}

I found some things related to this topic

@choppnz
Copy link

choppnz commented Jul 7, 2022

I don't know much about coding but the only thing I can see is that
"INVESTMENT": { "BTC": { "MIN": 0.00072, "MAX": 0.00112, "STEP": 0.0002 } },
Has lines for BTC, and the BTC part is executing in your script, but when it goes to the next currency, it results in an error.

Do you need min max step values for all other currencies ie BTC-IDEX-BNB, for IDEX and BNB?

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

3 participants