Comments (3)
Please use bin/console to experiment with ib-api.
The code is worth looking, too.
In the ib-example resp. you find a bunch of examples how to use the program.
btw. the behavior of irb is quite normal. You require a file and get a response, if the require was successful or not. A second
require 'ib-api'
should return «false» or nil, because the file is already required.
A last word: please use ruby 3.0 if possible.
from ib-api.
How can I use bin/console
when I'm including this in a different project? I haven't pulled this lib directly, it's a dependency. I'll have a look through it though and see if there's anything different there.
Sorry I just realised the code snippet I posted doesn't include the main terminal prompt after it. The issue I'm having is not it returning true
- I know that's the normal behaviour for require. What's happening, is I'm immediately kicked out of rib and return to my main terminal
I'm just installing ruby 3 now and will test if there's any change there
from ib-api.
Appears to work just fine on ruby 3.0.2
from ib-api.
Related Issues (8)
- Specs don't run HOT 2
- problem with grains options prices HOT 12
- problem with JPY futures options HOT 7
- `ox` import raises an exception HOT 2
- Subscribing to market data with the latest TWS return error "Please use 'Key=Value' format for Misc options" HOT 27
- Apply rubocop HOT 2
- Question: Can i use ib-api to just monitor for new orders / fills? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ib-api.