Open shaikrehman07 opened 4 months ago
They are available in the net.jacobpeterson.alpaca.model.util.apitype
package (Javadoc). Make sure you're using the Maven artifact dependency. Many classes get generated at build time.
only the above mentioned classes are not generated when using maven dependency for build.
Can you share your build.gradle
or pom.xml
or some code snippets showing the imported packages? I'm unable to reproduce your issue using version 10.0.1
.
Sure. Please find pom.xml file and screenshot of code. <img width="901" alt="code" src="https://github.com/user-attachments/assets/632ae010-5af5-4c38-b5d3-4bbc7577d
be7">
Your pom.xml
appears to look fine. Can you share the build stacktrace/error and the code snippet where you are getting a compilation error?
Attached the code as you can see import for AlpacaAPI is fine but other 2 classes are given compile error.
Run mvn build
and paste the output. Can't see what the compilation errors are in the screenshot. Could also be IntelliJ's cache. Invalidate the cache by going to File > Invalidate Caches... > Invalidate & Restart.
Is this still an issue for you?
change version to 10.0.0 I am getting the same error wit 10.0.1
changing to version 10.0.0 helped me. Thanks.
TraderAPIEndpointType, MarketDataWebsocketSourceType, BrokerAPIEndpointType these are not found when using SDK.