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
  • Key Characteristics
  • Inputs and Outputs
  • Inputs
  • Outputs

Was this helpful?

  1. Getting Started With Mindtrade
  2. Program structure

What is a Node?

PreviousProgram ComponentsNextStart Node

Last updated 9 months ago

Was this helpful?

A node is a basic element in the MindTrade platform that performs a single, specific task within a trading bot's workflow. Think of nodes as individual steps or instructions that come together to build the complete set of operations for the bot.

Each node is designed to carry out one particular action, like making a trade or analyzing market trends. When the trading bot runs, it activates these nodes in a specific order to carry out the trading strategy.

Key Characteristics

  • Modularity: Nodes can be combined in different ways to create varied trading strategies.

  • Encapsulation: All the details needed to perform a node’s task are self-contained within the node.

  • Reusability: You can use the same node across different strategies.

  • Unique Identifiers: Every node is assigned a unique resource identifier. This identifier is crucial when you want to use the output of one node as the input for another.

Inputs and Outputs

Inputs

Inputs are the information or data that a node needs to perform its task. These inputs can come from several sources:

  • Outputs from Other Nodes: One node’s output can serve as input for another node. This connectivity allows the nodes to interact and build upon each other's results, creating a dynamic flow of data within the bot's architecture.

  • Static Values: Sometimes, a node might need a fixed value to operate. These static values are set directly in the node’s configuration and remain unchanged each time the bot runs.

Outputs

After a node completes its task, it may produce an output. This output is the result of the node's operation and can be utilized in various ways:

  • Operational Output: Sometimes, the purpose of a node is simply to perform an operation, such as buying an asset. In these cases, the output might not need to be used further, serving primarily as a confirmation or record of the completed action.

  • Input for Subsequent Nodes: Often, the output of a node is crucial for the continuation of the trading strategy. For example, a node that retrieves current market prices may produce an output that is used as an input for another node responsible for making trading decisions based on those prices.

Secrets: For tasks that require secure data, such as API keys or wallet private keys, you can use secrets as inputs. Secrets are safely stored and managed within the platform to ensure security and confidentiality. You can read more in the section.

πŸ‘Ÿ
πŸ—οΈ
πŸ“€
Secrets