fix missing quotes in default analyzer

This commit is contained in:
HojouFotytu 2021-04-16 12:26:31 +09:00
parent a8278bae4d
commit 7010e5bf7a
2 changed files with 70 additions and 70 deletions

View File

@ -11,20 +11,20 @@
"AnalyzerSettings": { "AnalyzerSettings": {
"MarketAnalyzer": { "MarketAnalyzer": {
"StoreDataMaxHours": 48, // Number of hours to store market data "StoreDataMaxHours": 48, // Number of hours to store market data
"IntervalMinutes": 2, // Interval in minutes for PTMagic to check market trends and triggers "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 "ExcludeMainCurrency": true, // Excludes the main currency (for example BTC) from market trend analysis
"MarketTrends": [ "MarketTrends": [
{ {
"Name": "1h", // UNIQUE market trend name (to be referenced by your triggers below) "Name": "1h", // UNIQUE market trend name (to be referenced by your triggers below)
"Platform": "Exchange", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange) "Platform": "Exchange", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
"MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume "MaxMarkets": 50, // Number of markets/pairs to analyze sorted by 24h volume
"TrendMinutes": 60, // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h) "TrendMinutes": 60, // 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 "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. // take the USD value of your main currency into account to build the trend.
// "Market" will build a trend against your base currency, such as BTC or USDT. // "Market" will build a trend against your base currency, such as BTC or USDT.
"TrendThreshold": 15, // Any coin that is above 15% or below -15% for this timeframe will not be used when calculating the market average. "TrendThreshold": 15, // Any coin that is above 15% or below -15% for this timeframe will not be used when calculating the market average.
"DisplayGraph": false, // Use this trend in the graph on the PTM Monitor dashboard and market analyzer "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 "DisplayOnMarketAnalyzerList": false // Disply this trend for all coins on the PTM Monitor market analyzer
}, },
{ {
"Name": "6h", "Name": "6h",
@ -33,8 +33,8 @@
"TrendMinutes": 360, "TrendMinutes": 360,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 30, "TrendThreshold": 30,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
}, },
{ {
"Name": "12h", "Name": "12h",
@ -43,8 +43,8 @@
"TrendMinutes": 720, "TrendMinutes": 720,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 50, "TrendThreshold": 50,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
}, },
{ {
"Name": "24h", "Name": "24h",
@ -53,17 +53,17 @@
"TrendMinutes": 1440, "TrendMinutes": 1440,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 75, "TrendThreshold": 75,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
} }
] ]
}, },
// ================================ GLOBAL SETTINGS ================================ // ================================ GLOBAL SETTINGS ================================
// //
"GlobalSettings": [ // Global settings for Profit Trailer properties "GlobalSettings": [ // Global settings for Profit Trailer properties
// //
// =================================================================================== // ===================================================================================
// ----------------------------- // -----------------------------
{ {
"SettingName": "EndOfTheWorld", // ANY 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 "TriggerConnection": "AND", // Define if triggers will be connected by AND or OR
@ -84,14 +84,14 @@
"PairsProperties": { // Properties for PAIRS.PROPERTIES "PairsProperties": { // Properties for PAIRS.PROPERTIES
// Any valid setting from https://wiki.profittrailer.com/en/config can be used here. // Any valid setting from https://wiki.profittrailer.com/en/config 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. // 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_sell_only_mode_enabled": "true",
"DEFAULT_trailing_profit_OFFSETPERCENT": -50 "DEFAULT_trailing_profit_OFFSETPERCENT": -50
}, },
"DCAProperties": { // Properties for DCA.PROPERTIES "DCAProperties": { // Properties for DCA.PROPERTIES
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75 "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -75
} }
}, },
// ----------------------------- // -----------------------------
{ {
"SettingName": "TankingDown", "SettingName": "TankingDown",
"TriggerConnection": "AND", "TriggerConnection": "AND",
@ -123,10 +123,10 @@
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50 "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
}, },
// ----------------------------- // -----------------------------
{ {
"SettingName": "BearSighted", "SettingName": "BearSighted",
"TriggerConnection": "AND", "TriggerConnection": "AND",
@ -156,7 +156,7 @@
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
}, },
// ----------------------------- // -----------------------------
@ -182,17 +182,17 @@
"max_trading_pairs_OFFSET": 1, "max_trading_pairs_OFFSET": 1,
//"DEFAULT_initial_cost_OFFSETPERCENT": 10, //"DEFAULT_initial_cost_OFFSETPERCENT": 10,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10,
"DEFAULT_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_A_sell_value_OFFSETPERCENT": 10 "DEFAULT_A_sell_value_OFFSETPERCENT": 10
}, },
"DCAProperties": { "DCAProperties": {
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
}, },
// ----------------------------- // -----------------------------
{ {
"SettingName": "ToTheMoon", "SettingName": "ToTheMoon",
"TriggerConnection": "AND", "TriggerConnection": "AND",
@ -214,14 +214,14 @@
"max_trading_pairs_OFFSET": 2, "max_trading_pairs_OFFSET": 2,
//"DEFAULT_initial_cost_OFFSETPERCENT": 20, //"DEFAULT_initial_cost_OFFSETPERCENT": 20,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20,
"DEFAULT_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_A_sell_value_OFFSETPERCENT": 20 "DEFAULT_A_sell_value_OFFSETPERCENT": 20
}, },
"DCAProperties": { "DCAProperties": {
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
}, },
// ----------------------------- // -----------------------------
@ -241,9 +241,9 @@
// ================================ COIN-SPECIFIC SETTINGS ================================ // ================================ COIN-SPECIFIC SETTINGS ================================
// //
"SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties "SingleMarketSettings": [ // Single market/pair settings for Profit Trailer properties
// Any setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties // Any setting from https://wiki.profittrailer.com/en/config
// marked as CS (coin-specific) can be used here. // marked as CS (coin-specific) can be used here.
// Only coins that meet the triggered conditions will have the settings applied. // Only coins that meet the triggered conditions will have the settings applied.
{ {
"SettingName": "BlacklistCoins", "SettingName": "BlacklistCoins",
"StopProcessWhenTriggered": true, "StopProcessWhenTriggered": true,
@ -253,12 +253,12 @@
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_trading_enabled": false, "DEFAULT_trading_enabled": "false",
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
}, },
// ----------------------------- // -----------------------------
{ {
"SettingName": "PumpNDumpProtection", "SettingName": "PumpNDumpProtection",
"TriggerConnection": "OR", "TriggerConnection": "OR",
@ -266,8 +266,8 @@
{ {
"MarketTrendName": "1h", "MarketTrendName": "1h",
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market "MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market
// trend compared relative to the market trend // trend compared relative to the market trend
// Absolute = Single market trend viewed on its own // Absolute = Single market trend viewed on its own
"MinChange": 8 "MinChange": 8
}, },
{ {
@ -281,18 +281,18 @@
"MinChange": 12 "MinChange": 12
} }
], ],
"OffTriggers": [ "OffTriggers": [
{ {
"HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting "HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting
// for 3 hours, since the last time it triggered. // for 3 hours, since the last time it triggered.
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
}, },
// ----------------------------- // -----------------------------
{ {
"SettingName": "FreefallBlock", "SettingName": "FreefallBlock",
"TriggerConnection": "OR", "TriggerConnection": "OR",
@ -303,14 +303,14 @@
"MaxChange": -5 "MaxChange": -5
} }
], ],
"OffTriggers": [ "OffTriggers": [
{ {
"HoursSinceTriggered": 1 "HoursSinceTriggered": 1
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
} }
] ]

View File

@ -84,7 +84,7 @@
"PairsProperties": { // Properties for PAIRS.PROPERTIES "PairsProperties": { // Properties for PAIRS.PROPERTIES
// Any valid setting from https://wiki.profittrailer.com/en/config can be used here. // Any valid setting from https://wiki.profittrailer.com/en/config 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. // 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_sell_only_mode_enabled": "true",
"DEFAULT_trailing_profit_OFFSETPERCENT": -50 "DEFAULT_trailing_profit_OFFSETPERCENT": -50
}, },
"DCAProperties": { // Properties for DCA.PROPERTIES "DCAProperties": { // Properties for DCA.PROPERTIES
@ -112,16 +112,16 @@
], ],
"PairsProperties": { "PairsProperties": {
"max_trading_pairs_OFFSET": -2, "max_trading_pairs_OFFSET": -2,
"DEFAULT_min_buy_volume_OFFSETPERCENT": 100, "DEFAULT_min_buy_volume_OFFSETPERCENT": 100,
//"DEFAULT_initial_cost_OFFSETPERCENT": -50, //"DEFAULT_initial_cost_OFFSETPERCENT": -50,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -50, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -50,
"DEFAULT_trailing_buy_OFFSETPERCENT": 25, "DEFAULT_trailing_buy_OFFSETPERCENT": 25,
"DEFAULT_trailing_profit_OFFSETPERCENT": -25 "DEFAULT_trailing_profit_OFFSETPERCENT": -25
}, },
"DCAProperties": { "DCAProperties": {
//"DEFAULT_DCA_rebuy_timeout_OFFSETPERCENT": 100, //"DEFAULT_DCA_rebuy_timeout_OFFSETPERCENT": 100,
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 25,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50 "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -50
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
@ -147,14 +147,14 @@
], ],
"PairsProperties": { "PairsProperties": {
"max_trading_pairs_OFFSET": -1, "max_trading_pairs_OFFSET": -1,
//"DEFAULT_initial_cost_OFFSETPERCENT": -25, //"DEFAULT_initial_cost_OFFSETPERCENT": -25,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -25, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": -25,
"DEFAULT_trailing_buy_OFFSETPERCENT": 10, "DEFAULT_trailing_buy_OFFSETPERCENT": 10,
"DEFAULT_trailing_profit_OFFSETPERCENT": -10 "DEFAULT_trailing_profit_OFFSETPERCENT": -10
}, },
"DCAProperties": { "DCAProperties": {
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": 10,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": -10,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
@ -180,14 +180,14 @@
], ],
"PairsProperties": { "PairsProperties": {
"max_trading_pairs_OFFSET": 1, "max_trading_pairs_OFFSET": 1,
//"DEFAULT_initial_cost_OFFSETPERCENT": 10, //"DEFAULT_initial_cost_OFFSETPERCENT": 10,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 10,
"DEFAULT_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_A_sell_value_OFFSETPERCENT": 10 "DEFAULT_A_sell_value_OFFSETPERCENT": 10
}, },
"DCAProperties": { "DCAProperties": {
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 10,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
@ -212,14 +212,14 @@
], ],
"PairsProperties": { "PairsProperties": {
"max_trading_pairs_OFFSET": 2, "max_trading_pairs_OFFSET": 2,
//"DEFAULT_initial_cost_OFFSETPERCENT": 20, //"DEFAULT_initial_cost_OFFSETPERCENT": 20,
//"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20, //"DEFAULT_initial_cost_percentage_OFFSETPERCENT": 20,
"DEFAULT_trailing_buy_OFFSETPERCENT": -10, "DEFAULT_trailing_buy_OFFSETPERCENT": -10,
"DEFAULT_A_sell_value_OFFSETPERCENT": 20 "DEFAULT_A_sell_value_OFFSETPERCENT": 20
}, },
"DCAProperties": { "DCAProperties": {
"DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20, "DEFAULT_DCA_trailing_buy_OFFSETPERCENT": -20,
"DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20, "DEFAULT_DCA_trailing_profit_OFFSETPERCENT": 20,
}, },
"IndicatorsProperties": { "IndicatorsProperties": {
} }
@ -253,9 +253,9 @@
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_trading_enabled": false, "DEFAULT_trading_enabled": "false",
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
}, },
// ----------------------------- // -----------------------------
@ -267,7 +267,7 @@
"MarketTrendName": "1h", "MarketTrendName": "1h",
"MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market "MarketTrendRelation": "Relative", // The relation of the single market trend. Relative = Single market
// trend compared relative to the market trend // trend compared relative to the market trend
// Absolute = Single market trend viewed on its own // Absolute = Single market trend viewed on its own
"MinChange": 8 "MinChange": 8
}, },
{ {
@ -284,12 +284,12 @@
"OffTriggers": [ "OffTriggers": [
{ {
"HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting "HoursSinceTriggered": 3 // Any coin that triggers this setting, will remain under this setting
// for 3 hours, since the last time it triggered. // for 3 hours, since the last time it triggered.
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
}, },
// ----------------------------- // -----------------------------
@ -309,8 +309,8 @@
} }
], ],
"PairsProperties": { "PairsProperties": {
"DEFAULT_sell_only_mode_enabled": true, "DEFAULT_sell_only_mode_enabled": "true",
"DEFAULT_DCA_enabled": false "DEFAULT_DCA_enabled": "false"
} }
} }
] ]