Skip to content

I am sure its me not thinking properly....But... using the Streaming data How to tell if the last trade was a Buy or Sell #237

@gmcodestuff

Description

@gmcodestuff

Hi all...please forgive me with this question - I am pretty sure its me missing something obvious....

I am consuming the streaming data
I get the Bid_Price, Ask_price,Last_Price, Last_Size data (amongst others)

To determine if that last order placed was a Buy or Sell I am taking the value of Last_Price and if its closer to the Ask_Price than the Bid_Price I am thinking the last trade was a buy.
If the last_price is closer to the Bid_Price I am thinking the last trade was a sell.

Am I making a bad assumption? is there a better way to consume the streaming data and determine Buy/Sell ??

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions