Mind
  • 👋Introduction
    • 🧠What is the Mind language?
  • 👟Getting Started With Mindtrade
    • 📈What is MindTrade?
    • 🤯What can I do with Mindtrade?
    • 🏗️Program structure
      • 🧱Program Components
      • 📀What is a Node?
        • ▶️Start Node
        • ⚙️Action Node
        • ❓Conditional Node
        • 🔚Output Node
      • 🔄Execution Flow
    • 👷‍♀️How to Create a Program?
      • 🔧Creating Projects
      • ✂️Editing Programs
        • ✨Chat to Program
      • ⚡Executing programs
    • 🗃️Templates
    • 🤫Secrets
  • ❓Nodes Details
    • 🔄Execution Control Nodes
      • Start node
      • Conditional node
      • Output Node
    • ⚙️Action Nodes
      • ☘️Common
        • Addition
        • Subtraction
        • Multiplication
        • Division
        • Power
        • Absolute Value
        • Random integer
        • Print Output
        • Print String
        • Wait
      • 💰Crypto
        • ⛓️On-chain
          • 🌐EVM
            • EVM Wallet
            • Get EVM Coin Balance
            • Send EVM Coin
            • 💲ERC20
              • Get ERC20 Allowance
              • ERC20 Approve
              • ERC20 Balance Of
              • ERC20 Total Supply
              • ERC20 Transfer
              • ERC20 Transfer From
              • Check balance and send
              • Send ERC20 USD Value
            • 💱Uniswap V2 DEX
              • UniV2 - Swap Tokens for Tokens
              • UniV2 - Buy Tokens for ETH
              • UniV2 - Sell Tokens For ETH
              • UniV2 - Limit Buy
              • UniV2 - Limit Sell
              • UniV2 - Catch Next Trade
              • UniV2 - Copy Trading
              • UniV2 - Get Token Bought in Trade
              • UniV2 - Get Token Sold in Trade
              • UniV2 - DCA With Coin
              • UniV2 - DCA With USDT
              • UniV2 - DCA Portfolio With Rebalancing
              • UniV2 - Get Price
              • UniV2 - Get Price Impact
              • UniV2 - Get Price Variation Percentage
              • UniV2 - Add LP ETH
              • UniV2 - Add LP Token
              • UniV2 - Remove LP ETH
              • UniV2 - Remove LP Token
              • Buy And Send ERC20 USD value
              • 📊Technical analysis
                • UniV2 - Get OHLCV Candles
                • UniV2 - Buy on Indicator Signal
                • UniV2 - Sell on indicator signal
          • ☀️Solana
            • Solana Wallet
            • Get SOL Balance
            • Send SOL
            • 💲SPL
              • Get SPL balance
              • Send SPL Token
            • 💱Jupiter DEX
              • Solana Get Token Price in USD
              • Solana Get Token Price
              • Solana Swap Tokens Jupiter
              • Solana Limit Order Jupiter
              • Solana - DCA With SOL
              • Solana - DCA with USDC
        • 💹CEX
          • CEX Instance
          • CEX Create Limit Buy Order
          • CEX Create Limit Sell Order
          • CEX Create Market Buy Order
          • CEX Create Market Sell Order
          • CEX Create Stop Limit Buy Order
          • CEX Create Stop Limit Sell Order
          • CEX Create Stop Market Buy Order
          • CEX Create Stop Market Sell Order
          • CEX Cancel Order
          • Cex cancel all orders
          • CEX DCA
          • CEX DCA portfolio with rebalancing
          • CEX Fetch Current Ask
          • CEX Fetch Current Ask Volume
          • CEX Fetch Current Bid
          • CEX Fetch Current Bid Volume
          • CEX Fetch Free Balance
          • CEX Fetch Total Balance
          • CEX Fetch Used Balance
          • CEX Get Price Variation Percentage
          • 📊Technical analysis
            • CEX - Get OHLCV Candles
            • CEX - Buy on indicator signal
            • CEX - Sell on indicator signal
        • 📊Technical analysis
          • Technical Analysis
          • Check indicator latest signal
      • 🫂Social
  • 🔠OBJECT TYPES
    • Introduction
    • Types
      • Secret
      • CryptoExchangeOrder
      • ExchangeType
      • CryptoExchangeTimeframe
      • CryptoExhange
      • BlockchainName
      • EVMAddress
      • EVMPrivateKey
      • EVMTransaction
      • EVMWallet
      • UniswapV2Trade
      • OHLCV
      • IndicatorName
      • OperatorType
      • IndicatorData
      • SolanaAddress
      • SolanaPrivateKey
      • SolanaTransaction
      • SolanaWallet
Powered by GitBook
On this page

Was this helpful?

  1. OBJECT TYPES
  2. Types

CryptoExchangeOrder

Description: CryptoExchangeOrder represents a detailed record of a cryptocurrency trading order on a centralized exchange. It encapsulates various attributes of the order, providing a comprehensive overview of its status, conditions, and results.

Attributes:

  • amount (Optional):

    • Description: The total quantity of the asset traded in the order.

    • Value type: decimal number

  • average (Optional):

    • Description: The average price at which the order was filled.

    • Value type: decimal number

  • client_order_id:

    • Description: A unique identifier for the order assigned by the client.

    • Value type: alphanumeric string (e.g., "abc123xyz")

  • cost (Optional):

    • Description: The total cost of the filled part of the order.

    • Value type: decimal number

  • datetime (Optional):

    • Description: The date and time when the order was created.

    • Value type: string in ISO 8601 format (e.g., "2023-07-17T12:45:00Z")

  • fee (Optional):

    • Description: The fee charged by the exchange for executing the order.

    • Value type: object containing cost and currency

  • fees:

    • Description: A list of fees charged by the exchange for executing the order.

    • Value type: List of objects containing cost and currency

  • filled (Optional):

    • Description: The quantity of the order that has been filled.

    • Value type: decimal number

  • id:

    • Description: A unique identifier for the order assigned by the exchange.

    • Value type: alphanumeric string (e.g., "order789def")

  • info:

    • Description: Additional information about the order.

    • Value type: Object containing detailed order information

  • last_trade_timestamp (Optional):

    • Description: The timestamp of the last trade that was part of the order.

    • Value type: integer representing milliseconds since the Unix epoch (e.g., 1626508820000)

  • last_update_timestamp (Optional):

    • Description: The timestamp of the last update to the order.

    • Value type: integer representing milliseconds since the Unix epoch (e.g., 1626508820000)

  • post_only (Optional):

    • Description: Indicates if the order is a post-only order.

    • Value type: boolean (True or False)

  • price (Optional):

    • Description: The price at which the order is set.

    • Value type: decimal number

  • reduce_only (Optional):

    • Description: Indicates if the order is a reduce-only order.

    • Value type: boolean (True or False)

  • remaining (Optional):

    • Description: The quantity of the order that remains unfilled.

    • Value type: decimal number

  • side (Optional):

    • Description: The side of the order, either "buy" or "sell".

    • Value type: string (e.g., "buy")

  • status (Optional):

    • Description: The current status of the order.

    • Value type: string (e.g., "open")

  • stop_loss_price (Optional):

    • Description: The stop-loss price for the order.

    • Value type: decimal number

  • stop_price (Optional):

    • Description: The stop price for the order.

    • Value type: decimal number

  • symbol:

    • Description: The trading pair symbol for the order.

    • Value type: string (e.g., "BTC/USD")

  • take_profit_price (Optional):

    • Description: The take-profit price for the order.

    • Value type: decimal number

  • time_in_force (Optional):

    • Description: The time in force policy for the order.

    • Value type: string (e.g., "GTC" - Good Till Cancelled)

  • timestamp (Optional):

    • Description: The timestamp when the order was created.

    • Value type: integer representing milliseconds since the Unix epoch (e.g., 1626508800000)

  • trades:

    • Description: A list of trades that have been executed as part of the order.

    • Value type: List of objects containing trade information

  • trigger_price (Optional):

    • Description: The price at which a conditional order is triggered.

    • Value type: decimal number

  • type (Optional):

    • Description: The type of the order.

    • Value type: string (e.g., "limit")

PreviousSecretNextExchangeType

Last updated 10 months ago

Was this helpful?

🔠