Skip to content

Commit 794d002

Browse files
authored
Update README.md
1 parent 889a32f commit 794d002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ A Gem will be released shortly.
1414

1515
`ib-api` provides a simple interface to low-level TWS API-calls.
1616

17-
In its plain vanilla usage, it just exchanges messages with the TWS. The User is responsible for any further data processing.
17+
In its plain vanilla usage, it just exchanges messages with the TWS. The user is responsible for any further data processing.
1818

1919

2020
Even then, it needs just a few lines of code to place an order
2121

2222
```ruby
23-
# connect
23+
# connect with default parameters
2424
ib = IB::Connection.new
2525

2626
# define a contract to deal with
2727
the_stock = IB::Stock.new symbol: 'TAP'
2828

2929
# order 100 shares for 35 $
30-
limit_order = Order.new limit_price: 35, order_type: 'LMT', total_quantity: 100, action: :buy
30+
limit_order = IB::Order.new limit_price: 35, order_type: 'LMT', total_quantity: 100, action: :buy
3131
ib.send_message :PlaceOrder,
3232
:order => limit_order,
3333
:contract => the_stock,

0 commit comments

Comments
 (0)