|
樓主 |
發表於 14-7-19 01:48
|
顯示全部樓層
joshsmi 發表於 14-7-19 01:18
Short: 32 Contracts * (23483-23544) * 50 = 97600
Short: 32 Contracts * (23483-23544) * 50 = 97600
above is correct but in row 5, initial equity+acc profit=1000000+9085300(in row 4)=10085300
so, number of futures contracts should be 10085300/60000=168, why not 168 contracts? but in row 5, it only 3 contracts... this is weird. any ideas?
my coding setting is very simple as below:
RoundLotSize=1;
TickSize=1;
SetOption("FuturesMode", True );
SetOption("InitialEquity", 1000000 );
SetPositionSize(100,spsPercentOfEquity);
MarginDeposit=60000;
PointValue=50;
.
.
.
buy=
sell=
short=
cover=
that's all... thank you very much!
|
|