# FAQ AmiX

<mark style="color:red;">**Câu 1: Tại sao cài đặt xong không có dữ liệu Realtime?**</mark>

Bạn cần đăng ký sử dụng dịch vụ API Lightspeed của DNSE để có Data Realtime.&#x20;

Hướng dẫn đăng ký:<https://hdsd.dnse.com.vn/san-pham-dich-vu/api-lightspeed/i.-huong-dan-dang-ky>

<mark style="color:red;">**Câu 2: Tại sao không tìm thấy DNSE Ami Plugin trong Data Source khi cài đặt Database?**</mark>

Lỗi này do bạn cài đặt Plugin của Ami X chưa thành công.&#x20;

Hãy thử lại theo cách sau: Copy trực tiếp các File Plugin từ trong thư mục C:\Program Files\Ami X\resources vào thư mục Plugin bên trong Amibroker.

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

<mark style="color:red;">**Câu 3: Cấu hình máy nào thì cài được Ami X?**</mark>

A. CPU i3 trở lên.

B. Ram 5GB trở lên.

<mark style="color:red;">**Câu 4: API có đặt được lệnh điều kiện và lệnh Stoploss không?**</mark>

Hiện AmiX chưa hỗ trợ lệnh điều kiện và cài Stoploss. Nhà đầu tư có thể code trên Amibroker để quản lý tốt hơn chiến thuật của mình.

<mark style="color:red;">**Câu 5: Khi đặt lệnh qua API có bị tính thêm chi phí không?**</mark>

Không. Lệnh đặt qua API tính như biểu phí thông thường.

<mark style="color:red;">**Câu 6: Nhà đầu tư dùng Ami X có phải trả phí không?**</mark>

Không. Data Ami X được cung cấp miễn phí cho khách hàng của DNSE.

<mark style="color:red;">**Câu 7: Cài đặt xong không thấy tự động cập nhật Data:**</mark>

Kiểm tra thư mục Data có dữ liệu hay không, gửi file log.txt cho DVKH để được hỗ trợ.

*Lưu ý*: Bạn cần đăng ký dịch vụ API Lightspeed của DNSE để có thể nhận Data về máy tính.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcArXhDUTpK--uFmYf-mK6eT17-HpCxX_vGon-JAYgq7emT023plzqeeaP1UEhz7U49M4kT0NYsSDYu9cGf-W5KVxA90uK-Iryd25zlnm29nhavm-TbLU_tHyNAPQsNshxSZsMZfR9oQKIfKliaO_-3Nq8Z?key=cPUVtDEL9UPu0gPsYuXEhw" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Câu 8: Cài đặt Data không thành công:**</mark>

Hướng dẫn cài đặt Data Plugin và Database tại đây: <https://hdsd.dnse.com.vn/san-pham-dich-vu/ami-x>

Nên tạo Database ở ngoài ngay ổ C:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfva7ZDxZbOoNZx45jBk-m1YJNV1ICqqnpNbLtaitACHUPj78iyparxmE6sq-Tru7StAagawga0LqFTSpavsMz9Y8WQYLVi7iWewIVaNmZXpR6CcS2-cBiXMI0Icsr9CiyNKmfHOvWLghHpJVSaB11xJN9V?key=cPUVtDEL9UPu0gPsYuXEhw" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Câu 9: Hai loại Data Intraday và EOD là gì? Data quá khứ dài bao nhiêu?**</mark>

Data Intraday là dữ liệu theo tick, dùng ở các khung 1M, 5M, 1H… để xem các khung ngắn, sẽ có ít dữ liệu lịch sử hơn (3 tháng).

Data EOD là dữ liệu cuối ngày, dùng để xem ở các khung 1D, 1W, 1M… phù hợp để xem các khung lớn và có dữ liệu dài (5 năm).

Bạn muốn xem đồ thị EOD và Intraday đồng thời nên cài 2 database trong Amibroker (1 database xem dữ liệu EOD theo ngày, database kia xem dữ liệu Intraday theo phút).

<mark style="color:red;">**Câu 10: Ami X có giao dịch được các mã cơ sở không?**</mark>

Có. Ami X có thể đặt lệnh được cho mã chứng khoán cơ sở, chỉ cần nhập Ticket trong câu lệnh API.

<mark style="color:red;">**Câu 11: Câu lệnh API trong Ami X dùng như nào?**</mark>

Hướng dẫn các câu lệnh API để đặt lệnh qua Ami X:

{% embed url="<https://hdsd.dnse.com.vn/san-pham-dich-vu/ami-x/cac-cau-lenh-api-de-dat-lenh-qua-ami-x>" %}

<mark style="color:red;">**Câu 12: Tải phần mềm bị cảnh báo Virus của Window.**</mark>

Bạn có thể tạm thời tắt phầm mềm quét Virus của Window rồi bật lại sau.

Vào Settings -> Privacy & Security -> Windows Security -> Virus & thread protection -> Virus & thread protection settings -> Manage settings -> Real-time protection -> Turn Off

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcv7y70BdMwQY5uif2-8694dBrKOYU8ofh1o_gc-Q0jQPlgeBcMIrH2_FR-1oZBG06yn3sNBWcrbL80EVPp1TR3vL8x5bBiuhQd_9AhCaWmz2SnUhVmfOw9fytvGMt1-e_6vFLfmbPIfHaqzIMT5K1D7PB9?key=cPUVtDEL9UPu0gPsYuXEhw" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Câu 13: Cài đặt lấy OTP tự động qua Gmail như thế nào?**</mark>

Bạn cần đăng ký dịch vụ nhận OTP qua Gmail với DNSE. Link đăng ký: <https://hdsd.dnse.com.vn/san-pham-dich-vu/api-lightspeed/i.-huong-dan-dang-ky>

Sau đó xem hướng dẫn cài đặt tại đây: <https://www.youtube.com/watch?v=Hxih-ciQXaw&t>

<mark style="color:red;">**Câu 14: Ở màn hình Trạng thái cập nhật dữ liệu tất cả các ô hiện số 0:**</mark>

Dữ liệu đã được cập nhật hết. Không còn mã nào cần lấy dữ liệu nữa.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXegRQTUnzFF0CvJdrTY9JN5Da4M75z-K66GtdvokviJm9Fe0Dsu0iW287zSsPxTJ8Lqm74dfOnurMl8SIvgPxYIHkrHXtBCrAYRfY33SAfaEMVe3zBSXuRRFiAUbr_QP2V0XIt7WDUc-2L0JKtmnxBQf0lq?key=cPUVtDEL9UPu0gPsYuXEhw" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Câu 15: Amibroker hiện lỗi ACCESS VIOLATION khi cài đặt Database.**</mark>

Thường do không lấy đủ số nến. Khi cài Database ở mục Number of Bars cần điền đủ: 500.000 nến.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe0I1no-aNQAg6GPd2b-HT6hBkytIPPggMU_YxbyTFDj5sTDaOIuXMJA-F88RLuXJgmajHDdKtGV-1lLb0otdpWjmihsA-XwPS4lqCZ3B8Yg52Q4aHG8TUimb9tIHoorX2g-SoyeRBxeutUhkYMH9f8zqbY?key=cPUVtDEL9UPu0gPsYuXEhw" alt=""><figcaption></figcaption></figure>


---

# 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://hdsd.dnse.com.vn/san-pham-dich-vu/ami-x/faq-amix.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.
