Gamestudio Links
Zorro Links
Newest Posts
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
ZorroGPT
by TipmyPip. 07/30/26 00:36
Fun Arcade Car Physics (nfs style)
by rayp. 07/25/26 00:35
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 9,538 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MarginCost and Leverage #489163
02/04/26 14:27
02/04/26 14:27
Joined: Jan 2023
Posts: 53
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 53
If MarginCost is set to 0 and Leverage is set to 2 in Assets.csv, will the system calculate MarginCost using the following formula?
MarginCost = Asset price / Leverage * PipCost / PIP
If MarginCost is set to 100 and Leverage is set to 2, which one actually takes effect?

Re: MarginCost and Leverage [Re: qin] #489165
02/05/26 08:43
02/05/26 08:43
Joined: Jul 2000
Posts: 28,128
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,128
Frankfurt
Leverage is not contained anymore in asset lists. For leverage 2, set MarginCost = -50%.

In the script, MarginCost is then automatically calculated from the price.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1