Comments (2)
I am on holiday now. I will respond when I am back. Take a look at the unit tests. You can see how it was done there.
from pycryptobot.
Ok i get it. To everyone interested. The trick was to provide API key filled with zeros.
Config:
{
"binance": {
"config": {
"exchange": "binance",
"api_url": "https://api.binance.com",
"buypercent": 15
},
"api_key_file": "binance.key"
}
}
api key file:
"api_key": "0000000000000000000000000000000000000000000000000000000000000000",
"api_secret": "0000000000000000000000000000000000000000000000000000000000000000"
And the command is:
sudo docker run -it -v ./002.json:/app/config.json -v ./binance.key:/app/binance.key --rm --user pycryptobot pycryptobot/pycryptobot
Thank you for your hint. When you are back from your vacation would you answer me another question?
One more thing i cant use properly is logging and graphs. using this command:
sudo docker run -it --rm -v ./graphs:/app/graphs -v ./testlog.log:/app/pycryptobot.log -v ./testtrade.csv:/app/trades.csv --user pycryptobot pycryptobot/pycryptobot bash --exchange binance --market ETHUSDT --granularity 15m --sim fast --autorestart 1 --base_currency "ETH" --quote_currency "USDT" --disablebuynearhigh 1 --nobuynearhighpcnt 1 --sellatresistance 1 --selllowerpcnt -5 --trailingbuypcnt 1 --trailingstoploss -1 --trailingstoplosstrigger 3 --simstartdate "2022-01-01" --simenddate "2022-02-01" --predictions 1 --preventloss 1 --logs 0 --tradetracker 1 --logbuysellinjson 1
i get logfile that is a copy of terminal output, no graphs and no json files. I want to have pure json file with only transactions not all logs.
I asked this question on Q&A forum: Link
Thank you in advance
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
- BadRequest error when using the /stats command HOT 5
- 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
- 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.