mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 11:07:48 +00:00
76a6216cf7
It uses its own API which I packed between MTApi5 and MatLab. Possible that this is useless, but errors from the .NET assembly are more tradable.
39 lines
1.2 KiB
Matlab
39 lines
1.2 KiB
Matlab
classdef Position < handle
|
|
%POSITION Summary of this class goes here
|
|
% Detailed explanation goes here
|
|
|
|
properties
|
|
POSITION_TIME = datetime([],[],[]);
|
|
POSITION_TICKET = int64([]);
|
|
POSITION_TIME_MSC = int64([]);
|
|
POSITION_TIME_UPDATE = int64([]);
|
|
POSITION_TIME_UPDATE_MSC = int64([]);
|
|
POSITION_TYPE = MtApi5.ENUM_POSITION_TYPE;
|
|
POSITION_MAGIC = int64([]);
|
|
POSITION_IDENTIFIER = int64([]);
|
|
POSITION_REASON = MtApi5.ENUM_POSITION_REASON;
|
|
|
|
POSITION_VOLUME = double([]);
|
|
POSITION_PRICE_OPEN = double([]);
|
|
POSITION_SL = double([]);
|
|
POSITION_TP = double([]);
|
|
POSITION_PRICE_CURRENT = double([]);
|
|
POSITION_SWAP = double([]);
|
|
POSITION_PROFIT = double([]);
|
|
|
|
POSITION_SYMBOL = char([]);
|
|
POSITION_COMMENT = char([]);
|
|
end
|
|
|
|
methods
|
|
function obj = Position()
|
|
%POSITION Construct an instance of this class
|
|
% Detailed explanation goes here
|
|
|
|
end
|
|
|
|
|
|
end
|
|
end
|
|
|