mehtadone / PTFeeder

Official GitHub for ProfitTrailer's best buddy, PT Feeder. Be sure to visit their GitHub too.
https://wiki.ptfeeder.co/
182 stars 33 forks source link

Groupings Question #311

Closed ghstaking closed 6 years ago

ghstaking commented 6 years ago

I have this basic config in my appsettings file. i was to know if this is in the correct format because i do not see these rules being applied... i obviously just threw in ridiculous combos for testing purposes. Please verify. thank you.

"LongerTermHighLowPricePercentageGrouping": { "Configs": [ { "MaxHighLowPricePercentage": "-3", "Override": { "BuyStrategy": { "ABuyStrategy": "SMAGAIN", "ABuyValue": "-0.00001", "ABuyValueLimit": "-0.000005", "BBuyStrategy": "STOCHRSI", "BBuyValue": "30", "BBuyValueLimit": "20", "CBuyStrategy": "LOWBB", "CBuyValue": "0", "CBuyValueLimit": "-3", "Weight": "80" } } },

tash649 commented 6 years ago

@damajicman3 is should be

"LongerTermHighLowPricePercentageGrouping": { "Configs": [ { "MaxHighLowPricePercentage": "-3", "Override": { "ABuyStrategy": "SMAGAIN", "ABuyValue": "-0.00001", "ABuyValueLimit": "-0.000005", "BBuyStrategy": "STOCHRSI", "BBuyValue": "30", "BBuyValueLimit": "20", "CBuyStrategy": "LOWBB", "CBuyValue": "0", "CBuyValueLimit": "-3", "Weight": "80" } } ] }

tash649 commented 6 years ago

@damajicman3 image

mehtadone commented 6 years ago

@damajicman3 yes, as @tash649 said, the formatting needs to be:

"LongerTermHighLowPricePercentageGrouping": {
    "Configs": [
      {
        "MaxHighLowPricePercentage": "-3",
        "Override": {
          "ABuyStrategy": "SMAGAIN",
          "ABuyValue": "-0.00001",
          "ABuyValueLimit": "-0.000005",
          "BBuyStrategy": "STOCHRSI",
          "BBuyValue": "30",
          "BBuyValueLimit": "20",
          "CBuyStrategy": "LOWBB",
          "CBuyValue": "0",
          "CBuyValueLimit": "-3",
          "Weight": "80"
        }
      }
    ]
  }
ghstaking commented 6 years ago

thanks!!!