python-mt5

Installation
SKILL.md

Python MetaTrader 5

Quick Start

Cài đặt:

pip install MetaTrader5

Luồng cơ bản:

  1. initialize() để kết nối terminal
  2. Thực hiện thao tác (lấy dữ liệu, giao dịch)
  3. shutdown() khi kết thúc

Kiểm tra lỗi: Gọi last_error() sau mỗi thao tác thất bại (trả về tuple (code, message)).


Connection & Account

Installs
1
First Seen
1 day ago