19 settings.analyzer
HojouFotytu edited this page 2024-02-05 14:54:30 +09:00

This is a description of the analyzer settings of the Profit Trailer Magic application. A guide for editing JSON files can be found here.


Market Trends | Global Settings | Single Market Settings


MarketAnalyzer


StoreDataMaxHours

Number of hours to store market data.

Default: 24
Expected values: Integer

IntervalMinutes

Interval in minutes for PTMagic to run the analyzer, to check market trends and triggers

Default: 5
Expected values: Integer

ExcludeMainCurrency

Excludes the main currency (for example BTC) from market trend analysis on CoinMarketCap

Default: true
Expected values: true, false

MarketTrends

A collection of market trends.

Name

UNIQUE market trend name (to be referenced by your triggers below)

Expected values: String

Platform

Platform to get prices from. It's always best to use "Exchange" for this, to pull price data directly from the market you are trading on your exchange. But sometimes you might need data for a trend that is not available in the market you are trading on your exchange, so you will want to use CoinMarketCap. For example, if you are trading the BTC market (XXXBTC pairs) and you also want to analyze BTCUSD trends, you would need to use CoinMarketCap since BTCUSD is not available from your exchange when your market (in ProfitTrailer) is set to BTC (BTCUSD doesn't exist in the XXXBTC market). See CoinMarketCapAPIKey.

Expected values: CoinMarketCap, Exchange

MaxMarkets

Number of markets/pairs to analyze sorted by 24h volume in descending order.
Setting this to 0 will be equivalent to ALL. Setting this to 1, will only allow the number one coin in 24h volume.

Expected values: Integer

TrendMinutes

Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)

Expected values: Integer

DisplayGraph

Displays or hides the graph for this trend on the dashboard of your PT Magic monitor. Especially for users that are using many trends this may be useful to hide some graphs to make the diagram look less like a big mess.

Default: true
Expected values: true, false

TrendCurrency

Trend Currency to build the trend against. Usually you should use "Market" so that PTM builds trends in the markets you are trading -- eg., XXXBTC, XXXETH, XXXUSDT. If set to "Fiat", the trend will take the USD value of your main currency into account to build the trend, meaning if you are trading against BTC (XXXBTC pairs) the trend will be calculated based on the USD value of BTC.

Default: Market
Expected values: Market, Fiat

IgnoredMarkets

Comma separated list of markets you want to be ignored in this market trend.
See: Specifying Coin Pairs

Default: Empty
Expected values: Comma separated list of market pairs (BTC-ETH, BNBBTC etc.)

AllowedMarkets

Comma separated list of markets you want to be allowed in this market trend.
See: Specifying Coin Pairs
Tip: When creating a market trend limited to specific coins, MaxMarkets should be set to '0' NOT the number of coins in AllowedMarkets.

Default: Empty (Empty = All markets are allowed)
Expected values: Comma separated list of market pairs (BTC-ETH, BNBBTC etc.)

TrendThreshold

Coins exceeding this threshold (either positive or negative) will be excluded when calculating the market trend average. This can be helpful when a few coins are so extremely volatile they skew the market trend average so much that it doesn't accurately reflect the current state of the wider market, thereby preventing Global and SMS triggers from activating which otherwise would not.

Tip: You can see which coins have been excluded by this setting in the analyzer log.

Default: 0 (No coins will be excluded from the market trend averages)
Expected values: An integer representing a percentage change.

DisplayOnMarketAnalyzerList

This enables the users to hide certain market trends from the long market list on market analyzer to get a better overview while scrolling down that list

Default: true
Expected values: true, false


GlobalSettings


SettingName

UNIQUE name of your setting

Expected values: String

TriggerConnection

Define if triggers will be connected by AND or OR.

Expected values: AND, OR

Triggers

Your triggers for this setting

MarketTrendName

Reference to the market trend specified above.

Expected values: Existing market trend name

MaxChange

Maximum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

MinChange

Minimum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

PairsProperties

Properties for PAIRS.PROPERTIES

DCAProperties

Properties for DCA.PROPERTIES

IndicatorsProperties

Properties for INDICATORS.PROPERTIES


SingleMarketSettings


Each SingleMarketSetting can check either the MarketTrend, Volume, or AgeDays, but not more than one of those in any one trigger. So in addition to any market trends, if you want to check volume, or age, they must have their own trigger.

SettingName

UNIQUE name of your setting

Expected values: String

TriggerConnection

Define if triggers will be connected by AND or OR.

Expected values: AND, OR

OffTriggerConnection

Define if off triggers will be connected by AND or OR.

Expected values: AND, OR

IgnoredMarkets

Comma separated list of markets you want to be ignored in this single market setting. See: Specifying Coin Pairs

Default: Empty
Expected values: Comma separated list of market pairs (BTC-ETH, BNBBTC etc.)

AllowedMarkets

Comma separated list of markets you want to be allowed in this single market setting. See: Specifying Coin Pairs

Default: Empty (Empty = All markets are allowed)
Expected values: Comma separated list of market pairs (BTC-ETH, BNBBTC etc.)

IgnoredGlobalSettings

Comma separated list of global settings you want to be ignored in this single market setting.

Default: Empty
Expected values: Comma separated list of global settings

AllowedGlobalSettings

Comma separated list of global settings you want to be allowed in this single market setting.

Default: Empty (Empty = All global settings are allowed)
Expected values: Comma separated list of global settings

StopProcessWhenTriggered

Stops looking for other single market settings when this setting gets triggered for a market.

Default: false Expected values: true, false

Triggers

Your triggers for this setting

MarketTrendName

Reference to the market trend specified above.

Expected values: Existing market trend name

AgeDaysLowerThan

Age of a coin in days since it got added to the exchange. The age has to be lower than the amount of days specified in this trigger to be matched.

Expected values: Integer (max 100)

MarketTrendRelation

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

Expected values: Relative, Absolute

MaxChange

Maximum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

MinChange

Minimum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

Max24hVolume

Maximum 24h volume for this setting to get triggered

Expected values: Float

Min24hVolume

Minimum 24h volume for this setting to get triggered

Expected values: Float

OffTriggers

Your off triggers for this setting

MarketTrendName

Reference to the market trend specified above.

Expected values: Existing market trend name

HoursSinceTriggered

Hours since the setting was last triggered/refreshed.

Expected values: Integer

MarketTrendRelation

The relation of the single market trend.
Relative = Single market trend compared relative to the market trend
RelativeTrigger = Single market trend compared relative to price when the trigger was matched
Absolute = Single market trend viewn on its own

Expected values: Relative, RelativeTrigger, Absolute

MaxChange

Maximum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

MinChange

Minimum trend change % for this setting to get triggered (see this Guide)

Expected values: Float

Max24hVolume

Maximum 24h volume for this setting to get triggered

Expected values: Float

Min24hVolume

Minimum 24h volume for this setting to get triggered

Expected values: Float

PairsProperties

Properties for PAIRS.PROPERTIES

DCAProperties

Properties for DCA.PROPERTIES

IndicatorsProperties

Properties for INDICATORS.PROPERTIES