Bitcoin Forum
April 26, 2024, 05:24:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: About trading in websites  (Read 602 times)
irongym (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 07, 2015, 12:48:51 AM
 #1

Hello,


Imagine this is the order book on btc-e:


SELL                                  BUY

1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

now, in same time

 mister A put a SELL order of 2 btc at 10 euros      AND     and mister B put a BUY order of 2 btc at 250

at what price mister a will sell is 2 btc?
at what price mister b will sell is 2 btc?

in advance thanks
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714109056
Hero Member
*
Offline Offline

Posts: 1714109056

View Profile Personal Message (Offline)

Ignore
1714109056
Reply with quote  #2

1714109056
Report to moderator
arallmuus
Legendary
*
Offline Offline

Activity: 2520
Merit: 1403



View Profile WWW
June 07, 2015, 08:11:47 AM
 #2

Hello,


Imagine this is the order book on btc-e:


SELL                                  BUY

1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

now, in same time

mister A put a SELL order of 2 btc at 10 euros      AND     and mister B put a BUY order of 2 btc at 250

at what price mister a will sell his 2 btc?
at what price mister b will sellbuy his 2 btc?

in advance thanks

It is not clear enough if the price in the buy order and sell order is in euro or USD so I'll assume that they are in euro to make it simple and It seem pretty sick to sell it at 10 euros while there are someone buying at 220

Mr. A will sell his 2 BTC at the price of 220 and 210 , so he will get 430 euros for 2 BTC minus the trading fee from btc-e. The system doesnt allow you to sell the price lower than the buy order in the order book even if you intended to sell them for 1 euro

Mr. B will buy his 2 BTC at the price of 230 and 240, so he will spend 470 euros for 2 BTC plus the trading fee from btc-e. The system will automatically execute your buy order at the lower price since there is an order at 230 and 240 for 2 BTC .

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
XinXan
Hero Member
*****
Offline Offline

Activity: 1064
Merit: 505


View Profile
June 07, 2015, 08:17:59 AM
 #3

Hello,


Imagine this is the order book on btc-e:


SELL                                  BUY

1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

now, in same time

mister A put a SELL order of 2 btc at 10 euros      AND     and mister B put a BUY order of 2 btc at 250

at what price mister a will sell his 2 btc?
at what price mister b will sellbuy his 2 btc?

in advance thanks

It is not clear enough if the price in the buy order and sell order is in euro or USD so I'll assume that they are in euro to make it simple and It seem pretty sick to sell it at 10 euros while there are someone buying at 220

Mr. A will sell his 2 BTC at the price of 220 and 210 , so he will get 430 euros for 2 BTC minus the trading fee from btc-e. The system doesnt allow you to sell the price lower than the buy order in the order book even if you intended to sell them for 1 euro

Mr. B will buy his 2 BTC at the price of 230 and 240, so he will spend 470 euros for 2 BTC plus the trading fee from btc-e. The system will automatically execute your buy order at the lower price since there is an order at 230 and 240 for 2 BTC .

Im actually not sure if the system would automatically execute the lowest price offer, ive seen once btc sold at 100$ when the price was like 800$. As far as i know when you try to sell for a lower price a warning will pop up telling you but you can just deny it and sell at whatever price you want
arallmuus
Legendary
*
Offline Offline

Activity: 2520
Merit: 1403



View Profile WWW
June 07, 2015, 08:22:40 AM
 #4

It is not clear enough if the price in the buy order and sell order is in euro or USD so I'll assume that they are in euro to make it simple and It seem pretty sick to sell it at 10 euros while there are someone buying at 220

Mr. A will sell his 2 BTC at the price of 220 and 210 , so he will get 430 euros for 2 BTC minus the trading fee from btc-e. The system doesnt allow you to sell the price lower than the buy order in the order book even if you intended to sell them for 1 euro

Mr. B will buy his 2 BTC at the price of 230 and 240, so he will spend 470 euros for 2 BTC plus the trading fee from btc-e. The system will automatically execute your buy order at the lower price since there is an order at 230 and 240 for 2 BTC .

Im actually not sure if the system would automatically execute the lowest price offer, ive seen once btc sold at 100$ when the price was like 800$. As far as i know when you try to sell for a lower price a warning will pop up telling you but you can just deny it and sell at whatever price you want

Thats because there is a low supply for the buy order. If you intended to sell 2 btc at the price of $5 for example and there is only buy order of 1 BTC at the price of $99 and the rest of the order is at $10, Some will be sold at $99 and then some of your order will be sold at $10 instead although the price is still floating at $100 (for example)

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
June 07, 2015, 09:54:30 AM
Last edit: June 07, 2015, 10:27:09 AM by Amph
 #5

Hello,


Imagine this is the order book on btc-e:


SELL                                  BUY

1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

now, in same time

mister A put a SELL order of 2 btc at 10 euros     AND     and mister B put a BUY order of 2 btc at 250

at what price mister a will sell his 2 btc?
at what price mister b will sellbuy his 2 btc?

in advance thanks

It is not clear enough if the price in the buy order and sell order is in euro or USD so I'll assume that they are in euro to make it simple and It seem pretty sick to sell it at 10 euros while there are someone buying at 220

Mr. A will sell his 2 BTC at the price of 220 and 210 , so he will get 430 euros for 2 BTC minus the trading fee from btc-e. The system doesnt allow you to sell the price lower than the buy order in the order book even if you intended to sell them for 1 euro

Mr. B will buy his 2 BTC at the price of 230 and 240, so he will spend 470 euros for 2 BTC plus the trading fee from btc-e. The system will automatically execute your buy order at the lower price since there is an order at 230 and 240 for 2 BTC .

and where those two 2 btc 250 have gone ? there is only one btc sold at 250

if we assume that those 2 btc at 10, will be sold at 250(like it should work)

then you have

SELL                                  BUY
 
                             2 btc at 250
1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
3 btc at 250            1 btc at 200

so unless i'm missing something, it should be A, sell his btc at 470(1 at 250 and one at 220) and b simply buy it at 250 x 2, so 500

i did i mistake i mean 490 for the mister B(250+240)
Cyrus
Ninja
Administrator
Legendary
*
Offline Offline

Activity: 3752
Merit: 2948



View Profile
June 07, 2015, 01:55:16 PM
 #6

Locked. Double post. Original here: https://bitcointalk.org/index.php?topic=1083062

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!