MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

Backup → Get from Backup

AI-generated

Summary

Retrieve user account data from a specific MetaTrader 5 backup by specifying the backup date as a Unix timestamp.

Inputs

  • Backup Date (required) — Unix timestamp of the specific backup date from which to retrieve the user account data.

Output shape

a single user account object as stored in the specified backup

Returns the user data as it exists in the specified backup time. If the login parameter is also required (likely the user login to retrieve), it must be provided as a workflow parameter (not shown in the UI properties here). The response shape may differ based on the 'simplify' option configured in the node but typically contains the user account details from the backup.

Examples

Example 1: Retrieve a user account from a MetaTrader 5 backup dated '1672531200' (Unix timestamp for 2023-01-01).

Set Resource to 'Backup', Operation to 'Get from Backup', specify the Login of the user account and set 'Backup Date' to '1672531200'.

Discussion