forked from ib-ruby/ib-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
43 lines (22 loc) · 1.16 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Plan:
1. IB#send_message method should accept block, thus compressing subscribe/send_message
pair into a single call - to simplify DSL.
2. IB Connection uses delays to prevent hitting 50 msgs/sec limit:
http://finance.groups.yahoo.com/group/TWSAPI/message/25413
3. IB Connection reconnects gracefully in case if TWS disconnects/reconnects
4. Messages should be Models as well (audit trail), @received_at timestamp in messages
5. Detailed message documentation
6. Move Float values to Decimal (roundoff errors showed in spec!)
Done:
1. Create integration tests for basic use cases
2. IB#subscribe should accept regexes.
3. Compatibility with API v.966, 967
4. Collect all received messages in Connection#received[:type] by default
5. Flow handlers: Connection#wait_for / Connection#received?
6. Add ActiveRecord backend to all Models
7. Make ActiveModel-like attributes Hash and serialization for tableless Models
Ideas for future:
1. Decouple Broker-specific Adapter from universal high-level messaging layer
(potentially adding other broker adapters)
2. Tweak IB::Message API for speed (use class methods)
3. Create integration tests for more use cases (spec/README)