updated default settings
This commit is contained in:
parent
43f7695863
commit
94dd8399a7
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ using Core.Helper;
|
|||
using Core.Main.DataObjects.PTMagicData;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
[assembly: AssemblyVersion("2.0.5")]
|
||||
[assembly: AssemblyVersion("2.0.6")]
|
||||
[assembly: AssemblyProduct("PT Magic")]
|
||||
|
||||
namespace PTMagic
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"PTMagicBasePath": "YOUR PT MAGIC PATH", // Path to your Profit Trailer Magic main directory (use double backslashes for windows like C:\\PTMagic\\)
|
||||
"Logging": {
|
||||
"IncludeScopes": false,
|
||||
"LogLevel": {
|
||||
"Default": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xsi:schemaLocation="NLog NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
autoReload="true"
|
||||
internalLogLevel="Info" >
|
||||
|
||||
|
||||
<!-- the targets to write to -->
|
||||
<targets>
|
||||
<!-- write logs to file -->
|
||||
<target xsi:type="File" name="File" fileName="${basedir}/_logs/${shortdate}.txt"
|
||||
layout="${date} ${level:uppercase=true} - ${message} ${exception:format=type,message,stacktrace}"
|
||||
archiveEvery="Day"
|
||||
archiveNumbering="Rolling"
|
||||
maxArchiveFiles="7" />
|
||||
<target xsi:type="ColoredConsole" name="Console"
|
||||
layout="${date} ${level:uppercase=true} - ${message} ${exception:format=type,message,stacktrace}" />
|
||||
|
||||
|
||||
</targets>
|
||||
|
||||
<!-- rules to map from logger name to target -->
|
||||
<rules>
|
||||
<logger name="*" minlevel="Info" writeTo="Console" />
|
||||
<logger name="*" minlevel="Info" writeTo="File" />
|
||||
</rules>
|
||||
</nlog>
|
|
@ -1,241 +0,0 @@
|
|||
{
|
||||
"AnalyzerSettings": {
|
||||
"MarketAnalyzer": {
|
||||
"StoreDataMaxHours": 24, // Number of hours to store market data
|
||||
"IntervalMinutes": 5, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
|
||||
"MarketTrends": [
|
||||
{
|
||||
"Name": "CMC24h", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 1440 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
},
|
||||
{
|
||||
"Name": "Exchange1h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 60,
|
||||
"TrendCurrency": "Market" // Trend Currency to build the trend against. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend. (Allowed values are: Fiat, Market)
|
||||
},
|
||||
{
|
||||
"Name": "Exchange12h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 720,
|
||||
"TrendCurrency": "Market"
|
||||
},
|
||||
{
|
||||
"Name": "Exchange24h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 1440,
|
||||
"TrendCurrency": "Market"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GlobalSettings": [ // Global settings for Profit Trailer properties
|
||||
{
|
||||
"SettingName": "EndOfTheWorld", // UNIQUE name of your setting
|
||||
"TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
|
||||
"Triggers": [ // Your triggers for this setting
|
||||
{
|
||||
"MarketTrendName": "Exchange1h", // Reference to the market trend specified above
|
||||
"MaxChange": 0 // Maximum trend change % for this setting to get triggered
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": { // Properties for PAIRS.PROPERTIES
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_trailing_profit": 0.1
|
||||
},
|
||||
"DCAProperties": { // Properties for DCA.PROPERTIES
|
||||
"trailing_profit": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "TankingDown",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_buy_value": -1.1,
|
||||
"ALL_trailing_buy": 0.39,
|
||||
"ALL_trailing_profit": 0.1
|
||||
},
|
||||
"DCAProperties": {
|
||||
"trailing_buy": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "BearSighted",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_buy_value": -0.9,
|
||||
"ALL_trailing_profit": 0.15
|
||||
},
|
||||
"DCAProperties": {
|
||||
"trailing_profit": 0.15
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "ReadyForLiftOff",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_buy": 0.2,
|
||||
"ALL_sell_value": 1.1
|
||||
},
|
||||
"DCAProperties": {
|
||||
"sell_value": 1.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MinChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_buy": 0.15,
|
||||
"ALL_sell_value": 1.3
|
||||
},
|
||||
"DCAProperties": {
|
||||
"sell_value": 1.3
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "Default",
|
||||
"PairsProperties": {
|
||||
"File": "PAIRS.properties"
|
||||
},
|
||||
"DCAProperties": {
|
||||
"File": "DCA.properties"
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
"File": "INDICATORS.properties"
|
||||
}
|
||||
}
|
||||
],
|
||||
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
|
||||
{
|
||||
"SettingName": "BlacklistNewCoins",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"AgeDaysLowerThan": 14
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trading_enabled": false,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "PumpNDumpProtection",
|
||||
"TriggerConnection": "OR",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market trend compared relative to the market trend / Absolute = Single market trend viewn on its own
|
||||
"MinChange": 10
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 10
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 10
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -10,
|
||||
"ALL_sell_value_OFFSETPERCENT": -30,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "FreefallBlock",
|
||||
"TriggerConnection": "OR",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -10,
|
||||
"ALL_sell_value_OFFSETPERCENT": -30,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"GeneralSettings": {
|
||||
"Application": {
|
||||
"IsEnabled": true, // Enables the PTMagic bot (needs restart to take effect)
|
||||
"TestMode": false, // If TestMode is active, no properties files will be changed
|
||||
"ProfitTrailerPath": "YOUR PROFIT TRAILER PATH", // Path to your Profit Trailer main directory (use double backslashes for windows like C:\\ProfitTrailer\\)
|
||||
"Exchange": "Bittrex", // The exchange your are running Profit Trailer on
|
||||
"StartBalance": 0, // The balance you had in your wallet when you started working with Profit Trailer
|
||||
"TimezoneOffset": "+0:00", // Your timezone offset from UTC time
|
||||
"MainFiatCurrency": "USD", // Your main fiat currency that will be used in the monitor
|
||||
"AlwaysLoadDefaultBeforeSwitch": true, // If this is enabled, PTMagic will always load default settings before switching to another setting
|
||||
"FloodProtectionMinutes": 15, // 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
|
||||
"InstanceName": "PT Magic", // The name of the instance of this bot. This will be used in your monitor and your Telegram messages. In case you are running more than one bot, you may set different names to separate them
|
||||
"CoinMarketCapAPIKey": "" //CoinMarketCap Api
|
||||
},
|
||||
"Monitor": {
|
||||
"IsPasswordProtected": true, // Defines if your monitor will be asking to setup a password on its first start
|
||||
"OpenBrowserOnStart": false, // If active, a browser window will open as soon as you start the monitor
|
||||
"Port": 5000, // The port you want to run your monitor on
|
||||
"RootUrl": "/", // The root Url of your monitor
|
||||
"GraphIntervalMinutes": 60, // The interval for the monitor market trend graph to draw points
|
||||
"GraphMaxTimeframeHours": 24, // This will enable you to define the timeframe that your graph for market trends covers
|
||||
"RefreshSeconds": 30, // The refresh interval of your monitor main page
|
||||
"LinkPlatform": "TradingView", // The platform to which the pair name will link if you click on it
|
||||
"MaxTopMarkets": 20, // The amount of top markets being shown in your Sales Analyzer
|
||||
"MaxDailySummaries": 10, // The amount of "Last Days" being shown in your Sales Analyzer
|
||||
"MaxMonthlySummaries": 10 // The amount of "Last Months" being shown in your Sales Analyzer
|
||||
},
|
||||
"Backup": {
|
||||
"IsEnabled": true, // Enables a backup procedure for your properties files. Before every switch PTMagic will backup the current properties
|
||||
"MaxHours": 12 // Max number of hours to keep backup files
|
||||
},
|
||||
"Telegram": {
|
||||
"IsEnabled": false, // Enables PT Magic to send Telegram messages
|
||||
"BotToken": "", // Your Telegram bot token
|
||||
"ChatId": 0, // Your Telegram Chat ID
|
||||
"SilentMode": false // If SilentMode is active, no notification sound or vibration will happen when the bot sends a Telegram message
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"PTMagicBasePath": "YOUR PT MAGIC PATH", // Path to your Profit Trailer Magic main directory (use double backslashes for windows like C:\\PTMagic\\)
|
||||
"Logging": {
|
||||
"IncludeScopes": false,
|
||||
"LogLevel": {
|
||||
"Default": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xsi:schemaLocation="NLog NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
autoReload="true"
|
||||
internalLogLevel="Info" >
|
||||
|
||||
|
||||
<!-- the targets to write to -->
|
||||
<targets>
|
||||
<!-- write logs to file -->
|
||||
<target xsi:type="File" name="File" fileName="${basedir}/_logs/${shortdate}.txt"
|
||||
layout="${date} ${level:uppercase=true} - ${message} ${exception:format=type,message,stacktrace}"
|
||||
archiveEvery="Day"
|
||||
archiveNumbering="Rolling"
|
||||
maxArchiveFiles="7" />
|
||||
<target xsi:type="ColoredConsole" name="Console"
|
||||
layout="${date} ${level:uppercase=true} - ${message} ${exception:format=type,message,stacktrace}" />
|
||||
|
||||
|
||||
</targets>
|
||||
|
||||
<!-- rules to map from logger name to target -->
|
||||
<rules>
|
||||
<logger name="*" minlevel="Info" writeTo="Console" />
|
||||
<logger name="*" minlevel="Info" writeTo="File" />
|
||||
</rules>
|
||||
</nlog>
|
|
@ -1,242 +0,0 @@
|
|||
{
|
||||
"AnalyzerSettings": {
|
||||
"MarketAnalyzer": {
|
||||
"StoreDataMaxHours": 24, // Number of hours to store market data
|
||||
"IntervalMinutes": 1, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
|
||||
"MarketTrends": [
|
||||
{
|
||||
"Name": "CMC24h", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 1440 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
},
|
||||
{
|
||||
"Name": "Exchange1h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 60,
|
||||
"TrendCurrency": "Market", // Trend Currency to build the trend against. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend. (Allowed values are: Fiat, Market)
|
||||
"IgnoredMarkets": "BNBBTC" // Comma separated list of markets you want to be ignored in this market trend.
|
||||
},
|
||||
{
|
||||
"Name": "Exchange12h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 720,
|
||||
"TrendCurrency": "Market",
|
||||
"IgnoredMarkets": "BNBBTC"
|
||||
},
|
||||
{
|
||||
"Name": "Exchange24h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 1440,
|
||||
"TrendCurrency": "Market",
|
||||
"IgnoredMarkets": "BNBBTC"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GlobalSettings": [ // Global settings for Profit Trailer properties
|
||||
{
|
||||
"SettingName": "EndOfTheWorld", // UNIQUE name of your setting
|
||||
"TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
|
||||
"Triggers": [ // Your triggers for this setting
|
||||
{
|
||||
"MarketTrendName": "Exchange12h", // Reference to the market trend specified above
|
||||
"MaxChange": -1 // Maximum trend change % for this setting to get triggered
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": { // Properties for PAIRS.PROPERTIES
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"DCAProperties": { // Properties for DCA.PROPERTIES
|
||||
"trailing_profit_OFFSETPERCENT": -50
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "TankingDown",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_buy_value_OFFSETPERCENT": -10,
|
||||
"ALL_trailing_buy_OFFSETPERCENT": 10,
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -25
|
||||
},
|
||||
"DCAProperties": {
|
||||
"trailing_buy_OFFSETPERCENT": -25
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "BearSighted",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_buy_value_OFFSETPERCENT": -5,
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"trailing_profit_OFFSETPERCENT": -10
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "ReadyForLiftOff",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_buy_OFFSETPERCENT": -25,
|
||||
"ALL_sell_value_OFFSETPERCENT": 10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"sell_value_OFFSETPERCENT": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MinChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_buy_OFFSETPERCENT": -50,
|
||||
"ALL_sell_value_OFFSETPERCENT": 25
|
||||
},
|
||||
"DCAProperties": {
|
||||
"sell_value_OFFSETPERCENT": 25
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "Default",
|
||||
"PairsProperties": {
|
||||
"File": "PAIRS.PROPERTIES"
|
||||
},
|
||||
"DCAProperties": {
|
||||
"File": "DCA.PROPERTIES"
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
"File": "INDICATORS.PROPERTIES"
|
||||
}
|
||||
}
|
||||
],
|
||||
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
|
||||
{
|
||||
"SettingName": "BlacklistNewCoins",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"AgeDaysLowerThan": 14
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trading_enabled": false,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "PumpNDumpProtection",
|
||||
"TriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market trend compared relative to the market trend / Absolute = Single market trend viewn on its own
|
||||
"MinChange": 5
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 5
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -10,
|
||||
"ALL_sell_value_OFFSETPERCENT": -30,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "FreefallBlock",
|
||||
"TriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"ALL_trailing_profit_OFFSETPERCENT": -10,
|
||||
"ALL_sell_value_OFFSETPERCENT": -30,
|
||||
"ALL_sell_only_mode": true,
|
||||
"ALL_DCA_enabled": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"GeneralSettings": {
|
||||
"Application": {
|
||||
"IsEnabled": true, // Enables the PTMagic bot (needs restart to take effect)
|
||||
"TestMode": false, // If TestMode is active, no properties files will be changed
|
||||
"ProfitTrailerPath": "YOUR PROFIT TRAILER PATH", // Path to your Profit Trailer main directory (use double backslashes for windows like C:\\ProfitTrailer\\)
|
||||
"Exchange": "Bittrex", // The exchange your are running Profit Trailer on
|
||||
"StartBalance": 0, // The balance you had in your wallet when you started working with Profit Trailer
|
||||
"TimezoneOffset": "+0:00", // Your timezone offset from UTC time
|
||||
"MainFiatCurrency": "USD", // Your main fiat currency that will be used in the monitor
|
||||
"AlwaysLoadDefaultBeforeSwitch": true, // If this is enabled, PTMagic will always load default settings before switching to another setting
|
||||
"FloodProtectionMinutes": 15, // 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
|
||||
"InstanceName": "PT Magic", // The name of the instance of this bot. This will be used in your monitor and your Telegram messages. In case you are running more than one bot, you may set different names to separate them
|
||||
"CoinMarketCapAPIKey": "" //CoinMarketCap Api
|
||||
},
|
||||
"Monitor": {
|
||||
"IsPasswordProtected": true, // Defines if your monitor will be asking to setup a password on its first start
|
||||
"OpenBrowserOnStart": false, // If active, a browser window will open as soon as you start the monitor
|
||||
"Port": 5000, // The port you want to run your monitor on
|
||||
"RootUrl": "/", // The root Url of your monitor
|
||||
"GraphIntervalMinutes": 60, // The interval for the monitor market trend graph to draw points
|
||||
"GraphMaxTimeframeHours": 24, // This will enable you to define the timeframe that your graph for market trends covers
|
||||
"RefreshSeconds": 30, // The refresh interval of your monitor main page
|
||||
"LinkPlatform": "TradingView", // The platform to which the pair name will link if you click on it
|
||||
"MaxTopMarkets": 20, // The amount of top markets being shown in your Sales Analyzer
|
||||
"MaxDailySummaries": 10, // The amount of "Last Days" being shown in your Sales Analyzer
|
||||
"MaxMonthlySummaries": 10 // The amount of "Last Months" being shown in your Sales Analyzer
|
||||
},
|
||||
"Backup": {
|
||||
"IsEnabled": true, // Enables a backup procedure for your properties files. Before every switch PTMagic will backup the current properties
|
||||
"MaxHours": 12 // Max number of hours to keep backup files
|
||||
},
|
||||
"Telegram": {
|
||||
"IsEnabled": false, // Enables PT Magic to send Telegram messages
|
||||
"BotToken": "", // Your Telegram bot token
|
||||
"ChatId": 0, // Your Telegram Chat ID
|
||||
"SilentMode": false // If SilentMode is active, no notification sound or vibration will happen when the bot sends a Telegram message
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,171 +1,238 @@
|
|||
{
|
||||
//
|
||||
// The settings below offer a basic example of some of the options available when using PTMagic.
|
||||
// You should take your time and adjust these settings according to your own personal preferences.
|
||||
// Always test your PTMagic settings by running a Profit Trailer bot in TESTMODE, to make sure
|
||||
// it is performing as you expect.
|
||||
//
|
||||
// For more information on these settings, see the wiki at: https://github.com/PTMagicians/PTMagic/wiki/settings.analyzer
|
||||
|
||||
|
||||
{
|
||||
"AnalyzerSettings": {
|
||||
"MarketAnalyzer": {
|
||||
"StoreDataMaxHours": 24, // Number of hours to store market data
|
||||
"IntervalMinutes": 5, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"StoreDataMaxHours": 48, // Number of hours to store market data
|
||||
"IntervalMinutes": 2, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
|
||||
"MarketTrends": [
|
||||
{
|
||||
"Name": "CMC24h", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 1440 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"Name": "15m", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "Exchange", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 15, // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"TrendCurrency": "Market", // Trend Currency to build the trend against. If set to "Fiat", the trend will
|
||||
// take the USD value of your main currency into account to build the trend.
|
||||
// (Allowed values are: Fiat, Market)
|
||||
"DisplayGraph": false, // Use this trend in the graph on the PTM Monitor dashboard and market analyzer
|
||||
"DisplayOnMarketAnalyzerList": false // Disply this trend for all coins on the PTM Monitor market analyzer
|
||||
},
|
||||
{
|
||||
"Name": "Exchange1h",
|
||||
"Name": "1h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 60,
|
||||
"TrendCurrency": "Market" // Trend Currency to build the trend against. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend. (Allowed values are: Fiat, Market)
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange12h",
|
||||
"Name": "6h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 360,
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "12h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 720,
|
||||
"TrendCurrency": "Market"
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange24h",
|
||||
"Name": "24h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 1440,
|
||||
"TrendCurrency": "Market"
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
}
|
||||
]
|
||||
},
|
||||
// ================================ GLOBAL SETTINGS ================================
|
||||
//
|
||||
"GlobalSettings": [ // Global settings for Profit Trailer properties
|
||||
//
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "EndOfTheWorld", // UNIQUE name of your setting
|
||||
"SettingName": "EndOfTheWorld", // ANY UNIQUE name of your setting
|
||||
"TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
|
||||
"Triggers": [ // Your triggers for this setting
|
||||
"Triggers": [ // Your triggers for this setting. You can use any of your defined trends from above
|
||||
{
|
||||
"MarketTrendName": "Exchange1h", // Reference to the market trend specified above
|
||||
"MaxChange": 0 // Maximum trend change % for this setting to get triggered
|
||||
"MarketTrendName": "1h", // Reference to the market trend specified above
|
||||
"MaxChange": 0 // The maximum value for this trigger to be true. (Any value below "0" will trigger this)
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MaxChange": -1
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": -2
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": { // Properties for PAIRS.PROPERTIES
|
||||
// Any valid setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties can be used here.
|
||||
// You can use a specific value, or apply a discrete OFFSET or OFFSETPERCENT to the value in your default PAIRS setting.
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"DCAProperties": { // Properties for DCA.PROPERTIES
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "TankingDown",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "15m",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h", // Any value between -5 and -3 will make this trigger true.
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5
|
||||
"MinChange": -5 // The minimum value for this trigger to be true. (Any value above "-5" will trigger this)
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -10,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -10,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 10,
|
||||
"max_trading_pairs_OFFSET": -2,
|
||||
"DEFAULT_min_buy_volume_OFFSETPERCENT": 100,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -50,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -50,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -25
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -25
|
||||
//"DEFAULT_DCA_rebuy_timeout_OFFSETPERCENT": 100,
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "BearSighted",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -5,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -5,
|
||||
"max_trading_pairs_OFFSET": -1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -25,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -25,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ReadyForLiftOff",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -25,
|
||||
"max_trading_pairs_OFFSET": 1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 10,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 10
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -50,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 25
|
||||
"max_trading_pairs_OFFSET": 2,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 20,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 20
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 25
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "Default",
|
||||
"PairsProperties": {
|
||||
|
@ -179,13 +246,18 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
// ================================ COIN-SPECIFIC SETTINGS ================================
|
||||
//
|
||||
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
|
||||
// Any setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties
|
||||
// marked as CS (coin-specific) can be used here.
|
||||
// Only coins that meet the triggered conditions will have the settings applied.
|
||||
{
|
||||
"SettingName": "BlacklistNewCoins",
|
||||
"SettingName": "BlacklistCoins",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"AgeDaysLowerThan": 14
|
||||
"AgeDaysLowerThan": 21
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -194,24 +266,33 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "PumpNDumpProtection",
|
||||
"TriggerConnection": "OR",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market trend compared relative to the market trend / Absolute = Single market trend viewn on its own
|
||||
"MinChange": 10
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market
|
||||
// trend compared relative to the market trend
|
||||
// Absolute = Single market trend viewed on its own
|
||||
"MinChange": 8
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 10
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 10
|
||||
"MinChange": 12
|
||||
}
|
||||
],
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting
|
||||
// for 3 hours, since the last time it triggered.
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -219,17 +300,23 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "FreefallBlock",
|
||||
"TriggerConnection": "OR",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 1
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
|
|
|
@ -1,190 +1,263 @@
|
|||
{
|
||||
//
|
||||
// The settings below offer a basic example of some of the options available when using PTMagic.
|
||||
// You should take your time and adjust these settings according to your own personal preferences.
|
||||
// Always test your PTMagic settings by running a Profit Trailer bot in TESTMODE, to make sure
|
||||
// it is performing as you expect.
|
||||
//
|
||||
// For more information on these settings, see the wiki at: https://github.com/PTMagicians/PTMagic/wiki/settings.analyzer
|
||||
|
||||
|
||||
{
|
||||
"AnalyzerSettings": {
|
||||
"MarketAnalyzer": {
|
||||
"StoreDataMaxHours": 24, // Number of hours to store market data
|
||||
"IntervalMinutes": 1, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"StoreDataMaxHours": 48, // Number of hours to store market data
|
||||
"IntervalMinutes": 2, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
|
||||
"MarketTrends": [
|
||||
{
|
||||
"Name": "CMC24h", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 1440 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"Name": "15m", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "Exchange", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 15, // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"TrendCurrency": "Market", // Trend Currency to build the trend against. If set to "Fiat", the trend will
|
||||
// take the USD value of your main currency into account to build the trend.
|
||||
// (Allowed values are: Fiat, Market)
|
||||
"DisplayGraph": false, // Use this trend in the graph on the PTM Monitor dashboard and market analyzer
|
||||
"DisplayOnMarketAnalyzerList": false // Disply this trend for all coins on the PTM Monitor market analyzer
|
||||
},
|
||||
{
|
||||
"Name": "Exchange1h",
|
||||
"Name": "1h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 60,
|
||||
"TrendCurrency": "Market", // Trend Currency to build the trend against. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend. (Allowed values are: Fiat, Market)
|
||||
"IgnoredMarkets": "BNBBTC" // Comma separated list of markets you want to be ignored in this market trend.
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange12h",
|
||||
"Name": "6h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 360,
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "12h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 720,
|
||||
"TrendCurrency": "Market",
|
||||
"IgnoredMarkets": "BNBBTC"
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange24h",
|
||||
"Name": "24h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 1440,
|
||||
"TrendCurrency": "Market",
|
||||
"IgnoredMarkets": "BNBBTC"
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
}
|
||||
]
|
||||
},
|
||||
// ================================ GLOBAL SETTINGS ================================
|
||||
//
|
||||
"GlobalSettings": [ // Global settings for Profit Trailer properties
|
||||
//
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "EndOfTheWorld", // UNIQUE name of your setting
|
||||
"SettingName": "EndOfTheWorld", // ANY UNIQUE name of your setting
|
||||
"TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
|
||||
"Triggers": [ // Your triggers for this setting
|
||||
"Triggers": [ // Your triggers for this setting. You can use any of your defined trends from above
|
||||
{
|
||||
"MarketTrendName": "Exchange12h", // Reference to the market trend specified above
|
||||
"MaxChange": -1 // Maximum trend change % for this setting to get triggered
|
||||
"MarketTrendName": "1h", // Reference to the market trend specified above
|
||||
"MaxChange": 0 // The maximum value for this trigger to be true. (Any value below "0" will trigger this)
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": -2
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": { // Properties for PAIRS.PROPERTIES
|
||||
// Any valid setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties can be used here.
|
||||
// You can use a specific value, or apply a discrete OFFSET or OFFSETPERCENT to the value in your default PAIRS setting.
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"DCAProperties": { // Properties for DCA.PROPERTIES
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "TankingDown",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "15m",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h", // Any value between -5 and -3 will make this trigger true.
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5
|
||||
"MinChange": -5 // The minimum value for this trigger to be true. (Any value above "-5" will trigger this)
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -10,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -10,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 10,
|
||||
"max_trading_pairs_OFFSET": -2,
|
||||
"DEFAULT_min_buy_volume_OFFSETPERCENT": 100,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -50,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -50,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -25
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -25
|
||||
//"DEFAULT_DCA_rebuy_timeout_OFFSETPERCENT": 100,
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "BearSighted",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -5,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -5,
|
||||
"max_trading_pairs_OFFSET": -1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -25,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -25,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ReadyForLiftOff",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -25,
|
||||
"max_trading_pairs_OFFSET": 1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 10,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 10
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MinChange": -1
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -50,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 25
|
||||
"max_trading_pairs_OFFSET": 2,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 20,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 20
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 25
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "Default",
|
||||
"PairsProperties": {
|
||||
"File": "PAIRS.PROPERTIES"
|
||||
"File": "PAIRS.properties"
|
||||
},
|
||||
"DCAProperties": {
|
||||
"File": "DCA.PROPERTIES"
|
||||
"File": "DCA.properties"
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
"File": "INDICATORS.PROPERTIES"
|
||||
"File": "INDICATORS.properties"
|
||||
}
|
||||
}
|
||||
],
|
||||
// ================================ COIN-SPECIFIC SETTINGS ================================
|
||||
//
|
||||
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
|
||||
// Any setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties
|
||||
// marked as CS (coin-specific) can be used here.
|
||||
// Only coins that meet the triggered conditions will have the settings applied.
|
||||
{
|
||||
"SettingName": "BlacklistNewCoins",
|
||||
"SettingName": "BlacklistCoins",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"AgeDaysLowerThan": 14
|
||||
"AgeDaysLowerThan": 21
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -193,25 +266,33 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "PumpNDumpProtection",
|
||||
"TriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market trend compared relative to the market trend / Absolute = Single market trend viewn on its own
|
||||
"MinChange": 5
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market
|
||||
// trend compared relative to the market trend
|
||||
// Absolute = Single market trend viewed on its own
|
||||
"MinChange": 8
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 5
|
||||
"MinChange": 10
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 5
|
||||
"MinChange": 12
|
||||
}
|
||||
],
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting
|
||||
// for 3 hours, since the last time it triggered.
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -219,20 +300,23 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "FreefallBlock",
|
||||
"TriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": -30,
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 1
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
|
|
|
@ -1,79 +1,263 @@
|
|||
//
|
||||
// The settings below offer a basic example of some of the options available when using PTMagic.
|
||||
// You should take your time and adjust these settings according to your own personal preferences.
|
||||
// Always test your PTMagic settings by running a Profit Trailer bot in TESTMODE, to make sure
|
||||
// it is performing as you expect.
|
||||
//
|
||||
// For more information on these settings, see the wiki at: https://github.com/PTMagicians/PTMagic/wiki/settings.analyzer
|
||||
|
||||
|
||||
{
|
||||
"AnalyzerSettings": {
|
||||
"MarketAnalyzer": {
|
||||
"StoreDataMaxHours": 24, // Number of hours to store market data
|
||||
"IntervalMinutes": 1, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"StoreDataMaxHours": 48, // Number of hours to store market data
|
||||
"IntervalMinutes": 2, // Interval in minutes for PTMagic to check market trends and triggers
|
||||
"ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
|
||||
"MarketTrends": [
|
||||
{
|
||||
"Name": "CMC24h", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 1440 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"Name": "15m", // UNIQUE market trend name (to be referenced by your triggers below)
|
||||
"Platform": "Exchange", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
|
||||
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
|
||||
"TrendMinutes": 15, // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
|
||||
"TrendCurrency": "Market", // Trend Currency to build the trend against. If set to "Fiat", the trend will
|
||||
// take the USD value of your main currency into account to build the trend.
|
||||
// (Allowed values are: Fiat, Market)
|
||||
"DisplayGraph": false, // Use this trend in the graph on the PTM Monitor dashboard and market analyzer
|
||||
"DisplayOnMarketAnalyzerList": false // Disply this trend for all coins on the PTM Monitor market analyzer
|
||||
},
|
||||
{
|
||||
"Name": "Exchange1h",
|
||||
"Name": "1h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 60,
|
||||
"TrendCurrency": "Market" // Trend Currency to build the trend against. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend. (Allowed values are: Fiat, Market)
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange12h",
|
||||
"Name": "6h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 360,
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "12h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 720,
|
||||
"TrendCurrency": "Market"
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
},
|
||||
{
|
||||
"Name": "Exchange24h",
|
||||
"Name": "24h",
|
||||
"Platform": "Exchange",
|
||||
"MaxMarkets": 50,
|
||||
"TrendMinutes": 1440,
|
||||
"TrendCurrency": "Market"
|
||||
"TrendCurrency": "Market",
|
||||
"DisplayGraph": true,
|
||||
"DisplayOnMarketAnalyzerList": true
|
||||
}
|
||||
]
|
||||
},
|
||||
// ================================ GLOBAL SETTINGS ================================
|
||||
//
|
||||
"GlobalSettings": [ // Global settings for Profit Trailer properties
|
||||
//
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "EndOfTheWorld", // UNIQUE name of your setting
|
||||
"SettingName": "EndOfTheWorld", // ANY UNIQUE name of your setting
|
||||
"TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
|
||||
"Triggers": [ // Your triggers for this setting
|
||||
"Triggers": [ // Your triggers for this setting. You can use any of your defined trends from above
|
||||
{
|
||||
"MarketTrendName": "Exchange12h", // Reference to the market trend specified above
|
||||
"MaxChange": -1 // Maximum trend change % for this setting to get triggered
|
||||
"MarketTrendName": "1h", // Reference to the market trend specified above
|
||||
"MaxChange": 0 // The maximum value for this trigger to be true. (Any value below "0" will trigger this)
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": -2
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": { // Properties for PAIRS.PROPERTIES
|
||||
"DEFAULT_sell_only_mode_enabled": true
|
||||
// Any valid setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties can be used here.
|
||||
// You can use a specific value, or apply a discrete OFFSET or OFFSETPERCENT to the value in your default PAIRS setting.
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"DCAProperties": { // Properties for DCA.PROPERTIES
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "TankingDown",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "15m",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h", // Any value between -5 and -3 will make this trigger true.
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5 // The minimum value for this trigger to be true. (Any value above "-5" will trigger this)
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"max_trading_pairs_OFFSET": -2,
|
||||
"DEFAULT_min_buy_volume_OFFSETPERCENT": 100,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -50,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -50,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -25
|
||||
},
|
||||
"DCAProperties": {
|
||||
//"DEFAULT_DCA_rebuy_timeout_OFFSETPERCENT": 100,
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "BearSighted",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "12h",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"max_trading_pairs_OFFSET": -1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": -25,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -25,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ReadyForLiftOff",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"max_trading_pairs_OFFSET": 1,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 10,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 10
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "1h",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "12h",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "24h",
|
||||
"MinChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"max_trading_pairs_OFFSET": 2,
|
||||
//"DEFAULT_initial_cost_OFFSETPERCENT": 20,
|
||||
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 20
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20,
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20,
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "Default",
|
||||
"PairsProperties": {
|
||||
"File": "PAIRS.PROPERTIES"
|
||||
"File": "PAIRS.properties"
|
||||
},
|
||||
"DCAProperties": {
|
||||
"File": "DCA.PROPERTIES"
|
||||
"File": "DCA.properties"
|
||||
},
|
||||
"IndicatorsProperties": {
|
||||
"File": "INDICATORS.PROPERTIES"
|
||||
"File": "INDICATORS.properties"
|
||||
}
|
||||
}
|
||||
],
|
||||
// ================================ COIN-SPECIFIC SETTINGS ================================
|
||||
//
|
||||
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
|
||||
// Any setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties
|
||||
// marked as CS (coin-specific) can be used here.
|
||||
// Only coins that meet the triggered conditions will have the settings applied.
|
||||
{
|
||||
"SettingName": "BlacklistNewCoins",
|
||||
"SettingName": "BlacklistCoins",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"AgeDaysLowerThan": 14
|
||||
"AgeDaysLowerThan": 21
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -82,46 +266,33 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "PumpNDumpProtection",
|
||||
"TriggerConnection": "OR",
|
||||
"OffTriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market trend compared relative to the market trend / Absolute = Single market trend viewn on its own
|
||||
"MinChange": 5
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market
|
||||
// trend compared relative to the market trend
|
||||
// Absolute = Single market trend viewed on its own
|
||||
"MinChange": 8
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendName": "12h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 7
|
||||
"MinChange": 10
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "24h",
|
||||
"MarketTrendRelation": "Relative",
|
||||
"MinChange": 7
|
||||
"MinChange": 12
|
||||
}
|
||||
],
|
||||
"OffTriggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "RelativeTrigger",
|
||||
"MaxChange": -4
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "RelativeTrigger",
|
||||
"MaxChange": -5
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "RelativeTrigger",
|
||||
"MaxChange": -5
|
||||
},
|
||||
{
|
||||
"HoursSinceTriggered": 48
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting
|
||||
// for 3 hours, since the last time it triggered.
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
|
@ -129,225 +300,25 @@
|
|||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
// -----------------------------
|
||||
{
|
||||
"SettingName": "FreefallBlock",
|
||||
"TriggerConnection": "OR",
|
||||
"OffTriggerConnection": "OR",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -8
|
||||
}
|
||||
],
|
||||
"OffTriggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "RelativeTrigger",
|
||||
"MinChange": 6
|
||||
},
|
||||
{
|
||||
"HoursSinceTriggered": 24
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": -50,
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "StraightToHell",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -3
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendName": "1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"OffTriggers": [
|
||||
{
|
||||
"HoursSinceTriggered": 1
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_sell_only_mode_enabled": true,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -75,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": -50
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75,
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": -50
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "StrongDownTrend",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -3,
|
||||
"MinChange": -5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -100,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -15,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": 20,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -75,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": -30
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -75,
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": -30
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "WeakDownTrend",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MaxChange": -1,
|
||||
"MinChange": -3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": -50,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": -7,
|
||||
"DEFAULT_trailing_profit_OFFSETPERCENT": -50,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": -20
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50,
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": -20
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "WeakUpTrend",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 1,
|
||||
"MaxChange": 3
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": 10,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": 10,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 20
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "StrongUpTrend",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": -1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 3,
|
||||
"MaxChange": 5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": 30,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": 30,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -50,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 30
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 30
|
||||
}
|
||||
},
|
||||
{
|
||||
"SettingName": "ToTheMoon",
|
||||
"TriggerConnection": "AND",
|
||||
"StopProcessWhenTriggered": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"MarketTrendName": "Exchange1h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 0
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange12h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 1
|
||||
},
|
||||
{
|
||||
"MarketTrendName": "Exchange24h",
|
||||
"MarketTrendRelation": "Absolute",
|
||||
"MinChange": 5
|
||||
}
|
||||
],
|
||||
"PairsProperties": {
|
||||
"DEFAULT_A_buy_value_OFFSETPERCENT": 30,
|
||||
"DEFAULT_B_buy_value_OFFSETPERCENT": 30,
|
||||
"DEFAULT_trailing_buy_OFFSETPERCENT": -50,
|
||||
"DEFAULT_A_sell_value_OFFSETPERCENT": 40
|
||||
},
|
||||
"DCAProperties": {
|
||||
"DEFAULT_DCA_A_sell_value_OFFSETPERCENT": 40
|
||||
"DEFAULT_DCA_enabled": false
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"GeneralSettings": {
|
||||
"Application": {
|
||||
"IsEnabled": true, // Enables the PTMagic bot (needs restart to take effect)
|
||||
"TestMode": true, // If TestMode is active, no properties files will be changed
|
||||
"TestMode": false, // If TestMode is active, no properties files will be changed
|
||||
"ProfitTrailerMajorVersion": 2, // Major version of your Profit Trailer (If you are using 1.2.x the major version is "1", if you are using 2.x the major version is "2" and so on)
|
||||
"ProfitTrailerPath": "YOUR PROFIT TRAILER PATH", // Path to your Profit Trailer main directory (use double backslashes for windows like C:\\ProfitTrailer\\)
|
||||
"ProfitTrailerLicense": "YOUR PROFIT TRAILER LICENSE KEY", // Your Profit Trailer license key (needed to change your settings for PT 2.0 and above)
|
||||
|
@ -14,12 +14,12 @@
|
|||
"MainFiatCurrency": "USD", // Your main fiat currency that will be used in the monitor
|
||||
"AlwaysLoadDefaultBeforeSwitch": true, // If this is enabled, PTMagic will always load default settings before switching to another setting
|
||||
"FloodProtectionMinutes": 15, // 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
|
||||
"InstanceName": "PT Magic Development", // The name of the instance of this bot. This will be used in your monitor and your Telegram messages. In case you are running more than one bot, you may set different names to separate them
|
||||
"CoinMarketCapAPIKey": "" //CoinMarketCap ApiKey
|
||||
"InstanceName": "PT Magic", // The name of the instance of this bot. This will be used in your monitor and your Telegram messages. In case you are running more than one bot, you may set different names to separate them
|
||||
"CoinMarketCapAPIKey": "" //CoinMarketCap Api
|
||||
},
|
||||
"Monitor": {
|
||||
"IsPasswordProtected": true, // Defines if your monitor will be asking to setup a password on its first start
|
||||
"OpenBrowserOnStart": true, // If active, a browser window will open as soon as you start the monitor
|
||||
"OpenBrowserOnStart": false, // If active, a browser window will open as soon as you start the monitor
|
||||
"Port": 5000, // The port you want to run your monitor on
|
||||
"RootUrl": "/", // The root Url of your monitor
|
||||
"GraphIntervalMinutes": 60, // The interval for the monitor market trend graph to draw points
|
||||
|
|
Loading…
Reference in New Issue