Closed allaf2 closed 3 years ago
Same, installed on Ubuntu 18.04, I build and set it all up and then I get stuck on a loading page and get an error:
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! binance-trading-bot@0.0.65 start: node dist/server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the binance-trading-bot@0.0.65 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@allaf2 Sorry, I do not have a Windows machine, so I cannot tell you what the problem is.
I think I should mention that this bot is not working well with Windows.
@LLemon199
How did you run the bot? Are you using docker-compose.server.yml
?
i have run with : docker-compose up -d on centos 7 [root@s2 binance-trading-bot]# docker-compose up -d Recreating binance-mongo ... Recreating binance-mongo ... done Recreating binance-bot ... done Recreating binance-redis ... done [root@s2 binance-trading-bot]#
In appearance everything is right but stuck on the webpage
@allaf2
Ok, let's try to use dockerhub image, instead of building dev image.
docker-compose -f docker-compose.server.yml pull
docker-compose -f docker-compose.server.yml up -d
[root@s2 binance-trading-bot]# docker-compose -f docker-compose.server.yml pull Pulling binance-bot ... done Pulling binance-redis ... done Pulling binance-mongo ... done
[root@s2 binance-trading-bot]# docker-compose -f docker-compose.server.yml up -d WARNING: Found orphan containers (binance-mongo-express) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Recreating binance-bot ... Recreating binance-bot ... done Recreating binance-redis ... done [root@s2 binance-trading-bot]#
nothing changed!
What is the log say? Can you retrieve the log and paste it?
You can find how to get the log from the wiki page.
this is the log:
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
cacheTrailingTradeCommon: {
"last-symbol": "BTCUSDT",
"exchange-symbols": "[\"BNBUSDT\",\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"TRXUSDT\",\"XRPUSDT\"]",
"local-tunnel-url": "https://breezy-mule-68.loca.lt"
}
--
cacheTrailingTradeSymbols: {
"BTCUSDT-symbol-info": "{\"symbol\":\"BTCUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BTC\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00000100\",\"maxQty\":\"900.00000000\",\"stepSize\":\"0.00000100\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"1000000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"ETHUSDT-symbol-info": "{\"symbol\":\"ETHUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"ETH\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.00001000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.00001000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.01000000\",\"maxPrice\":\"100000.00000000\",\"tickSize\":\"0.01000000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}",
"BNBUSDT-symbol-info": "{\"symbol\":\"BNBUSDT\",\"status\":\"TRADING\",\"baseAsset\":\"BNB\",\"baseAssetPrecision\":8,\"quoteAsset\":\"USDT\",\"quotePrecision\":8,\"filterLotSize\":{\"filterType\":\"LOT_SIZE\",\"minQty\":\"0.01000000\",\"maxQty\":\"9000.00000000\",\"stepSize\":\"0.01000000\"},\"filterPrice\":{\"filterType\":\"PRICE_FILTER\",\"minPrice\":\"0.00010000\",\"maxPrice\":\"10000.00000000\",\"tickSize\":\"0.00010000\"},\"filterMinNotional\":{\"filterType\":\"MIN_NOTIONAL\",\"minNotional\":\"10.00000000\",\"applyToMarket\":true,\"avgPriceMins\":5}}"
}
query: {
"key": "configuration"
}
result: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
globalConfiguration: {
"_id": "6068166735390d926d898e2d",
"key": "configuration",
"enabled": true,
"cronTime": "* * * * * *",
"symbols": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT"
],
"supportFIATs": [
"USDT"
],
"candles": {
"interval": "1h",
"limit": 100
},
"buy": {
"enabled": true,
"maxPurchaseAmount": 100,
"triggerPercentage": 1,
"stopPercentage": 1.012,
"limitPercentage": 1.0121
},
"sell": {
"enabled": true,
"triggerPercentage": 1.04,
"stopPercentage": 0.99,
"limitPercentage": 0.989
}
}
[2021-04-05T04:13:15.259Z] ERROR: binance-api/18 on 9d6859bfdf82: Something wrong with trailing-trade-common cache (version=0.0.65, server=websocket, e={}) payload: { "command": "latest", "data": {} }
It looks like it couldn't get account information from the cache.
Have you configured API key correctly?
i have only fill this part. `## Test
BINANCE_TEST_API_KEY= BINANCE_TEST_SECRET_KEY=`
all another parts are empty.
lite this:
BINANCE_LIVE_API_KEY= BINANCE_LIVE_SECRET_KEY=
BINANCE_TEST_API_KEY=blablablah BINANCE_TEST_SECRET_KEY=blablablah
BINANCE_SLACK_WEBHOOK_URL= BINANCE_SLACK_CHANNEL= BINANCE_SLACK_USERNAME=
BINANCE_LOCAL_TUNNEL_SUBDOMAIN=default
Please read the configuration file
And set up correctly. Close the issue if you find a fix.
Ok so the only error was that in the docker.compose.server.yml I had mode=live and not test as I filled the testnet API.
Thank you Chris
Ok, if the issue is resolved, please close this issue.
my problem not fixed yet. i tested both of Test and Live but no success.
BINANCE_LIVE_API_KEY= BINANCE_LIVE_SECRET_KEY=
BINANCE_TEST_API_KEY=XR4L7i3VNnNzGD5RjOSTeXv..................................... BINANCE_TEST_SECRET_KEY=Yp1BEuU9owT4i7BGbWu....................................
BINANCE_SLACK_WEBHOOK_URL= BINANCE_SLACK_CHANNEL= BINANCE_SLACK_USERNAME=
BINANCE_LOCAL_TUNNEL_SUBDOMAIN=disable BINANCE_LOCAL_TUNNEL_ENABLED=false
AND
environment:
- BINANCE_MODE=test
# - BINANCE_MODE=live
- BINANCE_SLACK_ENABLED=true
- BINANCE_JOBS_ALIVE_ENABLED=true
- BINANCE_JOBS_TRAILING_TRADE_ENABLED=true
- BINANCE_JOBS_TRAILING_TRADE_SYMBOLS=["BTCUSDT", "ETHUSDT", "BNBUSDT"]
- BINANCE_JOBS_TRAILING_TRADE_SUPPORT_FIATS=["USDT"]
- REDIS_HOST=binance-redis
- REDIS_PORT=6379
- REDIS_PASSWORD=
ports:
should i change anything else?
thanks
Without any log or more context, I won't be able to tell you what went wrong.
As I didn't hear from you for two days, I will close the issue.
Please open new issue if you have any issue.
i have installed on win 10 docker.
but stuck on the webpage![botttt](https://user-images.githubusercontent.com/6599283/113484938-3fcd8f80-94c0-11eb-940a-a810ba8cfec9.jpg)
what is the problem?