Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
opentrader
Advanced tools
OpenTrader is a powerful open-source crypto trading bot designated to automate your trading strategies on various cryptocurrency exchanges.
OpenTrader is an advanced cryptocurrency trading bot offering high-frequency, cross-exchange arbitrage and event-based strategies, including technical analysis with indicators. Features a user-friendly management UI, robust backtesting capabilities, and support for 100+ exchanges via CCXT.
Features:
Strategies:
DCA
: Dollar-Cost Averaging (DCA) strategy that buys an asset at regular intervals.ARB
: Arbitrage strategy that takes advantage of price differences through cross-exchange trading.CUSTOM
: Build your own strategy in just a few lines of codeThis project is a personal passion, developed in my free time, and currently not monetized. If you find it useful, please give it a ⭐️. Your support means a lot and motivates me to keep improving the bot. If you'd like to make a donation, see the options below. 💖
[!NOTE] If you choose to build the project from source, please note that you'll only be able to interact with the bot via the CLI, and you can run only one bot instance. Running multiple bots requires the UI, which currently resides in a private repo until I finalize the licensing and funding options.
Currently, the NPM version includes the full bot functionality, including the UI, and I'm offering it for free to early adopters. 🎉
Get started with OpenTrader in just a few steps. Follow this quick guide to install, configure, and run your crypto trading bot.
npm install -g opentrader
opentrader set-password <password>
opentrader up
The app will start the RPC server and listen on port 8000.
Tip: Use
opentrader up -d
to start the app as a daemon. To stop it, runopentrader down
.
The user interface allows managing multiple bots and strategies, viewing backtest results, and monitoring live trading.
You can access the OpenTrader UI on: http://localhost:8000
Copy the exchanges.sample.json5
file to exchanges.json5
and add your API keys.
Available exchanges: OKX, BYBIT, BINANCE, KRAKEN, COINBASE, GATEIO
Create the strategy configuration file config.json5
. We will use the grid
strategy as an example.
{
// Grid strategy params
settings: {
highPrice: 70000, // upper price of the grid
lowPrice: 60000, // lower price of the grid
gridLevels: 20, // number of grid levels
quantityPerGrid: 0.0001, // quantity in base currency per each grid
},
pair: "BTC/USDT",
exchange: "DEFAULT",
}
Currently supported strategies:
grid
,rsi
Command: opentrader backtest <strategy> --from <date> --to <date> -t <timeframe>
Example running a grid
strategy on 1h
timeframe.
opentrader backtest grid --from 2024-03-01 --to 2024-06-01 -t 1h
To get more accurate results, use a smaller timeframe, e.g. 1m, however, it will take more time to download OHLC data from the exchange.
Command: opentrader trade <strategy>
Example running a live trading with grid
strategy.
opentrader trade grid
To stop the live trading, run
opentrader stop
Licensed under the Apache 2.0 License. See the LICENSE file for more information.
This software is for educational purposes only. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Do not risk money that you are afraid to lose. There might be bugs in the code - this software DOES NOT come with ANY warranty.
If you find OpenTrader useful and would like to support its development, consider making a donation. Your contributions will help cover the costs of maintaining and improving this project.
Donate via:
1LBqWWne1ac455UmUDVF32ozVAhy1HgVXn
0x60371d49F9Cc7ec7d7e34979D5DD31996B7B43Ff
Thank you for your support!
FAQs
OpenTrader is a powerful open-source crypto trading bot designated to automate your trading strategies on various cryptocurrency exchanges.
The npm package opentrader receives a total of 6,512 weekly downloads. As such, opentrader popularity was classified as popular.
We found that opentrader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.