al6x / ib_api Goto Github PK
View Code? Open in Web Editor NEWInteractive Brokers API in TypeScript / Kotlin / Java / Nim
Interactive Brokers API in TypeScript / Kotlin / Java / Nim
Hi, I was trying out your API and received the following error. Any thoughts?
(python310) myhomedir@mymachine:~/ib_api$ bin/crun
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (21, 1) Class 'IBWrapper' is not abstract and does not implement abstract member public abstract fun error(id: Int, errorCode: Int, errorMsg: String!, advancedOrderRejectJson: String!): Unit defined in com.ib.client.EWrapper
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (113, 3) 'error' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (155, 3) 'tickSize' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (193, 3) 'tickOptionComputation' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (209, 3) 'orderStatus' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (229, 3) 'updatePortfolio' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (264, 3) 'updateMktDepth' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (270, 3) 'updateMktDepthL2' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (304, 3) 'realtimeBar' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (332, 3) 'position' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (388, 3) 'positionMulti' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (528, 3) 'pnlSingle' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (546, 3) 'tickByTickAllLast' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (553, 3) 'tickByTickBidAsk' overrides nothing
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.3.72:compile (compile) on project ib_api: Compilation failure: Compilation failure:
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[21,1] Class 'IBWrapper' is not abstract and does not implement abstract member public abstract fun error(id: Int, errorCode: Int, errorMsg: String!, advancedOrderRejectJson: String!): Unit defined in com.ib.client.EWrapper
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[113,3] 'error' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[155,3] 'tickSize' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[193,3] 'tickOptionComputation' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[209,3] 'orderStatus' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[229,3] 'updatePortfolio' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[264,3] 'updateMktDepth' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[270,3] 'updateMktDepthL2' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[304,3] 'realtimeBar' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[332,3] 'position' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[388,3] 'positionMulti' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[528,3] 'pnlSingle' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[546,3] 'tickByTickAllLast' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[553,3] 'tickByTickBidAsk' overrides nothing
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.