forked from chrisleekr/binance-trading-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request chrisleekr#5 from chrisleekr/upgrade-with-frontend
- Removed unused methods - Bollinger Bands, MACD Stop Chaser - Support maximum purchase amount per symbol - Develop backend to send cache values for frontend - Develop simple frontend to see statistics
- Loading branch information
Showing
90 changed files
with
8,073 additions
and
21,562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
printWidth: 80, | ||
tabWidth: 2, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: true, | ||
trailingComma: 'none', | ||
bracketSpacing: true, | ||
jsxBracketSameLine: false, | ||
jsxBracketSameLine: true, | ||
arrowParens: 'avoid', | ||
proseWrap: 'never', | ||
proseWrap: 'always', | ||
htmlWhitespaceSensitivity: 'strict', | ||
endOfLine: 'lf' | ||
endOfLine: 'lf', | ||
jsxSingleQuote: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
app/__tests__/fixtures/server-websocket-simple-stop-chaser-common.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"configuration": "{\"enabled\":true,\"cronTime\":\"* * * * * *\",\"symbols\":[\"BTCUSDT\",\"ETHUSDT\",\"LTCUSDT\",\"XRPUSDT\",\"BNBUSDT\"],\"candles\":{\"interval\":\"1d\",\"limit\":6},\"maxPurchaseAmount\":104,\"stopLossLimit\":{\"lastBuyPercentage\":2.01,\"stopPercentage\":1.99,\"limitPercentage\":1.98}}", | ||
"account-info": "{\"makerCommission\":0,\"takerCommission\":0,\"buyerCommission\":0,\"sellerCommission\":0,\"canTrade\":true,\"canWithdraw\":false,\"canDeposit\":false,\"updateTime\":1612477745287,\"accountType\":\"SPOT\",\"balances\":[{\"asset\":\"BTC\",\"free\":\"0.00089800\",\"locked\":\"0.79411700\"},{\"asset\":\"BUSD\",\"free\":\"10000.00000000\",\"locked\":\"0.00000000\"},{\"asset\":\"ETH\",\"free\":\"0.09648000\",\"locked\":\"95.66082000\"},{\"asset\":\"LTC\",\"free\":\"0.50000000\",\"locked\":\"499.50000000\"},{\"asset\":\"TRX\",\"free\":\"500000.00000000\",\"locked\":\"0.00000000\"},{\"asset\":\"USDT\",\"free\":\"193479.92919565\",\"locked\":\"0.00000000\"},{\"asset\":\"XRP\",\"free\":\"50.00000000\",\"locked\":\"46115.50000000\"}],\"permissions\":[\"SPOT\"]}", | ||
"last-processed": "{\"timeUTC\":\"2021-02-04T22:37:39.002Z\",\"symbol\":\"XRPUSDT\"}", | ||
"last-symbol": "XRPUSDT" | ||
} |
Oops, something went wrong.