lbilli / rib

An R implementation of Interactive Brokers API
GNU General Public License v3.0
34 stars 7 forks source link

No initialize method for IBClient class after update? #22

Closed YuriWerewolf closed 1 year ago

YuriWerewolf commented 1 year ago

Looks like there is no initialize function now for the IBClient object now. ic <- IBClient$new(wrap) Error in IBClient$new(wrap) : Called new() with arguments, but there is no initialize method.

I have checked the code in the class description and don't see it as well.

lbilli commented 1 year ago

As of 71d7e1b there's no need for an initializer as wrap has been moved out of IBClient. Instead, it is passed as argument to checkMsg().

The new way is:

ic <- IBClient$new()

ic$checkMsg(wrap)
YuriWerewolf commented 1 year ago

Thanks, got you