Gate.io - MT5 Connection Library Project (Spot & Future)

MQL5 专家 资料库

工作已完成

执行时间8 天
员工反馈
Having great experience working with him. Highly professional and humble
客户反馈
Thank you very much for your help and support.

指定

Gate.io - MT5 Connection Library Project (Spot & Future)

IMPORTANT NOTE

This project involves developing a connection library written only in MQL5 language. It should be a simple library that

I will use in my existing Expert Advisor. Please develop a solution that contains only the requested functions, avoiding unnecessary complexity.

Core Requirements

1. MQL5 Library Structure

  • The project must be developed entirely in MQL5 language
  • Must be delivered as .mq5 and .mqh files
  • The .mqh file must be able to be included in Expert Advisors using #include
  • The compiled .ex5 file must also be delivered

2. Data Connection

  • Must be able to retrieve both spot and future symbol data from Gate.io exchange via WebSocket
  • Must be able to transfer data from any desired symbol to MT5
  • Must be able to retrieve historical and real-time data
  • Spot and future data must be processable separately

3. API Management

  • Must be able to securely use Gate.io API keys (API Key and Secret Key)
  • Must calculate API weight and provide notification via global variable
  • Must include basic error checking

4. Core Functions

Using API Key and Secret Key, it must be able to perform the following operations:

Account Information Retrieval

  • Symbol-based profit/loss status
  • Total profit/loss
  • Total balance and available balance
  • Symbol amount and position direction information
  • Total number of open positions
  • Secure access to account information using API Key and Secret Key

Trading Functions

  • Open buy position
  • Open sell position
  • Close buy position
  • Close sell position
  • Close all positions
  • Leverage change operations
  • API weight calculation after transaction

Historical Data Operations

  • Display total profit of closed orders in a specific time period
  • For example: Calculate the total profit of closed orders from the last two days
  • Access to historical information with an externally adjustable variable

5. Configuration

  • Data update frequency must be adjustable (in milliseconds)
  • Symbol prefix must be definable externally
  • API keys must be configurable externally

6. Deliverables

  • .mq5 source code file
  • .mqh library header file
  • .ex5 compiled library file
  • Documentation including simple usage examples

Project Limitations

  • Complex graphical interfaces or advanced analysis tools are NOT REQUIRED
  • Only basic data retrieval and trading functions are sufficient
  • Should be a simple library that works compatibly with my existing Expert Advisors

Note: This is a helper library project that I will use in my own Expert Advisors. I expect a solution written in MQL5 language that fulfills the basic functions, avoiding unnecessary complexity.


附加的文件:

反馈

1
开发者 1
等级
(27)
项目
37
24%
仲裁
14
0% / 93%
逾期
4
11%
工作中
2
开发者 2
等级
(8)
项目
11
0%
仲裁
6
33% / 67%
逾期
2
18%
空闲
3
开发者 3
等级
(18)
项目
23
22%
仲裁
8
13% / 63%
逾期
4
17%
空闲
4
开发者 4
等级
(24)
项目
31
19%
仲裁
4
50% / 25%
逾期
4
13%
空闲
5
开发者 5
等级
(294)
项目
469
39%
仲裁
102
40% / 24%
逾期
77
16%
已载入
发布者: 2 代码
6
开发者 6
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲

项目信息

预算
520+ USD
截止日期
 5  10 天