The ticking history of the glass. - page 12

 
Реter Konow:
And then, a limiter is not a transaction, but only an application for a transaction.
A tick as the result of a transaction by one party (one counterparty) indicates that the other party to the transaction is being ignored for some reason. This may be the case if the counterparty to the transaction is not a person but something generic and global. For example, it can be the exchange itself, or the market maker. Then the meaning of the flag is clear.

Don't get fancy...

 
prostotrader:

Don't get fancy...

Give your explanation of the last two flags:

TICK_FLAG_BUY - a tick is a result of a buy deal 32 0x20

-TICK_FLAG_SELL - a tick is a result of a sell deal 64 0x40

 
Реter Konow:
Give your explanation of the last two flags:

TICK_FLAG_BUY - a tick is a result of a buy deal 32 0x20

-TICK_FLAG_SELL - a tick is a result of a sell deal 64 0x40

So you also do not read what is written (I even highlighted the text in yellow)?

 
prostotrader:

So you also don't read what is written (even highlighted the text in yellow)?

If someone buys, it means a flag of purchase, and if someone sells, it means a flag of sale?)

It's funny). Today's traders are amazing. The trader does not understand that if someone has bought, someone else has sold. For the purchase to take place, there must be a sale. At the same time.

TICK_FLAG_BUY is a tick resulting from buying (literal translation).

How can transactions be divided into sales and purchases, if every transaction is a sale and purchase?

Do you know the logic?
 
Реter Konow:
If someone bought, then buy flag, and if someone sold, then sell flag.)

It's funny :) Today's traders are amazing. It takes a trader not to realise that if someone has bought, someone else has sold. In order to buy, there must be a sale. At the same time.

This flag depends on who initiated the transaction: a buyer or a seller.

 
Vitalii Ananev:

This flag depends on who initiated the transaction, the buyer or the seller.

And how is the initiator defined? One wants to buy, the other wants to sell. Which one is the initiator?
 
Реter Konow:
If someone buys, it means a 'Buy' flag and if someone sells, it means a 'Sell' flag.)

It's funny :) Today's traders are amazing. It takes a trader not to realise that if someone has bought, someone else has sold. In order to buy, there must be a sale. At the same time.


Try to operate with the notions of supply and demand. Maybe it will become easier to understand. An order in the glass is supply. A buy/sell order/bid is demand. The convergence of supply and demand gives rise to a transaction, which is accounted for by the direction of demand.
 
Реter Konow:
If someone bought, it was a buy flag and if someone sold, it was a sell flag?)

It's funny :) Today's traders are amazing. It takes a trader not to realise that if someone has bought, someone else has sold. For buying to happen, there has to be a sale. At the same time.

TICK_FLAG_BUY - tick resulting from buying (literal translation).

How can transactions be divided into sales and purchases, if every transaction is a sale and purchase?

Do you know the logic?

Someone has bought at the current price (market order) and the nearest best limit sell order is executed. It's as simple as that. The buyer initiated the transaction.

 
Реter Konow:
How is the initiator determined? One wants to buy, the other wants to sell. Which one is the initiator?

One buys on the market, the other sells by limit order. The initiator is the market bid and the limiters satisfy it.

 
Vitalii Ananev:

One buys at the market, the other sells by limit.

Well, that makes more sense. Although, the meaning and value of this information is unclear. One sells at the price reserved earlier, the other sells at the market price. So the one at the market price is the initiator. OK. We need to add a clarification to the documentation, if that is what is meant.
Reason: