Added spread and price movement properties to stocks. Refactored Stock Market implementation code

This commit is contained in:
danielyxie
2019-04-20 22:31:19 -07:00
committed by danielyxie
parent f91c5bd7b9
commit 6b3646e981
12 changed files with 1419 additions and 284 deletions
-3
View File
@@ -84,7 +84,6 @@ import {
StockMarket,
StockSymbols,
SymbolToStockMap,
initStockSymbols,
initSymbolToStockMap,
stockMarketCycle,
processStockPrices,
@@ -1085,7 +1084,6 @@ const Engine = {
Engine.init(); // Initialize buttons, work, etc.
initAugmentations(); // Also calls Player.reapplyAllAugmentations()
Player.reapplyAllSourceFiles();
initStockSymbols();
if (Player.hasWseAccount) {
initSymbolToStockMap();
}
@@ -1215,7 +1213,6 @@ const Engine = {
initFactions();
initAugmentations();
initMessages();
initStockSymbols();
initLiterature();
initSingularitySFFlags();