crack00r / BitBot

Cryptoping monitor, buy, trailing stop, sell for Poloniex and Bittrex
40 stars 14 forks source link

Saw your issue on GH - turn off post-only and negative markup works. #9

Open ghost opened 6 years ago

ghost commented 6 years ago

Saw your issue on GH - turn off post-only and negative markup works.

Atleast for me it worked with -0.25 markdown_buy_pct

ghost commented 6 years ago

Also a side note - I know it's preference and all, but let me know what you think of this version vs the one you have bud.

https://github.com/MoonGem/Zenbot-CryptoPing

Check out polo.py

Basically, I figured if I launch trading my issue is going to be that either way if it doesn't sell it doesn't sell, and selling more than once on an already open order will just bug the program.

So if I buy, and don't sell, and kill trading process, you are stuck with a order still as the cancelorder function isn't called. Maybe we can collaborate and call cancelorder somehow through command line if you were interested. However, I like to keep it simple. post only off, 1 day order adjust, 1 day order auto cancel, then dump into a 0% sell command. 60s interval between commands to compensate for poloniex lag. (its really really bad.) -0.25% markdown_buy_pct on buy, 2.05% sell then if no sell after 1 day 0% sell.

ghost commented 6 years ago

Also I removed the error output killing the trade process output in sell.js and buy.js commands so no unwanted killing of your trade monitor unless the orders absolutely buy or sell. Unless you get a hard fault somewhere in engine.js.