Setup Instructions for Optibook
Your development environment
You will use an Amazon EC2 VM to interact with our virtual exchange. It is essentially your own little virtual machine with you or your team's workspace in it - it is pre-configured with all you should need to connect to Optibook. You can also do other things like use a terminal or run code in an IDE with auto-completion and debugging.
Connecting to your development environment
In order to connect to your development environment, please follow the instructions below.
-
Click on the
devenv
button on the top-right of this page. -
On the page, login with your credentials.
-
Follow the link to your development environment.
You are now ready to go! From here you can interact with Optibook, either via Python code or via the manual jupyter notebook. Continue with "Connecting to Optibook" in order to send your first orders.
Connecting to the Exchange
Now it is time to connect to the exchange and send your first orders!
-
Navigate to the Optibook visualizer by clicking on the "visualizer" button on the top-right of this page, and choose an instrument which you want to trade (use
TEST
or something of the sort if it is present). An instrument is the term we use to describe the object that is traded, so a stock, an option or a future, for example. -
Open your development instance in a new tab by clicking on the devenv button on the top right of this page. Login with the credentials given to you by email.
-
Navigate to the dual_listing folder and open algorithm.py. Press the run button at the top of the page and you're set. This is a basic template for an autotrader which traders randomly. Your job is to make it not random with what you have just learned. Good luck!
Happy trading!
Contact optibook@optiver.com for any questions