Streams Doc
  • Intro to Blacksun Streams
  • Getting Started
  • Stream Types
    • Swap
    • Transactions and Transfers
    • Liquidity Pool
    • Wallet
    • NFT
    • Smart Contract
    • SocialFi
    • Perpetual Trade
    • Options Trade
  • Alert Integration
  • Tutorials and Use Cases
    • Monitor Whale Transfers
    • Monitor Uniswap Whale Swaps
    • Monitor Token Transfers
    • Follow A Wallet
Powered by GitBook
On this page
  • How to use
  • Message params:
  • Default Message
  1. Stream Types

Perpetual Trade

PreviousSocialFiNextOptions Trade

Last updated 1 year ago

  1. Discover when a particular token has hit a market size

  2. Track the wallet movement of an expert trader in the perpetual market and possibly copy-trade

How to use

1- Navigate to “Streams” Section

2- Click on “Add Streams” Button

3- Select the “Perpetual Trades” path

4- Customize and filter transaction events via:

Perpetual Market

Select the market to monitor trades.

Chain

Select the network to monitor trades."

Wallet

Filter by the addresses of the wallets executing the trades.

Actions

Filter by long trades, short trades, or both.

Trade size

Filter by trade size. Choose 'less than,' 'greater than,' or 'equal to' for the trade amount in ETH or USD.

Token Address

Filter trades based on a specific token.

5- Select your desired streaming integration (Twitter, Telegram, Websocket, Email, Discord) and customize the message with predefined parameters as necessary.

Message params:

Stream Name

Return Stream Name

Wallet

Return the wallet address that performed the trade

Action

Return the action of the trade. (open,close,increase, decrease)

Trade

Return the trade type (long, short)

Open price

Return the price of the token in usd when the trade is initiated

Token

Return the token traded

Leverage

Return the leverage size

Protocol

Return the protocol and network where the trade happened

Fees

Return the fees of the trade

Liquidation Price

Return the liquidation price of the trade

Date & Time

Return the date and time of the transaction

Txn Link

Return the transaction link to the block

Default Message

{Wallet} {Action} a {market trade} {Long/short} position at price {open price} on {token} with {leverage} leverage on{protocol}{network}
total fees: {fees}
liquidation price: {Liquidation price}.
Date: {Date & Time}
Txn Link: {Txn Link}

6- click “Publish”