Skip to content

PTM 2.8.3 -- Analyzer Logic & Live TCV Chart

Compare
Choose a tag to compare
@HojouFotytu HojouFotytu released this 07 Feb 07:11
· 29 commits to master since this release
111c1b1

Overview

This release adds a new feature to the analyzer to allow boolean logic in TriggerConnection, a new chart on the dashboard "Live TCV Trend," and many small fixes and tweaks.

WARNING: Manual transaction functionality was completely removed with version 2.7.1! If you have added manual transactions, see the update notes for 2.7.1 before updating.

Update Instructions

General

  • Always follow these update instructions when updating to a new version of PT Magic.
  • This version of PT Magic only works with Profit Trailer v2.5.x and above

.Net

Major Changes

  • Global and SMS settings in the Analyzer can use complex boolean logic
    Triggers can now contain an optional field,"Tag" which can be used to create boolean equations in TriggerConnection. The old TriggerConnection logic still works ("AND or "OR"), and will ignore trigger Tags. No changes to the Analyser settings are necessary for users who want to continue using the old logic. While the GUI Analyzer Settings page will accommodate complex logic in TriggerConnection, it doesn't include Tag fields, so they must be added and managed manually in settings.analyzer.json file. Saving settings from the GUI has no effect on any existing Tag fields. If TriggerConnection logic is invalid, or enumerated Tags are missing, the analyzer will provide a warning in the console. Example:
"SettingName": "SBEAR",
"TriggerConnection": "(A&&(B||C||D)) || (B&&(C||D)) || (C&&D)",
"Triggers": [
   {
      "Tag": "A",
      "MarketTrendName": "2h",
      "MaxChange": -1
   },
   {
      "Tag": "B",
      "MarketTrendName": "4h",
      "MaxChange": -0.5
   },
   {
      "Tag": "C",
      "MarketTrendName": "8h",
      "MaxChange": -0.5
   },
   {
      "Tag": "D",
      "MarketTrendName": "12h",
      "MaxChange": -0.5
   }
 ],
  • A new chart has been added to DashboardBottom: Live TCV Trend
    After the monitor starts, the TCV reported by PT will be recorded at every Dashboard Charts Refresh interval (the refresh rate of all the charts on DashboardBottom, set in general.settings Monitor section), and accumulate over the lifetime of application session. The total timeframe the chart covers can also be set in general.settings in the Monitor section. This chart is designed to provide some insight into how your current positions are affecting your account value during periods of high volatility.

Other changes

  • Timezone setting removed from Monitor Settings. Timezone offset is now pulled from PT API.
  • Added a new setting to include a Trading View custom layout code when using Trading View is selected for coin pair links. For example, if the URL to your chart is https://www.tradingview.com/chart/AGrfHNiI/ you would enter AGrfHNiI.
  • The Ticker heart icon now shows a spinning gear icon while the analyzer is running, to give a clearer indication to users that all is well with the analyzer.
  • Added a new button to reset all SMS settings on the Manage Single Market Settings page. Clicking this button deletes the file SingleMarketSettingSummary.json that stores all SMS data from the previous Analyzer run. The file is then rebuilt on the next run.
  • If MaxDashboarBuyEntries is set to 0 to hide the table, PTMagic will stop requesting PBL data from PT, to reduce the load on both PT and PTMagic. Changes require a restart of the PTMagic Monitor.
  • Made more changes to mitigate memory leaks associated with the way DashboardBottom refreshses charts.
  • Updated the default settings file to account for all recent settings changes, to make life easier for new users.
  • Fixed an issue that prevented Monitor chart tool-tips from disappearing
  • Removed legend for Asset Distribution donut to make more space for the actual chart. users can easily get the key by hovering over the chart.
  • Some changes to how information is presented on the Dashboard PBL and Positions tables
  • Changed various montitor settings descriptions from "graph" to "chart" for consistency
  • Added relevant time units to monitor settings descriptions.
  • Modified the tooltip for "Threshold" outlier settings, for greater clarity.
  • Added a "zero" line to emphasize the zero-point on profit and market trend charts.