Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.
/ disorderBook Public archive
forked from rooklift/disorderBook

A probably-too-slow implementation of Stockfighter in Python

License

Notifications You must be signed in to change notification settings

cite-reader/disorderBook

 
 

Repository files navigation

disorderBook

An implementation of a Stockfighter server in Python 3
Written by Stockfighter user Amtiskaw (a.k.a. Fohristiwhirl on GitHub)

Requirements:

  • With the help of Medecau, we now use the Bottle library for request handling
  • It can likely be installed using "pip install bottle"
  • The old server will remain as disorderBook_simple.py but is deprecated

disorderBook Usage:

Authentication:

  • There is no authentication by default
  • If you want authentication, run disorderBook_bottle.py -a accounts.json
  • (Edit that file to contain a list of valid users and API keys)

Features:

  • Your bots can use whatever accounts, venues, and symbols they like
  • New exchanges/stocks are created as needed when someone tries to do something on them
  • Two stupid bots are included - you must start them (or many copies) manually

Issues:

  • No websockets yet, or maybe ever
  • Everything persists forever; we will eventually run out of RAM or the CPU will get bogged down

About

A probably-too-slow implementation of Stockfighter in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%