Bitcoin Forum
November 09, 2024, 12:55:16 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: hello, question about trading  (Read 915 times)
irongym (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 07, 2015, 12:37:32 AM
 #1

Hello,

First, sorry for my english.

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
BlackSpidy
Hero Member
*****
Offline Offline

Activity: 513
Merit: 511



View Profile
June 07, 2015, 12:58:32 AM
 #2

Mister A will definitely sell his 2 bitcoin at 10 euros, minutes (maybe seconds) after placing his sell order.
Mister B will buy 2 bitcoin at a $250, quickly. Mister A is selling his bitcoin cheap. He will sell them easily quickly in the market. Mister B said he wants to buy bitcoin at $250 (more than market price). He will find someone selling at that price easily.

Think of bitcoin like you do gold. Some people sell gold for cheap, some people sell gold with a value above market price. If someone sells you a $1 (real) gold ring, you can sell it for $0.5 or $2. The price you ask for bitcoin is up to you (to buy or sell). The price people will actually buy/sell bitcoin at depends on the market's whim.

.


              ▄▄█████▄▄▄▄
       ▄▄  ▄███████████████▄▄
▄▄▄▄▄█▀ ▄█████████████████████▀█████▄▄
████▀ █████████▀ ▄▄ ▀██████▄ ▄▄▄ ▄████
█████ ▀▀███▀▀ ▄▄████▄ ▀████ ▐███▌ ████
████████▄▄▄███████████▄ ▀██▀ ▀▀▀ ▀████
████████████▀▀█▀ ▀█▀▀███▄ ▀███▄███████
█████████████ ▄███▄ ██████▄ ▀█████████
████████████ ▐█████▌ ███████▄ ▀███████
▀▀▀▀█████████ ▀███▀ ██████████▄ ▀█████
      ▀█████▄▄█▄ ▄█▄▄███████████
        ▀▀██████████████████▀██▀
           ▀▀██████▀███▌▀██▀
               ▀██▀  ▀▀
.
...REVOLUTIONIZING...
THE REAL ESTATE INDUSTRY

█ ██ ███ █████████████████████████████████ ███ ██ █




▄         ▄▄████▄▄▄
███▄     ▐████████▀
 ██████▄▄█████████
▀████████████████▌
  ███████████████
  ▀████████████▀
   ▄▄████████▀
 ▀▀▀▀██▀▀▀




▄██████████████▄
█████████▀▀▀▀███
███████▀     ███
███████   ██████
█████        ███
███████   ██████
███████   ██████
▀██████   █████▀




             ▄▄▄
        ▄▄▄█████
  ▄▄▄████▀▀▄███
▀▀████▀ ▄██████
    █ ▄███████
     ███▀█████
           ▀█▌




        ▄
  ▄▄   ██▄▄▄
 ▐██▄▄█████▀▀
█████▀▀ ███
   ███  ▄█████▌
  ▄██████▀██▌
  ▀▀▀██    ██
     ▀▀




          ▄▄▄ ▄▄▄
          █  ████
      ▄▄▄█▄▄▄▄ ▀
▄█████████████████▄
▀████▌  ███  ██████
  ███████████████▌
   ▀███▄▄▄▄▄████
    ▀▀███████▀▀
█ ██ ███ ████████████████ ███ ██ █
TOKEN SALE ENDS
...ON MAY 15...
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 07, 2015, 01:00:42 AM
 #3

Please disregard BlackSpidy's response.  He clearly doesn't understand the question.
el kaka22
Legendary
*
Online Online

Activity: 3696
Merit: 1170


www.Crypto.Games: Multiple coins, multiple games


View Profile
June 07, 2015, 01:03:29 AM
 #4

I think that the sell order of 10 euros will be executed at 220 and 210, and the 250 order will be executed at 230 and 240. It is because the exchange will find the best orders to fill up your buy/sell, and if there isn't a buy/sell suitable for your order (like one at 225), then it will create a new order at the orderbook.

█████████████████████████
███████▄▄▀▀███▀▀▄▄███████
████████▄███▄████████
█████▄▄█▀▀███▀▀█▄▄█████
████▀▀██▀██████▀██▀▀████
████▄█████████████▄████
███████▀███████▀███████
████▀█████████████▀████
████▄▄██▄████▄██▄▄████
█████▀▀███▀▄████▀▀█████
████████▀███▀████████
███████▀▀▄▄███▄▄▀▀███████
█████████████████████████
.
 CRYPTOGAMES 
.
 Catch the winning spirit! 
█▄░▀███▌░▄
███▄░▀█░▐██▄
▀▀▀▀▀░░░▀▀▀▀▀
████▌░▐█████▀
████░░█████
███▌░▐███▀
███░░███
██▌░▐█▀
PROGRESSIVE
      JACKPOT      
██░░▄▄
▀▀░░████▄
▄▄▄▄██▀░░▄▄
░░░▀▀█░░▀██▄
███▄░░▀▄░█▀▀
█████░░█░░▄▄█
█████░░██████
█████░░█░░▀▀█
LOW HOUSE
         EDGE         
██▄
███░░░░░░░▄▄
█▀░░░░░░░████
█▄░░░░░░░░█▀
██▄░░░░░░▄█
███▄▄░░▄██▌
██████████
█████████▌
PREMIUM VIP
 MEMBERSHIP 
DICE   ROULETTE   BLACKJACK   KENO   MINESWEEPER   VIDEO POKER   PLINKO   SLOT   LOTTERY
BlackSpidy
Hero Member
*****
Offline Offline

Activity: 513
Merit: 511



View Profile
June 07, 2015, 01:08:51 AM
 #5

Please disregard BlackSpidy's response.  He clearly doesn't understand the question.

So, it's a question about btc-e? Because this looks like a general question about how exchanges work. Also, I'd like to know why I'm wrong in the matter.

.


              ▄▄█████▄▄▄▄
       ▄▄  ▄███████████████▄▄
▄▄▄▄▄█▀ ▄█████████████████████▀█████▄▄
████▀ █████████▀ ▄▄ ▀██████▄ ▄▄▄ ▄████
█████ ▀▀███▀▀ ▄▄████▄ ▀████ ▐███▌ ████
████████▄▄▄███████████▄ ▀██▀ ▀▀▀ ▀████
████████████▀▀█▀ ▀█▀▀███▄ ▀███▄███████
█████████████ ▄███▄ ██████▄ ▀█████████
████████████ ▐█████▌ ███████▄ ▀███████
▀▀▀▀█████████ ▀███▀ ██████████▄ ▀█████
      ▀█████▄▄█▄ ▄█▄▄███████████
        ▀▀██████████████████▀██▀
           ▀▀██████▀███▌▀██▀
               ▀██▀  ▀▀
.
...REVOLUTIONIZING...
THE REAL ESTATE INDUSTRY

█ ██ ███ █████████████████████████████████ ███ ██ █




▄         ▄▄████▄▄▄
███▄     ▐████████▀
 ██████▄▄█████████
▀████████████████▌
  ███████████████
  ▀████████████▀
   ▄▄████████▀
 ▀▀▀▀██▀▀▀




▄██████████████▄
█████████▀▀▀▀███
███████▀     ███
███████   ██████
█████        ███
███████   ██████
███████   ██████
▀██████   █████▀




             ▄▄▄
        ▄▄▄█████
  ▄▄▄████▀▀▄███
▀▀████▀ ▄██████
    █ ▄███████
     ███▀█████
           ▀█▌




        ▄
  ▄▄   ██▄▄▄
 ▐██▄▄█████▀▀
█████▀▀ ███
   ███  ▄█████▌
  ▄██████▀██▌
  ▀▀▀██    ██
     ▀▀




          ▄▄▄ ▄▄▄
          █  ████
      ▄▄▄█▄▄▄▄ ▀
▄█████████████████▄
▀████▌  ███  ██████
  ███████████████▌
   ▀███▄▄▄▄▄████
    ▀▀███████▀▀
█ ██ ███ ████████████████ ███ ██ █
TOKEN SALE ENDS
...ON MAY 15...
irongym (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 07, 2015, 01:09:34 AM
 #6

ok but if

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 AND MISTER C put SELL ORDER 1 BTC at 20 euros and mister D a buy order of 1 btc at 245



I think that the sell order of 10 euros will be executed at 220 and 210, and the 250 order will be executed at 230 and 240. It is because the exchange will find the best orders to fill up your buy/sell, and if there isn't a buy/sell suitable for your order (like one at 225), then it will create a new order at the orderbook.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 07, 2015, 01:09:56 AM
 #7

el kaka22 is correct.

Mister A's sell order will fill against the standing BUY orders.  He will receive 430 (215 per BTC) and will spend 2 BTC.
Mister B's buy order will fill against the standing Sell orders.  He will receive 2 BTC and will spend 470 (235 per BTC).

The remaining order book will be:


Code:
SELL                    BUY

1 BTC at 250          1 BTC at 200
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 07, 2015, 01:19:29 AM
 #8

ok but if

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 AND MISTER C put SELL ORDER 1 BTC at 20 euros and mister D a buy order of 1 btc at 245



I think that the sell order of 10 euros will be executed at 220 and 210, and the 250 order will be executed at 230 and 240. It is because the exchange will find the best orders to fill up your buy/sell, and if there isn't a buy/sell suitable for your order (like one at 225), then it will create a new order at the orderbook.

The orders will not be "at the same time".  The exchange almost certainly uses an order queue.  Therefore, the orders will be processed in the order that they are received.  If any orders are received at the EXACT same time, then the queuing system will chose the order that they will be processed.

Lets assume that they are queued in the order that you describe them.

Mister A's sell order will fill against the standing BUY orders.  He will receive 430 (215 per BTC) and will spend 2 BTC.
Mister B's buy order will fill against the standing Sell orders.  He will receive 2 BTC and will spend 470 (235 per BTC).
Mister C's sell order will fill against the remaining BUY order. He will receive 200 and will spend 1 BTC.
Since there aren't any remaining Sell orders on the order book that qualify to fill Mister D's Buy order, Mister D's order will be added to the order book and will wait for sell orders to fill it.

The remaining order book will be:

Code:
SELL                    BUY

1 BTC at 250          1 BTC at 245
irongym (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 07, 2015, 01:21:23 AM
 #9

Sorry but it s not look logic cause when mister b will buy his 2 btc for 250 the real order book will be:

SELL                                  BUY
2 btc at 10 euros <--mister a order
1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

so why he will not buy 2 at 10 euros?
and same for inverse:

SELL                                  BUY
                            2 btc at 250 euros <--mister b order
1 btc at 230            1 btc at 220
1 btc at 240            1 btc at 210
1 btc at 250            1 btc at 200

why mister a will not sell for 250?

el kaka22 is correct.

Mister A's sell order will fill against the standing BUY orders.  He will receive 430 (215 per BTC) and will spend 2 BTC.
Mister B's buy order will fill against the standing Sell orders.  He will receive 2 BTC and will spend 470 (235 per BTC).

The remaining order book will be:


Code:
SELL                    BUY

1 BTC at 250          1 BTC at 200
BlackSpidy
Hero Member
*****
Offline Offline

Activity: 513
Merit: 511



View Profile
June 07, 2015, 01:25:21 AM
Last edit: June 07, 2015, 01:36:03 AM by BlackSpidy
 #10

 Huh So, buy orders automatically fill against sell orders, on btc-e? Is this standard practice across lots (or all) of exchanges? I thought it would end up looking this:

SELL                                                              BUY
2 btc at 10 euros <--mister a order                1 btc at 220
1 btc at 230                                                1 btc at 200
1 btc at 240                                                2 btc at 250 euros <--mister b order
1 btc at 250              



(then orders match)                                                                
SELL                                                              BUY
2 btc at 10 euros <--mister a order                1 btc at 220
1 btc at 230                                                1 btc at 200
1 btc at 240                                                1 btc at 250 euros <--mister b order
0 btc at 250              

.


              ▄▄█████▄▄▄▄
       ▄▄  ▄███████████████▄▄
▄▄▄▄▄█▀ ▄█████████████████████▀█████▄▄
████▀ █████████▀ ▄▄ ▀██████▄ ▄▄▄ ▄████
█████ ▀▀███▀▀ ▄▄████▄ ▀████ ▐███▌ ████
████████▄▄▄███████████▄ ▀██▀ ▀▀▀ ▀████
████████████▀▀█▀ ▀█▀▀███▄ ▀███▄███████
█████████████ ▄███▄ ██████▄ ▀█████████
████████████ ▐█████▌ ███████▄ ▀███████
▀▀▀▀█████████ ▀███▀ ██████████▄ ▀█████
      ▀█████▄▄█▄ ▄█▄▄███████████
        ▀▀██████████████████▀██▀
           ▀▀██████▀███▌▀██▀
               ▀██▀  ▀▀
.
...REVOLUTIONIZING...
THE REAL ESTATE INDUSTRY

█ ██ ███ █████████████████████████████████ ███ ██ █




▄         ▄▄████▄▄▄
███▄     ▐████████▀
 ██████▄▄█████████
▀████████████████▌
  ███████████████
  ▀████████████▀
   ▄▄████████▀
 ▀▀▀▀██▀▀▀




▄██████████████▄
█████████▀▀▀▀███
███████▀     ███
███████   ██████
█████        ███
███████   ██████
███████   ██████
▀██████   █████▀




             ▄▄▄
        ▄▄▄█████
  ▄▄▄████▀▀▄███
▀▀████▀ ▄██████
    █ ▄███████
     ███▀█████
           ▀█▌




        ▄
  ▄▄   ██▄▄▄
 ▐██▄▄█████▀▀
█████▀▀ ███
   ███  ▄█████▌
  ▄██████▀██▌
  ▀▀▀██    ██
     ▀▀




          ▄▄▄ ▄▄▄
          █  ████
      ▄▄▄█▄▄▄▄ ▀
▄█████████████████▄
▀████▌  ███  ██████
  ███████████████▌
   ▀███▄▄▄▄▄████
    ▀▀███████▀▀
█ ██ ███ ████████████████ ███ ██ █
TOKEN SALE ENDS
...ON MAY 15...
jeannemadrigal2
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
June 07, 2015, 06:38:59 AM
 #11

A really good way to get a handle on the order books is to watch them fill on the exchange.  You will see the trade gap get bigger and smaller, and when orders are placed at market value you can see them eat up the best offers on the books.  At least for me this was the best way to get a handle on it.  Also some charts have a "depth" chart which is another way to interpret the order books.
GreenStox
Sr. Member
****
Offline Offline

Activity: 1148
Merit: 252


Undeads.com - P2E Runner Game


View Profile
June 09, 2015, 09:25:40 AM
 #12

Hello,

First, sorry for my english.

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

mr a will sell the 2 btc at 10 €

mister B will buy 2 btc at 250€

The order executes at the price specified, however since the highest bit and lowest ask needs to reach that level, until then the current one will be in from of MR A and MR B 's order.

Thats how the price auction mechanism works.

💀|.
   ▄▄▄▄█▄▄              ▄▄█▀▀  ▄▄▄▄▄█      ▄▄    ▄█▄
  ▀▀▀████████▄  ▄██    ███▀ ▄████▀▀▀     ▄███   ▄███
    ███▀▄▄███▀ ███▀   ███▀  ▀█████▄     ▄███   ████▄
  ▄███████▀   ███   ▄███       ▀▀████▄▄███████████▀
▀▀███▀▀███    ███ ▄████       ▄▄████▀▀████   ▄███
 ██▀    ▀██▄  ██████▀▀   ▄▄█████▀▀   ███▀   ▄██▀
          ▀▀█  ▀▀▀▀ ▄██████▀▀       ███▀    █▀
                                      ▀
.
.PLAY2EARN.RUNNER.GAME.
||VIRAL
REF.SYSTEM
GAME
|
████████████████████████████
████████████████████████████
████████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████▀▀▄██████▄▀▀████████
███████  ▀        ▀  ███████
██████                ██████
█████▌   ███    ███   ▐█████
█████▌   ▀▀▀    ▀▀▀   ▐█████
██████                ██████
███████▄  ▀██████▀  ▄███████
████████████████████████████
████████████████████████████
████████████████████████████
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!