priceasymmetry example solana HNT
Streams DEX trades on Solana as they happen, where buy currency mint address is hntyVP…xWux and trade price asymmetry is below 0.9: program address, protocol family, protocol name, buy amount, buy account address, buy metadata address, buy currency key and 26 more fields.
What it returns
- program address
- protocol family
- protocol name
- buy amount
- buy account address
- buy metadata address
- buy currency key
- buy is mutable
- buy decimals
- buy fungible
- buy currency symbol
- buy native
- buy currency mint address
- buy currency name
- buy limit price
- buy limit amount
- buy order ID
- buy price
- market address
- sell account address
- sell metadata address
- sell currency mint address
- sell decimals
- sell fungible
- sell currency symbol
- sell native
- sell currency name
- sell price
- price asymmetry
- account names
- method
- parsed
- program name
Filters
- buy currency mint address is hntyVP…xWux
- trade price asymmetry is below 0.9
The subscription
subscription {
Solana {
DEXTrades(
where: {Trade: {PriceAsymmetry: {lt: 0.9}, Sell: {}, Buy: {Currency: {MintAddress: {is: "hntyVP6YFm1Hg25TN9WGLqM12b8TQmcknKrdu1oxWux"}}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Amount
Account {
Address
}
Currency {
MetadataAddress
Key
IsMutable
Decimals
Fungible
Symbol
Native
MintAddress
Name
}
Order {
LimitPrice
LimitAmount
OrderId
}
Price
}
Market {
MarketAddress
}
Sell {
Account {
Address
}
Currency {
MetadataAddress
MintAddress
Decimals
Fungible
Symbol
Native
Name
}
Price
}
PriceAsymmetry
}
Instruction {
Program {
Address
AccountNames
Method
Parsed
Name
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades