- Strona główna
- Społeczność
- Programowanie
- Question on "get-history" API method...
Advertisement
Edit Your Comment
Question on "get-history" API method...
Uczestnik z Oct 05, 2011
3 postów
Oct 18, 2011 at 01:22
Uczestnik z Oct 05, 2011
3 postów
Will it also return specific withdrawals? In the example in the API docs, it only shows a closed trade:
03/01/2010 14:13
03/01/2010 15:26
GBPUSD
Buy Limit
lots
0.04
1.48310
1.49340
1.48810
0.00000
0.0
0.00
Best trade ever
12.1
0
If a withdrawal *would* be returned from this function, what tags would it be wrapped in?
03/01/2010 14:13
03/01/2010 15:26
GBPUSD
Buy Limit
lots
0.04
1.48310
1.49340
1.48810
0.00000
0.0
0.00
Best trade ever
12.1
0
If a withdrawal *would* be returned from this function, what tags would it be wrapped in?
Uczestnik z Jul 31, 2009
1418 postów
Oct 18, 2011 at 12:15
Uczestnik z Jul 31, 2009
1418 postów
It would be wrapped with the same tags. Check the 'action' tag for the transaction type.
Uczestnik z Oct 05, 2011
3 postów
Oct 18, 2011 at 15:25
Uczestnik z Oct 05, 2011
3 postów
Would the action be "Withdrawal"?
I'm referring to actually withdrawing money from the account, not a losing trade (which I've noticed MT also calls a withdrawal for whatever reason).
With that in mind, what tag would the $ amount withdrawn from the account be wrapped in?
Thank you for your insight!
I'm referring to actually withdrawing money from the account, not a losing trade (which I've noticed MT also calls a withdrawal for whatever reason).
With that in mind, what tag would the $ amount withdrawn from the account be wrapped in?
Thank you for your insight!
Uczestnik z Jul 31, 2009
1418 postów
Oct 19, 2011 at 07:47
Uczestnik z Jul 31, 2009
1418 postów
Yes, it would be a withdrawal. The types are marked the same as in your Metatrader platform. The "withdrawal" definition may change from broker to broker.
All the other tags are the same - the "profit" tag would represent the amount of the withdrawal.
All the other tags are the same - the "profit" tag would represent the amount of the withdrawal.
Uczestnik z Oct 05, 2011
3 postów

*Komercyjne wykorzystanie i spam są nieprawidłowe i mogą spowodować zamknięcie konta.
Wskazówka: opublikowanie adresu URL obrazu / YouTube automatycznie wstawi go do twojego postu!
Wskazówka: wpisz znak@, aby automatycznie wypełnić nazwę użytkownika uczestniczącego w tej dyskusji.