# 自主进行首笔交易

在交易面板的"持仓数量"字段中输入目标交易量，点击"Long"（做多）或"Short"（做空）按钮即可自主发送市价订单。随后通过拖拽图表上的对应图标来设置止盈和止损。

{% hint style="warning" %}
免责声明：ATAS 仅作为技术服务提供商（软件工具），允许客户通过交易所/经纪商 API 连接自己的账户进行市场分析。所有后续交易决策均由用户独立做出，并通过其经纪人执行。[了解更多](https://atas.net/cn/how-it-works/)
{% endhint %}

<figure><img src="/files/ib5mvUKc0mLZfVYTO5Mc" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}

* 止损订单是当价格达到特定水平时自动平仓的订单，用于限制进一步亏损。
* 止盈订单在价格达到预设盈利水平时自动平仓。止盈触发后，对应的止损订单将自动取消。
  {% endhint %}

{% hint style="info" %}
无需常开ChartTrader面板即可自主交易。以下是核心交易快捷键：

Long 做多（市价买入） – W &#x20;

Short 做空（市价卖出） – S &#x20;

平仓 – Q &#x20;

设置限价/止损单 ——光标悬停图表区域 + 空格键 + 左键/右键 &#x20;

\*其他快捷键组合可在热键设置中查看。
{% endhint %}

若您希望自主以更优价格买入或卖出资产，可使用限价单。若需在价格突破特定水平时进场，则可采用止损挂单——当资产价格达到预设水平时，该订单将以市价触发交易。操作方式：按住空格键，在图表上选定目标价位，左键单击设置限价单，右键单击设置止损单（示例中我们在当前价格上方设置了限价卖出单，下方设置了止损卖出单）。

<figure><img src="/files/HKrLp6tk4NqUBF6WkjcN" alt=""><figcaption></figcaption></figure>

在持仓数量字段下方可找到订单高级设置。例如，在TIF下拉菜单中可设置订单有效期：

* DAY：持续至交易时段结束；
* GTC：持续有效直至手动取消；
* FOK：立即全部成交否则自动撤销。

启用OCO（One Cancel Other）模式后，当一组关联订单中的任一订单成交，另一订单将自动失效。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://start.atas.net/cn/di-san-bu-kai-shi-zi-zhu-guan-li-ding-dan/zi-zhu-jin-hang-shou-bi-jiao-yi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
