changeset 34:6696a7342e35

Server: Undo debugging change
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 10 Mar 2019 14:52:38 +0100
parents e0dc3d213c9a
children 021270e3c3f9
files server/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/server/server.py	Sun Mar 10 14:50:45 2019 +0100
+++ b/server/server.py	Sun Mar 10 14:52:38 2019 +0100
@@ -66,7 +66,7 @@
         def next_price(self):
             """Calculates a (random) next price based on the current price and history. Returns a dict suitable for inclusion in a _stockdata object."""
             dev = 0.02 * self._current_value or 1
-            new_value = int(_random.normalvariate(self._current_value * 0.9, dev))
+            new_value = int(_random.normalvariate(self._current_value * 1.0005, dev))
             new_value = abs(new_value)
             split = False