Entry point error

Custom indicators, trading strategies, data export and recording and more...
DGDario
Posts: 14
Joined: Wed Feb 26, 2020 8:39 pm
Has thanked: 6 times

Entry point error

Post by DGDario » Wed Feb 26, 2020 8:43 pm

Hi, i'm trying to build my first indicator for bookmap.

I've downloaded the simple-demo project from github and exported it with eclipse.

When I try to add the jar file to bookmap it shows the error "No entry points found in jar. Entry point is a class marked with velox.api.layer1.annotations.Layer1Attachable annotation.

Where is the problem?

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: Entry point error

Post by Andry API support » Thu Feb 27, 2020 8:46 am

Hi DGDario,
take a look at this example (at annotations entry points should be marked with):

Code: Select all

@Layer1SimpleAttachable
@Layer1StrategyName("Last trade + icons: live")//insert your strategy name
@Layer1ApiVersion(Layer1ApiVersionValue.VERSION2)
public class LastTradeDemoIconsNoHistory extends LastTradeDemoNoHistory
{
Place these annotations right above your class declaration (it is LastTradeDemoIconsNoHistory in this example).

Andrea
Posts: 1
Joined: Sat Mar 21, 2020 12:09 pm

Re: Entry point error

Post by Andrea » Sat Mar 21, 2020 12:27 pm

Hi, I have the same problem!

I modified "BarDemoWithHistoryData.java" in the simplified/demo folder (only the color of the indicator!);

build successfully with "gradle jar";

when loading the file in bookmap I receive that message!


All annotations are present, in all files;

Loading api modules works only with the original "bm-strategies.jar"


What can I do?!  thank you

 

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: Entry point error

Post by Andry API support » Mon Mar 23, 2020 9:51 am

Hi!
Try to do it again. Please make a full-sized screenshot of the message you're getting and send me (in a private message or as an attachment to your post) together with your log file (for Windows it is in C:\Bookmap\Logs).

Post Reply