vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
511 stars 276 forks source link

Add TesterDeposit and TesterWithdrawal methods #264

Open lazou opened 2 years ago

lazou commented 2 years ago

This PR will add TesterDeposit and TesterWithdrawal methods for backtesting.

eabase commented 2 years ago

@lazou

You didn't say much about what this tester is to be used for. Back-testing you say, but... What exactly makes this function a "test", instead of actually doing it?

Perhaps you have a code/usage examples?

lazou commented 2 years ago

@eabase Thanks for your reply. Both methods are standard mt5 methods (see the used links) which are not yet available in mtapi. They can be used to add or withdraw deposit while backtesting. It is not meant to be a "test" or something else.