Hermes
币安数字货币量化交易机器人
简介
可根据实时行情自动在币安上交易现货的量化交易机器人,支持秒级行情解析、策略分析、交易动作,已经经过数十万USDT的真实金额交易的验证。 在牛市,是可以赚钱的。 但在熊市,该交易机器人也一定是会亏钱的!!!
重要
开源只是提供机会给程序员们一个更广阔的视野,交易有风险,盈利无需打赏,亏损也不负责哈~~
功能
- 毫秒级现货行情获取
- 实时指标分析计算,目前支持MACD\RSI\BOLL三种
- 提供多种交易策略,如基于MACD涨跌的交易策略,基于实时价格突变的交易策略等
- 完备的交易订单管理体系,支持跟踪止盈止损、分段止盈止损、时间止盈止损等
- 支持过去2年时间行情回测分析,可用于快速回测交易策略,获取策略盈亏结果
- 交易动作及行情邮件提醒
- 可用Swagger来查询所有账户和交易单信息
- 完整的交易动作日志记录
如何使用
配置
- 在 ApiKeyConfig 里配置自己的币安交易API KEY
- 在 ExchangeInfoConfig 里配置交易账户的金额和交易的币种
- 在 MailService 里配置邮箱信息用来接受交易结果通知
- 在 MacdTask 里根据需要选择交易策略
启动
- 服务器运行:用mvn命令打包,并上传jar包到服务器,在服务器启动jar包程序,交易机器人就开始运行啦。
- 本地运行:本地LvApplication启动
Hermes
Binance Quantitative Trading Robot
Introduction
A quantitative trading robot that can automatically trade spot on Binance according to real-time market conditions. It supports second-level market analysis, strategy analysis, and trading actions. It has been verified by hundreds of thousands of USDT transactions. In a bull market, you can make money, but in a bear market, the trading robot will definitely lose money.
Open source only provides opportunities for ordinary programmers to have a broader vision. Transactions are risky, no rewards are required for profits, and no losses are responsible.
Features
- Millisecond-level spot market acquisition
- Real-time indicator analysis and calculation, currently supports three types of MACD\RSI\BOLL
- Provide a variety of trading strategies, such as trading strategies based on MACD fluctuations, trading strategies based on real-time price changes, etc.
- Complete transaction order management system, support tracking stop profit and stop loss, segment stop profit and stop loss, time stop profit and stop loss, etc.
- Supports market backtest analysis in the past 2 years, which can be used to quickly backtest trading strategies and obtain strategy profit and loss results
- Transaction action and market email reminder
- Swagger can be used to query all account and transaction information
- Complete transaction action logging
How
- Configure your own Binance Trading API KEY in ApiKeyConfig
- Configure the amount of the trading account and the currency of the transaction in ExchangeInfoConfig
- Configure mailbox information in MailService to receive transaction result notifications
- Select the trading strategy as needed in MacdTask
- Use the mvn command to package and upload the jar package to the server. Or start the local LvApplication
- Start the jar package program on the server, and the trading robot will start running