1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-29 17:45:55 -04:00

Change minimum and maximum share return percentages to -15% and 25%

This commit is contained in:
John Zaitseff 2014-08-13 11:32:27 +10:00
parent 452519ccda
commit 4ef0578792

View File

@ -74,8 +74,8 @@
#define DEC_SHARE_PRICE 0.65 // 65% x 35% chance of decrementing same
#define PRICE_CHANGE_RATE 0.25 // Up to 25% of share price is used to incr./decr.
#define INITIAL_RETURN 0.05 // Initial return per share: 5%
#define MIN_COMPANY_RETURN -0.10 // Minimum return per share (yes, negative!)
#define MAX_COMPANY_RETURN 0.20 // Maximum return per share
#define MIN_COMPANY_RETURN -0.15 // Minimum return per share (yes, negative!)
#define MAX_COMPANY_RETURN 0.25 // Maximum return per share
#define CHANGE_COMPANY_RETURN 0.50 // Chance of randomly changing return
#define DEC_COMPANY_RETURN 0.50 // Chance such change will decrease return
#define RETURN_MAX_CHANGE 0.03 // Maximum that company return will change