Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (RealSerious3D, rvl, tomaslolo), 685 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lots and Margin #426035
07/15/13 16:09
07/15/13 16:09
Joined: Nov 2012
Posts: 126
B
blaub4r Offline OP
Member
blaub4r  Offline OP
Member
B

Joined: Nov 2012
Posts: 126
Sorry for spamming topics right now, but I got another question:

I thought Margin and Lots were equivalent. Now I got a strategy which behaves very differently when using Margin or Lots.
Theres is no difference when Margin = 5 or Lots = 1.
However, when I set Margin = 50 or Lots = 10 I get big differences in terms of pretty much everything except the number of trades and the bars per trade.
Using Margin leads to much better results in this case.

Has someone an explanation?

Re: Lots and Margin [Re: blaub4r] #426036
07/15/13 16:30
07/15/13 16:30
Joined: Jul 2013
Posts: 522
D
dusktrader Offline
User
dusktrader  Offline
User
D

Joined: Jul 2013
Posts: 522
I could be wrong about this... but I think by default Zorro uses the minimum calculation of 1 Lot unless otherwise specified.

If you set Margin, then Zorro may or may not be able to take the same trades, depending whether or not you have enough to purchase the minimum 1 Lot.

If you set Margin = 50, then you likely have more available to purchase than just 1 Lot.

One way you could determine if this is happening is to do a
set(LOGFILE);
and then look at the actual trades in \Zorro\Log\testtrades.csv

For the purpose of developing a new strategy, you should always use the minimum flat amount of lots (such as the default) first before any type of compounding (which is what is happening if you're giving it more than the default 1 Lot per trade)

Re: Lots and Margin [Re: dusktrader] #426037
07/15/13 17:07
07/15/13 17:07
Joined: Nov 2012
Posts: 126
B
blaub4r Offline OP
Member
blaub4r  Offline OP
Member
B

Joined: Nov 2012
Posts: 126
Thanks, one asset seems to have higher margin-requirements so the lot size is different from the other ones when I use Margin instead of Lots (it's an Arbitrage-strategy).

Problem solved


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1