You are viewing a single comment's thread from:

RE: BlockTrades adds support for directly buying/selling STEEM

in #steem9 years ago

This question is not really as simple to answer as it might sound. The pricing algorithm is one of the most important parts of an "instant exchange" system such as BlockTrades, because it's a vulnerability point that can potentially be exploited by a clever hacker attempting market manipulation. I know of at least one instant exchange (not us) who suffered losses because of pricing problems. This is one of the reasons why we keep this code closed source. It's also not "fixed in stone" and we do occasionally make changes to the algorithm, although that doesn't happen very often.

We use a pretty complicated algorithm to compute our base rates (a good part of the computational load on BlockTrades is related to determining the correct price based on analysis of "live" markets across multiple exchanges and across hundreds of markets on those exchanges). By multiple markets, I mean we look across multiple buying paths to obtain the output coin with the input coin. For example, if a user wants to buy STEEM with Bitcoin, we not only look at direct markets such as Bitcoin->STEEM, we also look at indirect paths such as BitCoin->BitShares->Steem, Bitcoin->CNY->BitShares->Steem, and many more. Our spread is also affected by the liquidity we see on all these markets. For low-liquidity markets with high spreads, this is the dominant factor in the cost differential between buying and selling a particular pair of coins on BlockTrades.

After we calculate the base spread, we can manually configure a plus/minus adjustment to the spread on individual market pairs based on our desire to hold either coin in our inventory. The system can also makes dynamic adjustments to the spread we offer based on how much of both coins we currently hold and how much we want to hold.

Finally, we also charge a fixed "transaction fee" which is basically the cost to send the output coin to a customer. This is a strictly nominal fee that we try to match to the price the output blockchain network charges us, typically 0.01 USD or less. The only reason we charge this fee is prevent an attack that tries to drain our inventory (this wouldn't gain the attacker anything even if we didn't protect against it, but some people will do anything for attention).

Sort:  

Hi
When I sell access block trade from my Steemit account and sell Steemit for bitcoin, where does the bitcoin go? I don’t have an account on block trades separate from my Steemit account. Thanks