Skip to content

Instantly share code, notes, and snippets.

@prystupa
Last active December 10, 2015 01:38
Show Gist options
  • Save prystupa/4360643 to your computer and use it in GitHub Desktop.
Save prystupa/4360643 to your computer and use it in GitHub Desktop.
Feature: Core Functionality for Order Book
Scenario: Add a single limit order to the SELL order book
When the following orders are added to the "Sell" book:
| Broker | Qty | Price |
| A | 100 | 10.6 |
Then the "Sell" order book looks like:
| Broker | Qty | Price |
| A | 100 | 10.6 |
Scenario: Add a single limit order to the BUY order book
When the following orders are added to the "Buy" book:
| Broker | Qty | Price |
| A | 100 | 10.5 |
Then the "Buy" order book looks like:
| Broker | Qty | Price |
| A | 100 | 10.5 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment