Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 442 Bytes

longport_trade.md

File metadata and controls

27 lines (21 loc) · 442 Bytes

Table: longport_trade - Query Trades Detail of Security using SQL

The Trade table is used to obtain the real-time trade details of security.

https://open.longportapp.com/en/docs/quote/pull/trade

Examples

Query the latest 10 trades by symbol

select
   *
from
   longport_trades
where
   symbol = 'TSLA.US' limit 10;
select
   *
from
   longport_trades
where
   symbol = 'TSLA.US' limit 10;