# Trade Command Panel

<figure><img src="https://273289729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXlGDI9rakMRwrwFoVorR%2Fuploads%2FiuZIzNmd4h6vywZG0Vy0%2FScreen%20Shot%202025-05-04%20at%2010.30.04%20AM.png?alt=media&#x26;token=6ce5573f-9cbf-467d-9101-6987d11e9e58" alt=""><figcaption></figcaption></figure>

The **Trade Command Panel** provides a manual way to trigger Buy, Sell, and Close commands for testing the bot’s execution path. This panel is mainly used during **initial setup** to ensure that the bot is correctly configured and is able to execute actions within the selected trading platform window.

***

#### 🛠️ Primary Use Case

> ✅ **This panel is intended for application testing only.**\
> Once the **Window Settings** (e.g., target application, delay timing) are properly configured, use this panel to:

* Verify the bot can successfully interact with the trading window.
* Confirm that execution logic (BUY/SELL/CLOSE) works as expected.
* Validate your **bot password** setup.

***

#### 📋 Field Descriptions

| **Field**  | **Description**                                                                |
| ---------- | ------------------------------------------------------------------------------ |
| `Ticker`   | Enter the symbol of the instrument to test (e.g., `NQ`, `MNQ`, `AAPL`).        |
| `Quantity` | Number of contracts/shares for the test trade (can be fractional for stocks).  |
| `Password` | Your secure **bot password** (must match what was saved in the Customer Info). |

***

#### 🟢 BUY / 🔴 SELL / 🟠 CLOSE Buttons

Each button sends the corresponding command directly to the configured window.

* **BUY**: Triggers a test buy order.
* **SELL**: Triggers a test sell order.
* **CLOSE**: Attempts to close all open positions for the specified ticker.

> ⚠️ These actions will only succeed if:
>
> * The correct **password** is entered
> * The target **trading application is correctly identified** in the Window Settings
> * The UI elements (buttons, tickers, etc.) are visible and accessible

***

#### 🔐 Password Enforcement

* This is an **added security layer** to prevent unauthorized test executions.
* You must input the **same password** saved in the Customer Info section for these actions to be accepted.

***

#### 🧪 Pro Tip: How to Use It

1. Go to **Window Settings** → select & configure your trading application.
2. Use **"Show Window Names"** to identify the right app.
3. Save your config.
4. Come back to this panel and run a **test Buy or Sell**.
5. Confirm successful action from your trading platform UI or in the **Metrics Dashboard**.
