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

No trades at all #249

Closed
zois opened this issue Sep 12, 2022 · 9 comments
Closed

No trades at all #249

zois opened this issue Sep 12, 2022 · 9 comments

Comments

@zois
Copy link

zois commented Sep 12, 2022

Hello! For the past weeks, I don't seem to be getting any trades at all (USDT pairs). I am using NostalgiaForInfinityX and Binance. I have a valid API and checked that spot/margin is checked. I used to have trades in the past. Probably something is wrong with my config? I attach it in order for you to check when you can. Thank you and continue this awesome work!

{
	"max_open_trades": 6,
	"stake_currency": "USDT",
	"stake_amount": "unlimited",
	"tradable_balance_ratio": 0.99,
	"fiat_display_currency": "USD",
	"timeframe": "5m",
	"dry_run": false,
	"dry_run_wallet": 1000,
	"cancel_open_orders_on_exit": false,
	"unfilledtimeout": {
		"entry": 15,
		"exit": 15,
		"exit_timeout_count": 0,
		"unit": "minutes"
	},
	"order_types": {
		"entry": "limit",
		"exit": "limit",
		"emergency_exit": "limit",
		"force_entry": "limit",
		"force_exit": "limit",
		"stoploss": "limit",
		"stoploss_on_exchange": false,
		"stoploss_on_exchange_interval": 60
	},
	"entry_pricing": {
		"price_side": "other",
		"use_order_book": false,
		"order_book_top": 1,
		"price_last_balance": 0.0,
		"check_depth_of_market": { "enabled": false, "bids_to_ask_delta": 1 }
	},
	"exit_pricing": {
		"price_side": "other",
		"use_order_book": false,
		"order_book_top": 1,
		"price_last_balance": 0.0
	},
	"exchange": {
		"name": "binance",
		"key": "****",
		"secret": "****",
		"ccxt_config": { "enableRateLimit": true },
		"ccxt_async_config": {
			"enableRateLimit": true,
			"rateLimit": 100
		},
		"pair_whitelist": [],
		"pair_blacklist": [
			"(BNB)/.*",
			".*(_PREMIUM|BEAR|BULL|HALF|HEDGE|UP|DOWN|[1235][SL])/.*",
			"(AUD|BRZ|CAD|CHF|EUR|GBP|HKD|IDRT|JPY|NGN|RUB|SGD|TRY|UAH|USD|ZAR)/.*",
			"(BUSD|CUSD|CUSDT|DAI|PAXG|SUSD|TUSD|USDC|USDN|USDP|USDT|VAI|UST|USTC|AUSD)/.*",
			"(ACM|AFA|ALA|ALL|APL|ASR|ATM|BAR|CAI|CITY|FOR|GAL|GOZ|IBFK|JUV|LEG|LOCK-1|NAVI|NMR|NOV|PFL|PORTO|PSG|ROUSH|STV|TH|TRA|UCH|UFC|YBO)/.*",
			"(1EARTH|ILA|BOBA|CTXC|CWAR|HBAR|NMR|OMG|ONG|ARDR|DMTR|MLS|TORN)/.*"
		]
	},
	"pairlists": [
		{
			"method": "VolumePairList",
			"number_assets": 100,
			"sort_key": "quoteVolume",
			"refresh_period": 1800
		},
		{ "method": "AgeFilter", "min_days_listed": 30 },
		{
			"method": "RangeStabilityFilter",
			"lookback_days": 3,
			"min_rate_of_change": 0.03,
			"refresh_period": 1800
		},
		{
			"method": "VolatilityFilter",
			"lookback_days": 3,
			"min_volatility": 0.01,
			"max_volatility": 0.75,
			"refresh_period": 43200
		},
		{
			"method": "VolumePairList",
			"number_assets": 70,
			"sort_key": "quoteVolume"
		},
		{ "method": "ShuffleFilter" }
	],
	"edge": {
		"enabled": false,
		"process_throttle_secs": 3600,
		"calculate_since_number_of_days": 7,
		"allowed_risk": 0.01,
		"stoploss_range_min": -0.01,
		"stoploss_range_max": -0.1,
		"stoploss_range_step": -0.01,
		"minimum_winrate": 0.6,
		"minimum_expectancy": 0.2,
		"min_trade_number": 10,
		"max_trade_duration_minute": 1440,
		"remove_pumps": false
	},
	"telegram": {
		"enabled": true,
		"token": "****",
		"chat_id": "****"
	},
	"api_server": {
		"enabled": false,
		"listen_ip_address": "0.0.0.0",
		"listen_port": 8080,
		"verbosity": "error",
		"enable_openapi": false,
		"jwt_secret_key": "SECRET",
		"CORS_origins": [],
		"username": "USERNAME",
		"password": "PASSWORD"
	},
	"bot_name": "freqtrade-binance",
	"initial_state": "running",
	"force_entry_enable": true,
	"internals": {
		"process_throttle_secs": 5
	}
}

@iterativv
Copy link
Owner

Hi. With that config, there should be at least a LUNA trade few minutes ago.

@zois
Copy link
Author

zois commented Sep 12, 2022

I can't see that. This is my current log

2022-09-12 12:40:21 freqtrade.strategy.interface: WARNING - Outdated history for pair STPT/USDT. Last tick is 20 minutes old
2022-09-12 12:40:21 freqtrade.strategy.interface: WARNING - Outdated history for pair BTCST/USDT. Last tick is 20 minutes old
2022-09-12 12:40:21 freqtrade.strategy.interface: WARNING - Outdated history for pair ENS/USDT. Last tick is 20 minutes old
2022-09-12 12:40:21 freqtrade.strategy.interface: WARNING - Outdated history for pair SAND/USDT. Last tick is 20 minutes old
2022-09-12 12:40:21 freqtrade.strategy.interface: WARNING - Outdated history for pair PEOPLE/USDT. Last tick is 20 minutes old
2022-09-12 12:40:22 freqtrade.strategy.interface: WARNING - Outdated history for pair BAKE/USDT. Last tick is 20 minutes old
2022-09-12 12:40:22 freqtrade.strategy.interface: WARNING - Outdated history for pair CRV/USDT. Last tick is 20 minutes old
2022-09-12 12:40:22 freqtrade.worker: INFO - Bot heartbeat. PID=65881, version='2022.8, strategy_version: v11.2.45', state='RUNNING'
2022-09-12 12:40:23 VolumePairList: INFO - Searching 100 pairs: ['BTC/USDT', 'ETH/USDT', 'LUNA/USDT', 'SOL/USDT', 'ETC/USDT', 'NEAR/USDT', 'LUNC/USDT', 'XRP/USDT', 'SHIB/USDT', 'ADA/USDT', 'ATOM/USDT', 'APE/USDT', 'AVAX/USDT', 'DOT/USDT', 'MATIC/USDT', 'CHZ/USDT', 'OP/USDT', 'LINK/USDT', 'DOGE/USDT', 'FIL/USDT', 'FTM/USDT', 'RVN/USDT', 'ANC/USDT', 'EOS/USDT', 'LTC/USDT', 'GMT/USDT', 'STPT/USDT', 'CRV/USDT', 'POND/USDT', 'SAND/USDT', 'TRX/USDT', 'LDO/USDT', 'INJ/USDT', 'GALA/USDT', 'STG/USDT', 'WAVES/USDT', 'RUNE/USDT', 'HNT/USDT', 'ENS/USDT', 'UNI/USDT', 'ROSE/USDT', 'BCH/USDT', 'AAVE/USDT', 'PEOPLE/USDT', 'PYR/USDT', 'IDEX/USDT', 'MANA/USDT', 'JASMY/USDT', 'DYDX/USDT', 'VGX/USDT', 'AXS/USDT', 'ALGO/USDT', 'ENJ/USDT', 'C98/USDT', 'ONE/USDT', 'BAKE/USDT', 'UNFI/USDT', 'VET/USDT', 'XMR/USDT', 'FLOW/USDT', 'DASH/USDT', 'XEC/USDT', 'ICP/USDT', 'MIR/USDT', 'XVG/USDT', 'SNX/USDT', 'BTCST/USDT', 'FTT/USDT', 'THETA/USDT', 'ZIL/USDT', 'AMP/USDT', 'EGLD/USDT', 'CAKE/USDT', 'SUSHI/USDT', 'GRT/USDT', 'PLA/USDT', 'SXP/USDT', 'LAZIO/USDT', 'POLY/USDT', 'SANTOS/USDT', 'KDA/USDT', 'KNC/USDT', 'ANKR/USDT', 'FIDA/USDT', 'LRC/USDT', 'GLMR/USDT', 'STORJ/USDT', 'XLM/USDT', 'WRX/USDT', 'AR/USDT', 'FORTH/USDT', 'ASTR/USDT', 'SKL/USDT', 'ANT/USDT', 'REEF/USDT', 'ALICE/USDT', 'COMP/USDT', 'WING/USDT', 'TRB/USDT', 'NEO/USDT']
2022-09-12 12:40:35 VolumePairList: INFO - Searching 70 pairs: ['BTC/USDT', 'ETH/USDT', 'LUNA/USDT', 'SOL/USDT', 'ETC/USDT', 'NEAR/USDT', 'XRP/USDT', 'SHIB/USDT', 'ADA/USDT', 'ATOM/USDT', 'APE/USDT', 'AVAX/USDT', 'DOT/USDT', 'MATIC/USDT', 'CHZ/USDT', 'OP/USDT', 'LINK/USDT', 'DOGE/USDT', 'FIL/USDT', 'FTM/USDT', 'RVN/USDT', 'ANC/USDT', 'EOS/USDT', 'LTC/USDT', 'GMT/USDT', 'STPT/USDT', 'CRV/USDT', 'POND/USDT', 'SAND/USDT', 'TRX/USDT', 'LDO/USDT', 'INJ/USDT', 'GALA/USDT', 'WAVES/USDT', 'RUNE/USDT', 'HNT/USDT', 'ENS/USDT', 'UNI/USDT', 'ROSE/USDT', 'BCH/USDT', 'AAVE/USDT', 'PEOPLE/USDT', 'PYR/USDT', 'IDEX/USDT', 'MANA/USDT', 'JASMY/USDT', 'DYDX/USDT', 'VGX/USDT', 'AXS/USDT', 'ALGO/USDT', 'ENJ/USDT', 'C98/USDT', 'ONE/USDT', 'BAKE/USDT', 'UNFI/USDT', 'VET/USDT', 'XMR/USDT', 'FLOW/USDT', 'DASH/USDT', 'XEC/USDT', 'ICP/USDT', 'MIR/USDT', 'XVG/USDT', 'SNX/USDT', 'BTCST/USDT', 'FTT/USDT', 'THETA/USDT', 'ZIL/USDT', 'AMP/USDT', 'EGLD/USDT']

@zois
Copy link
Author

zois commented Sep 12, 2022

Just for the record, I used the Supertrend strategy to check if I'm going to get any trades and indeed I got trades. So it shouldn't be my config or a Binance issue. For some reason Infinity strategy is not working in my case.

@iterativv
Copy link
Owner

Try to start with -v option and look for "Populate indicator took a total time of: XX". That XX if it's 0.5 seconds or less then you are fine, otherwise, maybe try to lower to 50 pairs.

The next version should lighter - and better - but still there is some time to become ready.

@zois
Copy link
Author

zois commented Sep 13, 2022

For some pairs the time is lower than 0.5, but I do get a lot of pairs above, even 1 or 2 secs . I will lower to 50 pairs to see. Thanks!

@zois
Copy link
Author

zois commented Sep 13, 2022

Not much of a change. Still I get most of the pairs above 1.5sec. I am running freqtrade in a GCD instance, so perhaps this strategy needs more computing power?

@iterativv
Copy link
Owner

Check if you get "last tick was X minutes ago". If it's few pairs, then not much of an issue. If more pairs, then yes. But it can be run with a pi and 40-50 pairs, even.

@zois
Copy link
Author

zois commented Sep 13, 2022

Supertrend got 6 trades and I switched again to Nostalgia. It also did 3 entries in the existing pairs. That should be ok and I will monitor to see if it opens any trade in new pairs. So I am closing this now and will reopen if necessary. Thanks for your immediate response and help!

@zois zois closed this as completed Sep 13, 2022
@rms5467
Copy link

rms5467 commented Sep 15, 2022

Try to start with -v option and look for "Populate indicator took a total time of: XX". That XX if it's 0.5 seconds or less then you are fine, otherwise, maybe try to lower to 50 pairs.

The next version should lighter - and better - but still there is some time to become ready.

Can you show how to use -v option? Thanks

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