PT Magic Wiki settings.general.json设置参数 中文翻译

in #ptmagic7 years ago (edited)

本翻译自PT Magic 官方GitHub的Wiki,原文请点此。为了方便读者阅读和理解,特别保留了英文原文,在原文的右方或下方加上了中文翻译及注解。

This is a description of the general settings of the Profit Trailer Magic application.
本文描述了Profit Trailer Magic的普通参数设置。

Application - 程序

IsEnabled - 是否启用程序

Enables the application in general.
一般情况下是否启用PT Magic

Default: true
默认参数:true (开启)

Expected values: true, false
可用参数:true, false(开启,关闭)

TestMode - 测试模式

Enables the test mode of PT Magic. When TestMode is enabled, no Profit Trailer files will be changed.
启动PT Magic的测试模式,在测试模式下,PT原来的文件不会被修改

Default: true
默认参数:true

Expected values: true, false
可用参数:true, false

ProfitTrailerPath - PT路径

Absolute filepath to the Profit Trailer root directory.
PT安装的绝对路径, 例如 /home/ptbot/ProfitTrailer

Exchange - 交易所

The exchange you are running your Profit Trailer on.
PT 设置的交易所

Expected values: Bittrex, Binance, Poloniex
可用参数:Bittrex, Binance, Poloniex

StartBalance - 起始资金

The balance you had in your wallet when you started working with Profit Trailer
你在开始使用PT前交易所钱包内的余额

Expected values: Float
可用参数:浮点数
(译者注:本位金的余额,例如使用PT用的是BTC市场,使用PT前的投入的本金是1.88BTC,即填入"1.88")

AlwaysLoadDefaultBeforeSwitch - 总是在切换前启用默认策略

When this is activated, PT Magic will always reload "Default" settings whenever it switches to another setting. This may be helpful if you are mostly using offset values, to ensure that the offset is taking the default value and not an already adjusted value.
如果启用此选项,PT Magic会总是在一个策略切换到另一个策略时,先切换到默认策略再切换到下一个策略。它的好处在于,如果你经常手动设置参数(偏移量),那么这个选项会在默认值上进行调整(偏移),而不是在已经改动过的值上进行调整(偏移)。

Default: true
默认参数:true

Expected values: true, false
可用参数:true, false

FloodProtectionMinutes - 策略频繁变换保护

Number of minutes to wait before switchting a setting back again. If a price trend is just zig-zagging around its trigger, you may want to protect your settings from getting switched back and forth every minute
如果价格起伏较大,频繁触发策略改变机制,这将保护你的策略免于发生频繁的变动。数值是策略切换等待的时间(分钟)

Default: 15
默认参数:15

Expected values: Integer
可用参数:整数

Monitor - 监视器

IsPasswordProtected - 是否启用密码保护

Defines if you monitor website will be protected by a password or not.
定义了你开启PTM网页端是否需要输入密码

Default: true
默认参数:true

Expected values: true, false
可用参数:true, false

OpenBrowserOnStart - 启动时打开浏览器

If this is active, a browser window pointing to the monitor will open when the monitor app gets started
如果启用此选项, 当监控App启动时会自动打开一个浏览器运行监控器
(译者注:可能仅在windows下有效)

Default: false
默认参数:false

Expected values: true, false
可用参数:true, false

Port - 网页端口

The port to run your monitor on.
你监视窗口的访问端口

Default: 5000
默认参数:5000

Expected values: Integer
可用参数:整数
(译者注:请勿使用与PT一样的端口造成端口冲突,)

GraphIntervalMinutes - 绘图取样点间隔

The interval for the monitor market trend graph to draw points.
首页市场走势图取样点的间隔,单位:分钟

Default: 60
默认参数:60

Expected values: Integer
可用参数:整数

GraphMaxTimeframeHours - 绘图周期

This will enable you to define the timeframe that your graph for market trends covers.
首页市场走势图的时间范围,单位:小时

Default: 24
默认参数:24

Expected values: Integer
可用参数:整数

RefreshSeconds - 刷新频率

The refresh interval of your monitor main page.
首页数据刷新频率, 单位:秒

Default: 30
默认参数:30

Expected values: Integer
可用参数:整数

LinkPlatform - Pair对接平台

The platform to which the pair name will link if you click on it.
Market Trends里,点击Pair后打开的平台

Default: TradingView
默认参数:TradingView (TradingView网站相关Pair的页面)

Expected values: TradingView, Exchange
可用参数:TradingView, Exchange (TradingView网站,交易所)

DefaultDCAMode - 默认DCA模式

The default mode of the DCA calculator to be used when you access it using your monitor.
DCA计算器的默认模式

Default: Simple
默认参数:Simple (简单模式)

Expected values: Simple, Advanced
可用参数:Simple, Advanced(简单模式,高级模式)

MaxTopMarkets

The amount of top markets being show in your Sales Analyzer
Sales Analyzer里表现最好Market(其实是Pair)的显示数量

Default: 20
默认参数:20

Expected values: Integer
可用参数:整数

Backup - 备份

IsEnabled - 是否启用备份

Enables a backup procedure for your properties files. Before every switch PT Magic will backup the current properties.
启用对properties文件的备份机制。在PT Magic每次切换前对当前properties文件进行备份。

Default: true
默认参数:true

Expected values: true, false
可用参数:true, false

MaxHours

Max number of hours to keep backup files
保留备份文件的最长时间(小时)

Default: 48
默认参数:48

Expected values: Integer
可用参数:整数

Telegram - 电报App相关

IsEnabled - 是否启用电报通知

Enables PT Magic to send Telegram messages
启动PTM发送消息给Telegram App

Default: false
默认参数:false

Expected values: true, false
可用参数:true, false

BotToken

Your Telegram bot token
Telegram bot的Token

Expected values: String
可用参数:数字串
(译者注:例如123456789:ABC1a8QRST8aXX5XXxxXXxxXXFN50054321)

ChatId

Your Telegram Chat ID
你Telegram接收信息的Chat ID

Expected values: Integer
可用参数:整数

SilentMode - 安静模式

If SilentMode is active, no notification sound or vibration will happen when the bot sends a Telegram message
如果启用安静模式, PTM给Telegram发送信息时将不会发出提示声或震动

Default: false
默认参数:false

Expected values: true, false
可用参数:true, false

========================================
Wiki 原文:https://github.com/Legedric/ptmagic/wiki/settings.general
========================================

如果您有任何问题可以前往Telegram小组进行讨论
PTMagic: https://t.me/PTMagicCN
ProfitTrailer: https://t.me/ProfitTrailer

PTMagic的github:https://github.com/Legedric/ptmagic
PTMagic的Wiki:https://github.com/Legedric/ptmagic/wiki

如果您觉得这篇文章对您有帮助,请慷慨捐赠以示鼓励:
LTC: MWZJ73KFkzwBnpyUs1B68GwRo4qAYoCgJk
BCH: 16a1y2K1wQULaK6qMrE4nnbaw6yABhg6mS
ETH: 0xae629fe5d75e921e7770baa7606f6e79ee2c6426
BTC: 1DnMpCkheP4zYUaeevM7jQioTHQ95MK6iW