Skip to content

Commit

Permalink
doc: update conf
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZhengZhao committed Nov 15, 2024
1 parent 0d830d9 commit f3e8406
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### Change Log

## v0.0.43
- update conf

## v0.0.42
- fixed bug

Expand Down
4 changes: 2 additions & 2 deletions README.CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@

## 系统设置
- 交易的基本相关的配置(conf)
![交易配置](./img/zh/config.jpg)
![交易配置](./img/zh/config.png)

## 使用注意事项
- 网络必须处于大陆之外(因为币安接口大陆正常无法访问), 已添加币安 api 的代理配置(websocket 因为使用组件问题,暂无代理配置, websocket 只是用于后台更新合约币种最新价格),如果有可用代理也可以正常使用
- 申请api_key地址: [币安API管理页面](https://www.binance.com/zh/usercenter/settings/api-management)
- 如果你的账号本身已经有合约仓位,请一定要在 `app.conf` 文件中配置 `excludeSymbols`, 排出掉你不想使用本程序自动交易的币,否则默认所有的仓位都会根据交易策略规则自动平仓
- 如果你的账号本身已经有合约仓位,请一定要在首页中配置排除自动交易的币(多个使用,号隔开), 排出掉你不想使用本程序自动交易的币,否则默认所有的仓位都会根据交易策略规则自动平仓
- !!!注意修改app.conf配置后必须重新启动程序,否则配置不会生效!!!
- 请保证账户有足够的 USDT,否则下单会报错
- 钉钉推送 1min 中内不要超过 20 条,否则会被封 ip 一段时间,无法推送成功
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ slack_channel_id = ""
# external links
links = [{"url": "url1", "title": "title1"}]
```
![交易配置](./img/en/config.jpg)
![交易配置](./img/en/config.png)

## important
- The network must be located outside the mainland (as the Binance interface cannot be accessed normally in mainland China). The proxy configuration for Binance API has been added (websocket has no proxy configuration due to component usage issues, and is only used to update the latest contract currency prices in the background). If there are available proxies, they can also be used normally
-Apply for api_key address: [Binance API Management Page]https://www.binance.com/cn/usercenter/settings/api-management )
- If your account already has contract positions, please be sure to configure 'excludeSymbols' in the' app. conf 'file to exclude coins that you do not want to use this program for automatic trading. Otherwise, all positions will be automatically closed according to the trading strategy rules by default
- If your account already has contract positions, please be sure to exclude coins that you do not want to use this program for automatic trading on index page. Otherwise, all positions will be automatically closed according to the trading strategy rules by default
- !!! Please note that after modifying the app.cnf configuration, the program must be restarted, otherwise the configuration will not take effect!!!
-Please ensure that your account has sufficient USDT, otherwise placing an order will result in an error
- Do not exceed 20 notifications within 1 minute of DingTalk push, otherwise the IP address will be blocked for a period of time and the push will not be successful
Expand Down
2 changes: 1 addition & 1 deletion conf/app.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appname = binance_futures
# zh, en
language = zh
log = 1
debug = 1
debug = 0

[binance]
api_key = ""
Expand Down
Binary file removed img/en/config.jpg
Binary file not shown.
Binary file added img/en/config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/zh/config.jpg
Binary file not shown.
Binary file added img/zh/config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f3e8406

Please sign in to comment.