From 9d573b51825e7dbbdc17cf9521f3a18867a12d27 Mon Sep 17 00:00:00 2001 From: HojouFotytu Date: Mon, 19 Apr 2021 11:54:00 +0900 Subject: [PATCH] Updated Common Errors (markdown) --- Common-Errors.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Common-Errors.md b/Common-Errors.md index 146ed37..71f1cc6 100644 --- a/Common-Errors.md +++ b/Common-Errors.md @@ -38,6 +38,9 @@ This usually happens when a raid takes longer than the **IntervalMinutes** you'v ## Unhandled Exception: Newtonsoft.Json.JsonReaderException Your settings.general.json file is likely missing a comma after one of your settings. You can also use a [JSON validator](https://codebeautify.org/jsonvalidator) tool to check for other errors. +## Error occurs when "Switching global settings to [global setting name]" +"FATAL - A error occurred durng the raid... System.InvalidOperationException Sequence contains no elements..." indicates that PTM is trying to change a parameter in your PAIRS, DCA, or INDICATORS file that is located on the very first line of your default settings file. Insert a few blank (or commented) lines at the top of your default setting file to fix this. + ## Expected keyword (True, False, and, or) but found... This means you are using a buy/sell FORMULA in your PT settings, but the logic of your formula is incorrect. Please ask on the PT discord to make sure your formula is correct. If it is, but you still get this error be sure you are using spaces between all your arguments: eg., "(A && B) || (A && C)"