Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic data request doesn't work anymore after some last rib source code modifications #21

Open
jpuser2 opened this issue Dec 2, 2022 · 1 comment

Comments

@jpuser2
Copy link

jpuser2 commented Dec 2, 2022

My test script

image

Result in the console

image

Thank you in advance for helping on this

@lbilli
Copy link
Owner

lbilli commented Dec 2, 2022

The code uses IBWrap directly, which is just a base class whose methods don't do anything except print a warning.

In general you want to define your own callbacks wrapper as a new class derived from IBWrap and implement your customized functionality.

IBWrapSimple is an example of such a derived class. It used to be inside the package but now it has been moved to the examples/ folder.

To use it as is, just put a copy of IBWrapSimple.R in your local folder and include it in your R session, i.e. replace:

wrap <- IBWrap$new()

with something like

include("IBWrapSimple.R")
wrap <- IBWrapSimple$new()

Eventually, you want to modify the functions in IBWrapSimple.R to suit your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants