interactivebrokerspythonbot's People
Forkers
cburns32 webclinic017 cotrader sunnyho38 aagarwal937 mingyangzhang77 merafx ptamarin sam-hk shinigami385 aizwellenstan pascaloberle rejoiceblue kafdub jbh1128d1 bomerzz delfino61 c1hris1234 amiteitanwochit ramirorulo arindam899 xbrucelee88x renfa n24x robbyls lemoncandy42 ibrainscn fxmag dhlsr diveyez noamsi talmoscovitz sdoof ogolovch joshbenjamin3 vuduclong0309 meimeipan elchulito88 karenamu akbongu wangzhushi jongming etesys masoud-fereidonian yairkara rovguy yyyy202 sclfunonr mo33n nskselva pico12interactivebrokerspythonbot's Issues
Close price is not updating
Issue
The close price does not change each time a new bar is generated.
Cause
for bar in self.bars:
closes.append(bar.close)
In the for loop above "bar" should be changed to something else so that it's not overwritting "bar" from:
def on_bar_update(self, reqId, bar, realtime):
TypeError: IBApi.error() takes 4 positional arguments but 5 were given
Has anything been modified recently as I'm getting this error without making any changes to the code?
line 104, in run_loop
self.ib.run()
TypeError: IBApi.error() takes 4 positional arguments but 5 were given
ommitted queryTime
Hey Jake, i just looked at your video and code. I like it a lot.
What I have not understood in all detail, but believe is not correct is the handling of queryTime when requesting data, i.e. should not line 101:
self.ib.reqHistoricalData(self.reqId,contract,"","2 D",str(self.barsize)+mintext,"TRADES",1,1,True,[])
correctly be:
self.ib.reqHistoricalData(self.reqId,contract, queryTime ,"2 D",str(self.barsize)+mintext,"TRADES",1,1,True,[])
Thank you for your great work
Why do I get this error?
Historical Market Data Service error message:No market data permissions for ISLAND STK
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.