Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.4 KB

File metadata and controls

27 lines (22 loc) · 1.4 KB

OuterSpatialEngine


Warning! This prototype is no longer being developed, and work is instead continued on the networking-enabled version at OuterSpatial


This is a C++ port of a C# port of an economy engine called bazaarBot with heavy modifications. Major changes:

  • Asynchronous multithreaded operation instead of tick-based
  • New AI logic using "desperation" functions to reflect financial position
  • Charging broker fees and sales tax to extract profit rather than a bid-ask spread
  • Message-passing structure (to make a future networking port easier)
  • ASCII graph animations (for future ncurses frontend)

The original repo was based on a paper which had some serious issues, many of which were fixed by Vibr8gKiwi in their C# port.

Example video

output.mp4

The recorded run shows the market's price/time chart for 120 AI traders competing at 5 TPS. In reality this action-speed would be slowed down way more (otherwise the market changes way too fast!) but it makes for a more interesting demo.

Example output

Qt plot ASCII plot
qt plot ascii plot