How to import custom API modules into Bookmap
Re: How to import custom API modules into Bookmap
where i can find the text market data file that works for Layer0ApiDemo.DemoTextDataReplayProvider?
Tags:
-
- Posts: 551
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 86 times
Re: How to import custom API modules into Bookmap
Here is a zipped sample attached.
- Attachments
-
- feed_Multiplatform_.simpleformat.zip
- (424.91 KiB) Downloaded 1584 times
Re: How to import custom API modules into Bookmap
Dear AndreyR, fundraiser, and Serg,
"Market maker" source code at
https://github.com/BookmapAPI/simple-de ... aker1.java
is no longer available.
The code can be extremely useful for studying purpose.
For example,
https://github.com/BitMEX/sample-market-maker
by Bitmex using Martingale system(large bet size away from the bollinger mid line) for volume
weighted average closely track the turning point was extremely useful source codes to
study and understand Bitmex websocket API of bulk new limit/amend/cancel orders, processing
vectors of orders in a single API call.
"Market maker" source code at
https://github.com/BookmapAPI/simple-de ... aker1.java
is no longer available.
The code can be extremely useful for studying purpose.
For example,
https://github.com/BitMEX/sample-market-maker
by Bitmex using Martingale system(large bet size away from the bollinger mid line) for volume
weighted average closely track the turning point was extremely useful source codes to
study and understand Bitmex websocket API of bulk new limit/amend/cancel orders, processing
vectors of orders in a single API call.
-
- Posts: 551
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 86 times
Re: How to import custom API modules into Bookmap
Hi ingyukoh,
By the moment the Market maker was removed it was still under construction (and that was actually the reason to remove it). Even if it was there it would not be useful anyway.
By the moment the Market maker was removed it was still under construction (and that was actually the reason to remove it). Even if it was there it would not be useful anyway.
Re: How to import custom API modules into Bookmap
Hello, I am getting the following error when trying to add the indicators.jar file. No entry points found in jar. See attachment please for further details. I have followed the instructions in the previous post here: https://www.bookmap.com/forum/viewtopic.php?f=3&t=52
- Attachments
-
- NoEntry.JPG (74.4 KiB) Viewed 24625 times
-
- Posts: 551
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 86 times
Re: How to import custom API modules into Bookmap
Hi gravanoc,
I need to see your indicator's source file and your log. You can write me a private message.
I need to see your indicator's source file and your log. You can write me a private message.
Re: How to import custom API modules into Bookmap
Hi,
Your support team sent me instructions describing on how to sign my module:
Thereby several questions:
1. @UnrestrictedData. What import file contains this annotation? I can't recognize it. What is the strategy entry point if I use @Layer1Injectible? Can you please share a sample code?
2. In what format should I "sent it "to you? *.jar? sources? link to GitHub?
Your support team sent me instructions describing on how to sign my module:
- step 1 is "add @UnrestrictedData annotation to your strategy entry point"
- step 2 is "send it to us"
- then we sign it and signature becomes available within 15 min. then you just restart bookmap and it should work.
Thereby several questions:
1. @UnrestrictedData. What import file contains this annotation? I can't recognize it. What is the strategy entry point if I use @Layer1Injectible? Can you please share a sample code?
2. In what format should I "sent it "to you? *.jar? sources? link to GitHub?
-
- Posts: 551
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 86 times
Re: How to import custom API modules into Bookmap
Hi hesaid,
1. The api-core lib seems to be outdated in your case.
In your gradle.build (I only assume you're using it and developing for Bookmap 7.1)
Set your version somewhere between 7.1.0.35 and the latest (7.1.0.68 as at dec 2020) depending on your Bookmap release version. Rebuild your project. Let me know if you're not using gradle or using any other Bookmap version.
As soon as the api-core lib is updated your IDE will recognize the annotation.
The @Layer1Injectable is added to the entry point so place the @UnrestrictedData above the @Layer1Injectable annotation.
2. Submit the jar or a link to the jar in a message to support.
1. The api-core lib seems to be outdated in your case.
In your gradle.build (I only assume you're using it and developing for Bookmap 7.1)
Code: Select all
compileOnly group: 'com.bookmap.api', name: 'api-core', version: '7.1.0.35';
As soon as the api-core lib is updated your IDE will recognize the annotation.
The @Layer1Injectable is added to the entry point so place the @UnrestrictedData above the @Layer1Injectable annotation.
2. Submit the jar or a link to the jar in a message to support.
-
- Posts: 4
- Joined: Sun Dec 13, 2020 2:24 pm
Re: How to import custom API modules into Bookmap
I also came into the previously aforementioned error attached. I have changed the build.gradle to my current version but I have not found the entry point part for the @UnrestrictedData insertion. Did you get any resolution here?
-
- Site Admin
- Posts: 279
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: How to import custom API modules into Bookmap
information123, do you mean that there is no UnrestrictedData annotation in the API libraries corresponding to latest 7.1 build? That sounds weird, could you please share your gradle build file and exact error you are getting?
http://maven.bookmap.com/maven2/release ... 1.0.62.jar contains it under velox.api.layer1.annotations package.
If what you mean that bookmap says "No entry points found" - that can be many things, but the most common one is compiling the add-on with wrong Java version (must be java 8 for 7.1 or anything between java 8 and java 14 for 7.2). Log file produced by bookmap when you load your jar for the first time should tell more ("for the first time" part is important because bookmap caches entry points based on file hash - you have to modify the file to make it get indexed again)
http://maven.bookmap.com/maven2/release ... 1.0.62.jar contains it under velox.api.layer1.annotations package.
If what you mean that bookmap says "No entry points found" - that can be many things, but the most common one is compiling the add-on with wrong Java version (must be java 8 for 7.1 or anything between java 8 and java 14 for 7.2). Log file produced by bookmap when you load your jar for the first time should tell more ("for the first time" part is important because bookmap caches entry points based on file hash - you have to modify the file to make it get indexed again)