@mehtadone mehtadone released this May 21, 2018 · 35 commits to master since this release

Assets 4

NOTE

Please delete your ptfeeder.db file in your /database directory of PT Feeder before starting this version

Added

  • Ability to react of TradingView alerts. See Advanced section here for more information.
  • Create your own conditions for groupings. See Advanced section here for more information.
  • Added a third MinutesToMeasureMediumTrend. Add this property in your PT Feeder section and see corresponding groupings.
  • Add ability to name appsettings with a suffix to identify the appsettings file. Only one however needs to exist in your config folder.

Changed

  • Fix an issue where market condition overrides were not applying sometimes when pair override weighing was lower.
  • Improve speed of VWAP calculation
  • Ignore whitespace when reading properties from appsettings.json
  • Fix for DcaMinBuyVolume SOM condition

Removed

  • Logging of full exception when PT settings api returns an error.

@mehtadone mehtadone released this Apr 23, 2018 · 40 commits to master since this release

Assets 4

Monday bug fix release

  • Fix an error with DcaEnabled in groupings not working. Now it works exactly the same as any other property. If DcaEnabled is a trigger, then you can offset. If you would like to set it to false, then use an override.

For example

"FolderName": "02-boring",
			"MaxTopCoinAverageChange": "0.5",
			"DcaEnabledOffset": "-100", // reduce DCA trigger by 100 percent
			"Override": {
				"DcaEnabled": "false", // sets DCAEnabled to false
				"Weight": "55"
			}
  • Fix an issue where some operating systems didn't pass SSL check, CentOS for example.
  • Fix an error where VWAP calculations was returning NaN

@mehtadone mehtadone released this Apr 20, 2018 · 48 commits to master since this release

Assets 4

**Biggest change. A fresh new wiki with all 1.5 goodness. **

For a full PT Feeder 1.4 to 1.5.0 upgrade guide see here

Added

  • Profit Trailer Version 2 API support. My personal PT v2 settings are included in the release. Thanks to CryptoGnome and Grantcause for inspiration for these settings.
    • Note UseMaxCostPercentage and UseMinBuyBalancePercentage obsolete when in PT v2 mode
  • Discord notification support. Set DiscordBotToken and DiscordChatName in hostsettings.
  • Footer functionality via appsettings.
     "Footer": {
    			"Pairs": {
    			  "BCH_B_Buy_Value": "40.0",
    			  "BCH_A_Buy_Value": "40.0"
    			},
    			"Dca": {
    			  "DEFAULT_Dca_Max_Cost": "0",
    			  "DEFAULT_Dca_Min_Buy_Volume": "400"
    			},
    			"Indicators": {
    			  "Macd_Fast_Length": "12",
    			  "Macd_Signal": "9"
    			}
    		},
    	  "IntProperties": [
    		"MinBuyVolume" // as example only, because there is preset in code for this property
    	  ],
    	  "PositiveProperties": [
    		"TrailingBuy" // as example only, because there is preset in code for this property
    	  ] 
  • NewCoinsGrouping to allow offsets and sell only mode to be set based on the age of a coin. Possible values of TimeUnit - Minutes, Hours, Days. case-sensitive

  • New market condition triggers. MaxVwapTrendChange and MaxLongTermVwapTrendChange. This is the volume weighted average price change of the coins that are included by your filters only. (e.g MinVolume, MinPrice, whitelist)

  • New market condition triggers of MaxBaseCoinPriceChange and MaxBaseCoinLongTermPriceChange to react on rising price of your base coin.

  • New long term market condition triggers. MinBaseCoinLongTermPriceChange, MaxTopCoinLongTermAverageChange

  • Overrides. BuyStrategy override has been changed to Override. Any PT property can be overriden in this section, including sell strategy. Example config:

       "Override": {
         "SellStrategy": "HIGHBB",
    		  "SellValue": "50",
    		  "MaxBuySpread": "1.5"
        }
  • HiddenCoins list to automatically generate config for hidden coins.
  • Automatically generate Enabled pairs list instead of using ALL.
  • Log exact version number of PT Feeder on log and .properties files.
  • Log time on properties with applied servertimezoneoffset set in PT.

Changed

  • Huge refactoring to support any PT property as an offset or override.
  • Rename General section to Defaults sections. These will be mapped as DEFAULT_ in PT2 and ALL_in PT1.
  • Add Common section. These will be mapped as is with the naming convention.
  • Add PtFeeder section. These are properties that are internal to PTFeeder and not mapped to any PT property.
  • Market condition folders no longer required as indicators and DCA properties can be set from appsettings.json. You can still use folders if you wish.
  • Backward compatibility removed. Please rename:

In Defaults section:

    FolderName => Name

    Cost => MaxCost
    NumberOfPairs => MaxTradingPairs
    ExcludedPairs => ExcludedCoins
    SomOnlyPairs => SomOnlyCoins
    DcaExcluded => DcaExcludedCoins
    EnabledPairsOnly => EnabledCoinsOnly,

In Offsets:

   SellOnlyMode => SellOnlyModeEnabled
   CostOffset => MaxCostOffset
  • Grouping names now need to now end with Grouping.

    e.g MarketConditions => MarketConditionsGrouping

  • LongTermPriceChange grouping changed name to LongerTermPriceTrendChangeGrouping

  • Volatility calcuations are now calculated on over check of the market.

  • Naming convention. All PT properties can be set in the General section. No prefix will mean they get written to pairs config, Dca prefix to dca config and Indicators to the indicator config.

  • Performance improvements whilst running. Note that this will take longer shutting down now. Work in progress to improve this.

  • Fix exchange offsets not applying to ALL properties.

  • Fix USDT market not working correctly when top coin set to 1.

Removed

  • Backward support for old TrexPairsFolderLocation removed.
Pre-release

@mehtadone mehtadone released this Mar 6, 2018 · 70 commits to master since this release

Assets 3

NOTE: Please delete your database before this release

Changed

  • Potential fix for NaN error causing database and PT Feeder to end up in safe mode.
  • Additional logging to diagnose database problems.

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes.

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Feb 20, 2018 · 70 commits to master since this release

Assets 3

NOTE: Please delete your database before this release

This is a release of user requested features. A BIG changelog. There is a lot in here so only use what you want.

Hopefully it will mean that we can get some great discussions going in the strategy channels on how to use these tools.

Added

  • Buy Strategy overrides. Go nuts. You can go and specify coin specific overrides. e.g High volume coins. Use LowBB. Or change strategy on market conditions. wiki

Note offsets will still apply on BuyStrategy Overrides. The strategy with the highest weight will be used. If two have the same weight. The first will be picked.

Syntax example:

	"MaxPriceTrendPercentageChange": "0.5",
	"BuyStrategy": {
	  "BuyValue": "-0.2",
	  "BuyStrategy": "EMAGAIN",
	  "Weight": "55"
	}
  • Add a grouping called HighLowPricePercentage and LongerTermHighLowPricePercentage. wiki The math is:

      firstVariance = (high.ActualPrice - low.ActualPrice) / 2
      medianVariance = high.ActualPrice - firstVariance
      highLowPercentage = (latestActualPrice - medianVariance) / latestActualPrice * 100
    

Note that the grouping name is HighLowPricePercentage and the trigger name is MaxHighLowPricePercentage for short term time window and LongerTermHighLowPricePercentage and the trigger name is MaxHighLowPricePercentage for the longer term window.

  • Add a grouping called Exchange which allows offsets to be added depending on the Exchange name. wiki Options are Bittrex, Poloniex and Binance and the property name is called ExchangeName. For example:

      "Exchange": {
                   "Configs": [{
                       "ExchangeName": "Bittrex",
                       "CostOffset": "-50",
                       "MaxPairsOffset": "-50",
                       "MinBuyVolumeOffset": "100"
                     },
                     {
                       "ExchangeName": "Poloniex",
                       "CostOffset": "-25",
                       "MaxPairsOffset": "-25",
                       "MinBuyVolumeOffset": "0"
                     }
                   ]
                }
    
  • Add upside - downside volatility difference offset grouping. This is the difference between the upside and downside volatility.

         "UpsideDownsideVolatilityDifference": {
              "Configs": [
                {
                  "MaxUpsideDownsideVolatilityDifference": "0",
                  "SellOnlyMode": "true",
                  "SellValueOffset": "-20"
                }
              ]
            }
    
  • Property in General section of appsettings.json called DcaIncludedCoins. If this list has any coins, then only these will have dca enabled.

  • Add option DcaRebuyTimeout in General section of appsettings and DcaRebuyTimeoutOffset in market condition groupings.

  • Add option DcaBuyAvailableVolumeTrigger in General section of appsettings and DcaBuyAvailableVolumeTriggerOffset in market condition groupings.

  • Add option RebuyTimeout in General section of appsettings and RebuyTimeoutOffset in any grouping.

  • Add option BuyAvailableVolumeTrigger in General section of appsettings and BuyAvailableVolumeTriggerOffset in any of the groupings.

Other smaller additions

  • Make DcaMaxBuySpread, DcaSellTrigger, DcaBuyAvailableVolumeTrigger, DcaRebuyTimeout, BuyAvailableVolumeTrigger, BuyValueLimit, MaxBuySpread, MinProfit optional in General section of appsettings.json
  • Ability to add a footer directory with txt files which will be added at the end of your properties files
  • Config directory can now be moved outside of the PT Feeder install directory. It will read an environment variable called PTFEEDER_CONFIG_DIRECTORY

Changed

  • Min and Max trailings are only respected now when CalculateTrailingValues is true. If it is false, then it works like any other offset and you need to look at your pairs.properties file is and use TrailingBuy and TrailingProfit in the General section of your appsettings.json.

  • Exchange is now read from PT's application.properties file. ProfitTrailerFolder1 to 4 can be added in hostsettings.json and need to point to the root of your Profit Trailer directory. Note this is backward compatible.

  • The following variables in appsettings.json have been renamed.

      Cost => MaxCost
      NumberOfPairs => MaxTradingPairs
      EnabledPairsOnly => EnabledCoinsOnly
      ExcludedPairs => ExcludedCoins
      SomOnlyPairs => SomOnlyCoins
      DcaExcluded = DcaExcludedCoins
    

Note they are backward compatible for the time being. The old names will still work.

Other smaller changes

  • Add a retry on first NaN result returned. Should reduce the NaN issue but probably won't fix totally yet.
  • Friendly error message when port is already in use. Note that ServerUrls has been removed from the default config now but you can add it back in if you need it.
  • Offset ALL properties based on market condition config
  • Add some comments on the pairs.properties ALL properties

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes but it is reccomended to use the new property names for clarity and the new hostsettings.json folder format for ease of use.

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Feb 6, 2018 · 70 commits to master since this release

Assets 3

NOTE

If you get any database errors on startup, delete the database file which is in database/ptfeeder.db and restart PTF.

Changed

  • Another fix for NaN errors on new binance coins
  • Websocket memory usage improvements

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Feb 6, 2018 · 70 commits to master since this release

Assets 3

NOTE

If you get any database errors on startup, delete the database file which is in database/ptfeeder.db and restart PTF.

Changed

  • Potential fix for NaN errors on new binance coins

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Feb 6, 2018 · 70 commits to master since this release

Assets 3

NOTE

If you get any database errors on startup, delete the database file which is in database/ptfeeder.db and restart PTF.

Changed

  • Binance to use websockets to help reduce IP bans.
  • Fix for sell_value not going below 0 for highbb sell strategy
  • Fix for Long Term history not getting properly queried on startup
  • Refresh pairs on startup as not to query delisted pairs.
  • Change PT config files on market condition change or every 5 times. Can be configured. wiki
  • Clearer error logs and shutdown of app on error thrown.
  • Fix for using BNB base currency throwing an error when querying for price change
  • Use a default server port of 5001 if none is specified in hostsettings.json
  • Typo on mandatory log line

Added

  • Live config changes - Change appsettings.json and hostsettings.json file whilst PT Feeder is running.
  • Common folder that can contain dca.txt, pairs.txt and indicators.txt which is always copied over to Profit Trailer .properties files. See bundled settings for an example.
  • Autobackup of Profit Trailer properties files on startup by setting "BackupTradingFiles": "true" on hostsettings.json.
  • Add ability to offset min_buy_volume and min_buy_price using MinBuyVolumeOffset and MinBuyPriceOffset

Removed

  • Remove bat file. Instructions to create your own are on the wiki

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Jan 17, 2018 · 73 commits to master since this release

Assets 3

NOTE

If you get any database errors on startup, delete the database file which is in database/ptfeeder.db and restart PTF.

Changed

  • Fix for calculated trailing values
  • Changed default settings to be super simple

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.

@mehtadone mehtadone released this Jan 16, 2018 · 73 commits to master since this release

Assets 3

NOTE

If you get any database errors on startup, delete the database file which is in database/ptfeeder.db and restart PTF.

Changed

Upgrade Instructions

This release requires no appsettings.json or hostsettings.json changes

See wiki

Rollback Instructions

  1. Download the previous release zip file.
  2. Extract into new folder.
  3. Edit hostsettings.json, appsettings.json and txt files to your strategy.
  4. Start PT Feeder.