solana ohlc websocket
Streams DEX trades by token on Solana as they happen: block time, block height, sum of trade amount, currency name, currency symbol, currency mint address, side currency name and 3 more fields.
What it returns
- block time
- block height
- sum of trade amount
- currency name
- currency symbol
- currency mint address
- side currency name
- side currency symbol
- side currency mint address
- trade price
The subscription
subscription {
Solana {
DEXTradeByTokens(
limitBy: {by: [Trade_Currency_MintAddress, Trade_Side_Currency_MintAddress], count: 1}
) {
Block {
Time(interval: {in: minutes, count: 1})
lastTradeTime: Time(maximum: Block_Time)
FirstTradeTime: Time(minimum: Block_Time)
LastTradeBlock: Height(maximum: Block_Height)
FirstTradeBlock: Height(minimum: Block_Height)
}
volume: sum(of: Trade_Amount)
Trade {
Currency {
Name
Symbol
MintAddress
}
Side {
Currency {
Name
Symbol
MintAddress
}
}
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Height)
close: Price(maximum: Block_Height)
}
}
}
}
Similar queries
- token trades subscription · Solana · DEXTradeByTokens
- realtime trades solana · Solana · DEXTradeByTokens
- adsa · Solana · DEXTradeByTokens
- tkk raydium price · Solana · DEXTradeByTokens
- Live price of a token · Solana · DEXTradeByTokens