example analyzer

This commit is contained in:
HojouFotytu 2021-02-02 02:46:13 +09:00
parent ac5a2d2a25
commit 2721685acb
1 changed files with 61 additions and 69 deletions

View File

@ -15,31 +15,24 @@
"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": "15m", // 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": 15, // 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.
// (Allowed values are: Fiat, Market) // "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.
"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": "1h",
"Platform": "Exchange",
"MaxMarkets": 50,
"TrendMinutes": 60,
"TrendCurrency": "Market",
"DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true
},
{ {
"Name": "6h", "Name": "6h",
"Platform": "Exchange", "Platform": "Exchange",
"MaxMarkets": 50, "MaxMarkets": 50,
"TrendMinutes": 360, "TrendMinutes": 360,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 30,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
}, },
@ -49,6 +42,7 @@
"MaxMarkets": 50, "MaxMarkets": 50,
"TrendMinutes": 720, "TrendMinutes": 720,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 50,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
}, },
@ -58,6 +52,7 @@
"MaxMarkets": 50, "MaxMarkets": 50,
"TrendMinutes": 1440, "TrendMinutes": 1440,
"TrendCurrency": "Market", "TrendCurrency": "Market",
"TrendThreshold": 75,
"DisplayGraph": true, "DisplayGraph": true,
"DisplayOnMarketAnalyzerList": true "DisplayOnMarketAnalyzerList": true
} }
@ -67,6 +62,7 @@
// //
"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
@ -86,7 +82,7 @@
} }
], ],
"PairsProperties": { // Properties for PAIRS.PROPERTIES "PairsProperties": { // Properties for PAIRS.PROPERTIES
// Any valid setting from https://wiki.profittrailer.com/doku.php?id=pairs.properties 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
@ -101,10 +97,6 @@
"TriggerConnection": "AND", "TriggerConnection": "AND",
"Triggers": [ "Triggers": [
{ {
"MarketTrendName": "15m",
"MaxChange": 0
},
{
"MarketTrendName": "1h", "MarketTrendName": "1h",
"MaxChange": 0 "MaxChange": 0
}, },