Comments (5)
I may have fixed this already. Can you tell me the exact command and config you are using?
from pycryptobot.
Just updated but still getting the same error
This happens when running the /stats command for a pair on binance selected by the scanner. It also seems that the data.json does not contain any details.
Here is the config:
{
"binance": {
"api_url": "https://api.binance.com",
"config": {
"autorestart": 1,
"base_currency": "ETH",
"disablebuynearhigh": 1,
"enableinsufficientfundslogging": 1,
"enabletelegrambotcontrol": 1,
"granularity": "15m",
"live": 0,
"nobuynearhighpcnt": 1,
"nosellmaxpcnt": 3,
"nosellminpcnt": -9,
"quote_currency": "EUR",
"sellatresistance": 1,
"selllowerpcnt": -12,
"telegram": 1,
"trailingbuypcnt": 1,
"trailingstoploss": -1,
"trailingstoplosstrigger": 3,
"verbose": 0,
"websocket": 0,
"enable_pandas_ta": 1,
"autorestart": 1,
"graphs": 0,
"verbose": 1,
"stats": 0,
"enableinsufficientfundslogging": 1,
"enabletelegrambotcontrol": 1,
"disablelog": 0,
"buymaxsize": 20,
"buylastsellsize": 0,
"buyminsize": 0,
"sellsmartswitch": 0,
"granularity": 300
},
"api_key_file": "binance.key"
},
"coinbasepro": {
"api_url": "https://api.exchange.coinbase.com",
"config": {
"autorestart": 1,
"base_currency": "SHIB",
"disablebuynearhigh": 1,
"enableinsufficientfundslogging": 1,
"enabletelegrambotcontrol": 1,
"granularity": "15m",
"live": 0,
"nobuynearhighpcnt": 1,
"nosellmaxpcnt": 3,
"nosellminpcnt": -9,
"quote_currency": "EUR",
"sellatresistance": 1,
"selllowerpcnt": -12,
"telegram": 1,
"trailingbuypcnt": 1,
"trailingstoploss": -1,
"trailingstoplosstrigger": 3,
"verbose": 0,
"websocket": 0
},
"api_key_file": "coinbasepro.key"
},
"telegram" : {
"token" : "token",
"client_id" : "clientid",
"user_id" : "userid"
},
"scanner": {
"atr72_pcnt": 1.0,
"use_default_scanner": 1,
"enableexitaftersell": 1,
"enableleverage": 0,
"maxbotcount": 5,
"autoscandelay": 6,
"enable_buy_next": 1
}
}
from pycryptobot.
Ok, so you mean via the Telegram bot? You run /stats and you get an error?
from pycryptobot.
I have been able to re-create the issue but it's a bit of a strange case.
from pycryptobot.
It's fixed in v7.0.34
from pycryptobot.
Related Issues (20)
- V7.0.28 The bot crashes with an error in the simulation if you enable the setting "smartswitch": 1 HOT 1
- UnboundLocalError("local variable 'trading_data' referenced before assignment") HOT 4
- No bots running after scanner process is complete HOT 5
- Bot HOT 1
- Issue with restart HOT 2
- 8.0.2 kucoin granularity causes failure HOT 1
- TypeError("'>' not supported between instances of 'NoneType' and 'int'") HOT 3
- IndexError('index 0 is out of bounds for axis 0 with size 0') HOT 26
- IndexError('index 0 is out of bounds for axis 0 with size 0') after restart HOT 3
- Run tests using config files HOT 2
- Preventloss does not work with declining market HOT 1
- trading account.py uses the same critical error message for both Coinbase and coinbasepro. HOT 1
- Gihub Actions "container.yml" failing, build locally works! HOT 5
- Issue with Coinbase API grabbing Quote Currency HOT 1
- Market not found when using Binance sub accounts
- FutureWarning in AppState.py stops the bot
- Cleanup non issue
- Insufficient Quote Funds HOT 2
- Missing contributing guidelines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycryptobot.