Rejected Sell Trades Can Lose 10% Of Your Portfolio... Or More
#5
I'm glad we're able to figure out that Kraken uses string instead of float. 

I think I know why the trade executes (post to the order book) on Kraken. Although I can't open a Kraken account, I'm glad they have no restriction on accessing their interface. 
[Image: attachment.php?aid=333]

Looking at the spread for ETH/EUR, there's a difference of 21 cents between the bids and asks. So adding 0.03 would just put you on top of the order book, instead of trading across the book. I underestimated how big a spread can be for different exchanges even for fiat/crypto trade pairs. Since we are aiming to get the "rejected" trade error, we should go for as high a number as possible, adding 10% to the price of crypto should absolutely put the order across the book. So a r(Number(ticker.bid)*1.1) should do the trick.


Attached Files
.png   Screen Shot 2019-01-16 at 10.01.33 AM.png (Size: 288.59 KB / Downloads: 146)
If it isn't crypto, it isn't worth mining, it isn't worth speculating.
https://www.youtube.com/c/crypto49er
  Reply


Messages In This Thread
RE: Rejected Sell Trades Can Lose 10% Of Your Portfolio... Or More - by crypto49er - 01-16-2019, 03:21 PM

Forum Jump:


Users browsing this thread: