Skip to content

Releases: PTMagicians/PTMagic

PTM 2.8.5 -- Empty Month Fix

14 Apr 00:05
cd38dba
Compare
Choose a tag to compare

> Overview

This release addresses an error that occurred on DashboardBottom and the SalesAnalyzer page, when a sales log had a full month without any sales.

> 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

> Changes

  • Fixed a nullobject error that occurred when building monthly sales data -- if a month has zero sales, the field avgGrowth is not written to PT's sales data.

PTM 2.8.4 -- GAIN strategy error

10 Apr 10:59
1298ff0
Compare
Choose a tag to compare

> Overview

This release fixes a monitor bug that occurs when a user's sell strategies don't include a GAIN strategy.

> 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

> Bug Fix

  • Fixed a nullobject error that occurred in DashboardTop if GAIN wasn't one of the sell strategies.

> Other changes

  • Removed the word "Live" from the TCV Trend chart, because it was redundant -- all charts are "live." And it was repetitive. And it wasn't necessary. So it was removed.

PTM 2.8.3 -- Analyzer Logic & Live TCV Chart

07 Feb 07:11
111c1b1
Compare
Choose a tag to compare

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.

PTM 2.7.1 -- Sales data re-sourcing

21 Jan 08:49
aaf8c2f
Compare
Choose a tag to compare

> Overview

This release makes numerous changes to the PTMagic Monitor, primarily how sales data is acquired and displayed.

WARNING: Manual transaction functionality has been completely removed. If you have added manual transactions, see the details below 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

  • The duplication and parsing of sales log data, and the calculations required for its usage throughout PTMagic has been removed. Larger sales logs were causing significant performance issues in various areas of the monitor. Instead, pre-calculated daily, weekly, and monthly sales totals, profit totals, gain calculations, and top markets are all pulled directly from various endpoints in PT's API. The one downside to this is that browsing individual sales on the Sales Analyzer page is no longer possible. Other options were considered, but the significant development effort required to maintain a complete copy of sales records in PTMagic for this one purpose doesn't serve the software's primary function as a market analyzer.

  • Manual transactions are no longer used in any of the sales or profit data displayed. The Manual Transaction page has been completely removed. All balance and transaction data is now pulled from PT's API. PT currently has no method to to track balance changes since they have no impact on profit calculations. Now that all of PTMagic's displayed data is being acquired directly from the PT API, there is no longer a need to track manual balance transactions. If you have manual transactions entered in PTMagic that you wish to preserve for your own record-keeping, please make a note of them before upgrading.

  • Free Currency Converter functionality and settings for the user's local fiat currency has been removed. The user's fiat currency and live currency conversion rates are now pulled from PT's API.

> Other changes to functionality

  • Removed the "Remember Me" checkbox on the login page. Most browsers now require https connectons to store cookies securely, so it likely wasn't working for most users. Storing a secure cookie would require all users of PTMagic to acquire and install an SSL certificate on the machine hosting PTMagic.

  • Starting value removed from settings page. Start balance is now pulled from PT API.

  • Fixed delay in chart redrawing on Bottom dashboard. Anti-memory leak code to flush chart data with every refresh modified to only occur with every 10 refreshes.

  • Added a new setting to the monitor section to allow users to specify number of days shown on dailyPNL chart on the Dashboard.

  • Removed forced rebuild of settings.general.json on logon page. It was causing some issues where manual changes to the settings file would be preserved.

  • Most APIcalls to PT have been changed to streaming, allowing connections to be closed when required data has been acquired, rather than retrieving and parsing complete, but unneeded datasets. This reduces bandwidth as well as speeds up data acquisition

  • Refactored some code in various places for CPU and memory efficiency.

  • Charts will no longer show empty data points prior to available data. Ranges are restricted to earliest historical data.

  • Fixed market trend and daily profit charts to show data according to the user's timezone offset.

  • Monthly averages on Dashboard Sales Analysis chart now use a weighted average based on the number of days in a calendar month, rather than an arbitrary value of 30.

  • Added a new Daily TCV chart to the Sales Analyzer page. This chart shows the TCV value at the end of each day, as recorded by PT.

  • Added 1 week to TCV prediction chart on Sales Analyzer page.

  • Top Markets no longer shows gain. This data is non-existant in the PT API, and would require parsing the complete sales log to acquire.

  • Added buys to Daily Sales chart on Market Analyzer page. Changed from line-chart to bar-chart for easier readability.

  • Daily Buys/Sales chart limited to 30 days. PT API doesn't provide any data beyond this period.

  • Last X Days table on Sales Analyzer page limited to 30 days. PT API doesn't provide any data beyond this period.

  • Extended the session duration from 15 minutes to 30 minutes, which means any period of inactivity using the Monitor beyond 30 minutes will require users to re-enter their password.

> Cosmetic Changes

  • Renamed "Balance Prediction" to "TCV prediction"

  • Changed wording of graph interval setting in monitor settings for clarity

  • Changed tooltip for TCV on Sales Analyzer page

  • Changed "Total Account Value" to "Total Current Value" to match PT's wording

  • Changed colors of strategies in PBL and Positions tables for better readability. If the change doesn't propogate, users might have to manually update the file "/Monitor/wwwroot/assets/css/style.css".

  • Removed info strategy icon for "FORM" (formula). First introduced when sell formulas became a new option in PT years ago -- no longer provides useful infomation.

  • Added tooltip to Active Settings on Status Summary page to indicate that dynamic values in PT don't show.

  • Removed Active Buy Strategies and Sell Strategies from status summary page. They no longer work reliably with recent versions of PT.

  • Removed fiat currency symbol from each value in Sales Overview (the column title is the fiat currency).

  • Added new columns and rows in various tables to include Funding Fees (futures exchange only). Fees are deducted before calculating fiat totals.

  • PT doesn't provide last 30 days sales data in stats api, only the current and last month. Changed Sales Overview to show current month and last month instead.

  • Changed profit column title to include the name of the trading market (BTC, USDT, etc)

  • Removed multiple instances of Dashboard Bottom timer spinner. Now only asingle spinner on the center chart (asset distribution donut chart)

  • Added wording to the chart timeframe settings in monitor settings, to warn user about performance impacts

  • Added titles and removed y-axis description, to market trends and daily profit charts

  • Added tooltips to Dashboard Bottom charts to indicate available data and current user settings

  • Fixed resizing/layout issues on Satus Summary page.

  • Added listening events on chart scripts to try to reduce tooltip artifacts

  • Fixed Dashboard Bottom profit chart currency key to match market currency

  • Sales Analyzer page sales analysis table changed incorrect fiat

  • All fiat values are now rounded to the nearest integer

  • Added paranthetical info to some charts and tables on Sales Analyzer page

  • Fixed an issue with some charts not resizing when browser window is resized

  • Rearranged the layout of the charts and tables on the Sales Analyzer page, so all charts come first

  • Various adjustments to the wording on some tables for better layout on very small screens

  • Added a clearer tooltip for refresh seconds on monitor settings

PTM 2.6.1 -- .NET 7 and bug fixes

01 Jul 10:22
aaf8c2f
Compare
Choose a tag to compare

> Overview

This release includes bug fixes, and changes for Binance Futures.

IMPORTANT: PTMagic now REQUIRES .NET 7

> 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

> Changes

  • Setting "Max Dashboard Buy Entries" to zero, via the GUI or the monitor settings file, will completely hide the Possible Buy List on the PTMagic dashboard. It has no effect on your actual possible buy list in Profit Trailer.

  • Increased throttling for the initial collection of market data beyond six hours to avoid IP bans from Binance

  • Fixed an issue causing Pending orders to break DashboardTop

  • Fixed an issue where coins in Watchmode or Pending were not displaying their current profit value

  • Made a change to prevent Pending Buy orders from showing up in the Pairs/DCA/Pending list on DashboardTop

  • Any coin pairs on Binance Futures that do not end with the base market specified by Profit trailer (eg., USDT) will be ignored by PTMagic. This fixes an issue that allowed data for pairs from other markets, including quarterly contracts, to be collected and used to create trends, display on the market analyzer page, and written to Profit Trailer's settings.

PTM 2.5.12 -- Speed, Bugs, and Multiple Bots

04 Sep 02:10
72e764a
Compare
Choose a tag to compare

> Overview

This release includes speed improvements, bug fixes, and the abilty to send settings to multiple bots.

> Compatibility

This version of PTMagic is not compatible with versions of Profit Trailer prior to 2.5!

> 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

Settings

  • If you are updating from a much older version of PTMagic, check the releases since your current version for any required changes to the settings files.

> Changes

  • Fixed an issue when calculating profits while shorting.

  • Global setting name in the Ticker is now colored red if the bot is shorting.

  • You can now send settings from a single PTMagic instance, to multiple Profit Trailer bots. In addition to the required line, "ProfitTrailerMonitorURL" in settings.general.json, you can add a second optional line: "ProfitTrailerMonitorURLXtra" with a comma separated list of PT URLs. Example: "ProfitTrailerMonitorURLXtra": "http://localhost:8181/, http://localhost:8182/, http://localhost:8183/". All PT instances must use the same ProfitTrailerServerAPIToken and ProfitTrailerDefaultSettingName.

  • Made changes to the code to improve the speed when building market data

  • Fix for supporting new Telegram library.

  • Fixed an issue with PT2.5 that caused conditional formulas to be incorrectly parsed by the StrategyHelper, causing a display error on the Dashboard PBL and PAIRS lists.

  • Added code to make sales data in PTMagic compatible with the new database paging method used in PT2.5. This makes this version of PTMagic incompatible with prior versions of Profit Trailer.

  • Fixed an issue where UI requests for last runtime data returned an error while the file was being written by the analyzer.

PTM 2.5.12 BETA -- Speed, Bugs, and Multiple Bots

22 Aug 07:19
72e764a
Compare
Choose a tag to compare

> BETA

This is a beta release for testing. Changes to how PTM reads the new data format for sales data in PT2.5 public beta means this version of PTMagic will not work with Profit Trailer 2.4.x.

> Overview

This release includes speed improvements, bug fixes, and the abiltiy to send settings to multiple bots.

> 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.4.x and above

.Net

Settings

  • If you are updating from a much older version of PTMagic, check the relases since your current version for any required changes to the settings files.

> Changes

  • You can now send settings from a single PTMagic instance, to multiple Profit Trailer bots. In addition to the required line, "ProfitTrailerMonitorURL" in settings.general.json, you can add a second optional line: "ProfitTrailerMonitorURLXtra" with a comma seperated list of additional PT URLs. Example: "ProfitTrailerMonitorURLXtra": "http://localhost:8181/, http://localhost:8182/, http://localhost:8183/". All PT instances must use the same ProfitTrailerServerAPIToken and ProfitTrailerDefaultSettingName.

  • Made changes to the code to improve the speed when building market data

  • Fix for supporting new Telegram library.

  • Fixed an issue with PT2.5 public beta that caused conditional formulas to be incorrectly parsed by the StrategyHelper, causing a display error on the Dashboard PBL and PAIRS lists.

  • Added code to make sales data in PTMagic compatible with the new database paging method used in PT2.5 public beta. Sales are no longer limited to the last 25 records.

  • Fixed an issue where UI requests for last runtime data returned an error while the file was being written by the analyzer.

PTM 2.5.11 -- Minor Bug Fixes

21 Apr 11:26
06a6a83
Compare
Choose a tag to compare

> Overview

This release adds a few minor fixes.

> 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.4.x and above

.Net

Settings

  • If you are updating from a much older version of PTMagic, check the relases since your current version for any required changes to the settings files.

> Changes

  • Made all fields for Application and Monitor settings editable via the GUI

  • Removed RootUrl from settings page since it served no purpose

  • Fixed a bug that prevented changes to Analyzer Chart on the settings page from updating correctly

  • Merged target and profit columns on the Dashboard pairs list to better fit devices with very small screens

  • Updated log messages for Testmode and Disabled mode for greater clarity.

  • Minor updates to the default settings.analyzer file

PTM 2.5.10 -- Poloniex Ignore/Allow bug fix

10 Apr 04:37
06a6a83
Compare
Choose a tag to compare

> Overview

This release addresses a bug for Poloniex users.

> 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.4.x and above

.Net

Settings

  • If you are updating from a much older version of PTMagic, check the relases since your current version for any required changes to the settings files.

> Changes

  • Fixed a bug that prevented Ignored/Allowed markets to work correctly with the Poloniex exchange.

PTM 2.5.9 -- Bug Fixes

02 Apr 02:31
06a6a83
Compare
Choose a tag to compare

> Overview

This release addresses a few minor bugs.

> 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.4.x and above

.Net

Settings

  • If you are updating from a much older version of PTMagic, check the relases since your current version for any required changes to the settings files.

> Changes

  • Changed the market data throttle limit to avoid API bans on Binance from 200 to 50 hours.

  • Fixed an issue with the Threshold warning indicator on the Market Analyzer page. It was showing incorrectly for any coin above zero, when Threshold was ommitted or set to zero.

  • Further changes to Ignored/Allowed Markets matching logic: rather than checking for the coin name as a substring of the coinpair, matching is now exact. For example, it is no longer the case that ignoring/allowing "AVA" will also accidentally ignore/allow "AVAX". Ignored/Allowed fields allow the user to specify only the coin, or to continue to specify the full coinpair (ie., AVA or AVAUSDT are both allowed).