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

Doing the opposite of what is in the appsetings #263

Closed kj3407 closed 6 years ago

kj3407 commented 6 years ago

I am running EMA GAIN and the buy value is -2.3, this morning it order BCC on Bittrex, I look at my charts and could not figure why it bought it, then I reverse the setting in trading view and I was right, it ordered it at +2.3 but it should not have, is this a problem with profit trailer or pt feeder? Here is a copy of my pt feeder appsettings please help me with this: { "General": { "BaseCurrency": "BTC", "BuyStrategy": "EMAGAIN", "BuyValue": "-2.3", "Cost": "1.6", "DcaEnabled": "-3", "DcaMaxBuySpread": "1.5", "DcaMaxBuyTimes": "2", "DcaMaxCost": "0.15", "DcaMinBuyBalance": "10", "DcaSellTrigger": "0.6", "DcaSellStrategy": "GAIN", "DcaSellValue": "0.55", "DcaTrailingBuy": "0.15", "DcaTrailingProfit": "0.15", "ExcludedPairs": "BURST,ZEC,RISE,FUN,SAFEX,ZCL,BNB,BTS,BTA,DAR,DRACO,SLING,CRYPT,DOGE,UNO,SC,INCNT,NAUT,SJCX,NOTE,TKN,TIME,TRIG,MTL,DGD,DCT,CPC,FLDC,COVAL,BTCD,BCY,AUR,GLD,XMG,GBYTE,NBT,AMP,EXCL,BLK,SLS,SYNX,PKB,FLO,RISE,1ST,CLUB,QWARK,GBG,RCN,EMC2,GRS,QRL,BITB,2GIVE,BLITZ,ERC,EGC,FAIR,WAX", "SomOnlyPairs": "BTC-WAX, BTC-WINGS, BTC-ZCL, BTC-AGRS", "EnabledPairsOnly": "", "MaxBuySpread": "1.0", "MaxTrailingBuy": "0.3", "MaxTrailingProfit": "0.15", "MinBuyBalance": "51", "MinBuyPrice": "0.00005", "MinBuyVolume": "500", "MinProfit": "0.55", "MinTrailingBuy": "0.01", "MinTrailingProfit": "0.01", "MinutesForLongerTermTrend": "720", "MinutesToMeasureTrend": "30", "NumberOfPairs": "4", "SellStrategy": "GAIN", "SellValue": "0.75", "TopCurrenciesToCheck": "10" }, "MarketConditions": { "Configs": [

        {
            "FolderName": "01-superbear",
            "MaxTopCoinAverageChange": "-2",
            "DcaEnabled": "false",
            "BuyValueOffset": "200",
            "TrailingProfitOffset": "-20",
            "SellValueOffset": "-30",
            "MinProfitOffset": "-20",
            "MaxBuySpreadOffset": "-20"
        },
        {
            "FolderName": "02-bear",
            "MaxTopCoinAverageChange": "-0.5",
            "DcaTrailingBuyOffset": "25",
            "DcaTrailingProfitOffset": "-25",
            "DcaEnabled": "30",
            "DcaSellValueOffset": "-10",
            "BuyValueOffset": "25",
            "MaxPairsOffset": "-20",
            "MaxBuySpreadOffset": "-20"
        },
        {
            "FolderName": "03-boring",
            "MaxTopCoinAverageChange": "2.5",
            },
        {
            "FolderName": "04-bull",
            "MaxTopCoinAverageChange": "5",
            "DcaTrailingBuyOffset": "-10",
            "DcaTrailingProfitOffset": "10",
            "DcaSellValueOffset": "10"
        },
        {
            "FolderName": "05-superbull",
            "MaxTopCoinAverageChange": "1000",
            "DcaTrailingBuyOffset": "-20",
            "DcaTrailingProfitOffset": "20",
            "DcaSellValueOffset": "20",
            "MinBuyBalanceOffset": "5",
            "MaxPairsOffset": "20"
        }
    ]
},
"Price": {
    "Configs": [{
            "MaxPrice": "0.0001",
            "BuyValueOffset": "50",
            "CostOffset": "-5"
        },
        {
            "MaxPrice": "0.0005",
            "BuyValueOffset": "50",
            "CostOffset": "-5"
        }
    ]
},
"Volume": {
    "Configs": [{
            "MaxVolume": "100",
            "BuyValueOffset": "30",
            "CostOffset": "-20"
        },
        {
            "MaxVolume": "500",
            "BuyValueOffset": "20",
            "CostOffset": "-10"
        },
        {
            "MaxVolume": "1000",
            "MinBuyBalanceOffset": "-20"
        }
    ]
},
"PriceTrendChange": {
    "Configs": [{
            "MaxPriceTrendPercentageChange": "-6",
            "DcaEnabled": "false",
            "sellonlymode": "true",
            "TrailingProfitOffset": "-10",
            "SellValueOffset": "-30",
            "MaxBuySpreadOffset": "-20"
        },
        {
            "MaxPriceTrendPercentageChange": "-2",
            "BuyValueOffset": "100",
            "CostOffset": "5",
            "SellValueOffset": "-10"
        },
        {
            "MaxPriceTrendPercentageChange": "5"
        },
        {
            "MaxPriceTrendPercentageChange": "20",
            "TrailingBuyOffset": "-25",
            "TrailingProfitOffset": "5"
        },
        {
            "MaxPriceTrendPercentageChange": "15000",
            "DcaEnabled": "200",
            "BuyValueOffset": "10",
            "TrailingProfitOffset": "-10",
            "SellValueOffset": "-30",
            "MaxBuySpreadOffset": "-20"
        }
    ]
},
"LongerTermPriceChange": {
    "Configs": [{
            "MaxPriceTrendPercentageChange": "-10",
            "DcaEnabled": "200",
            "BuyValueOffset": "10",
            "TrailingProfitOffset": "-10",
            "SellValueOffset": "-30",
            "MaxBuySpreadOffset": "-20"
        },
        {
            "MaxPriceTrendPercentageChange": "10"
        },
        {
            "MaxPriceTrendPercentageChange": "10000",
            "DcaEnabled": "200",
            "BuyValueOffset": "10",
            "TrailingProfitOffset": "-10",
            "SellValueOffset": "-30",
            "MaxBuySpreadOffset": "-20"
        }
    ]
},
"AverageCandleSize": {
    "Configs": [{
        "MaxPercentageSizeOfPrice": "0.025",
        "SellOnlyMode": "true",
        "SellValueOffset": "-30",
        "DcaEnabled": "false"
    }]
}

}

mehtadone commented 6 years ago

Hi,

Can you check the settings for BCC on your pair.properties? You can also find this by looking at the the config/pairs page in your PT monitor

kj3407 commented 6 years ago

let me check

kj3407 commented 6 years ago

this is what it looks like: BTC-BCC_trading_enabled = true BTC-BCC_DCA_enabled = -3 BTC-BCC_buy_strategy = EMAGAIN BTC-BCC_buy_value = -2.3 BTC-BCC_sell_value = 0.75 BTC-BCC_trailing_profit = 0.137 BTC-BCC_trailing_buy = 0.113 BTC-BCC_max_cost_percentage = 1.6 BTC-BCC_min_buy_balance_percentage = 40.8 BTC-BCC_min_buy_volume = 500 BTC-BCC_min_buy_price = 0.00005 BTC-BCC_max_buy_spread = 1 BTC-BCC_min_profit = 0.55

mehtadone commented 6 years ago

Your buy value is correct there so PTF has written it correctly. Why it bought at a positive emagain I unfortunately can't help you with as the buying is done through PT. I can just make sure that PTF is writing the correct values in your PT config file

kj3407 commented 6 years ago

I did check my pairs, so I thought to put back my original pairs,dca and indicators, because i has been acting real strange, I would not give me more the 3 possible buys, and as i check trading view, things I though it should say trailing, it was not doing that. When I replace those files, it started acting like it use to, then I turn back on feeder, it change the files back to the way they were . i did just now delete the ptfeeder files in the data base, I will see how that works, but it is feeder.

mehtadone commented 6 years ago

Feeder generates the config files so it might be that the config you originally were running and that feeder is generating is different.

The only things that would affect an initial buy are your buy strategy, your buy value and your trailing buy. Are they the same in both files? The one that feeder generates and the original one you used?

kj3407 commented 6 years ago

by the way, those (I) was meant to be( it) like : it would not give me more the 3 possible, and It has been acting strange

mehtadone commented 6 years ago

Also compare your minbuyvolume and MinBuyPrice.

kj3407 commented 6 years ago

Hold on, i waiting for feeder to finish lodding pairs, I will check

kj3407 commented 6 years ago

Dude, I have no idea whats going on, it's just acting fucked, I going to have to do a complete reinstall of every thing, it just keep going back to the old setting no matter what i do. I can't find the problem.

kj3407 commented 6 years ago

On Sun, Mar 11, 2018 at 5:28 PM mehtadone notifications@github.com wrote:

Also compare your minbuyvolume and MinBuyPrice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mehtadone/PTFeeder/issues/263#issuecomment-372150896, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai1FrYJtFZbywJROTIfYymlfBrXeQepmks5tdZcUgaJpZM4SlvXq .

Thanks methadone, I'll check and try a few things, it's just weird that it was working fine then it just shut down all pairs, I guess I'll have to start all over, that's a pain but I have not made a trade except that one for 3 days, just odd -- Ken Wilder Localmarketingexpress.com- mobile marketing 614-439-2423