Search found 276 matches

by Svyatoslav
Thu Apr 01, 2021 8:41 am
Forum: General forum
Topic: Orders and positions from DOM
Replies: 1
Views: 3488

Re: Orders and positions from DOM

Average position price is shown as a thin line on the price axis.
by Svyatoslav
Tue Mar 16, 2021 7:14 pm
Forum: Bookmap API
Topic: Which method do I need to implement for switching instruments
Replies: 4
Views: 2567

Re: Which method do I need to implement for switching instruments

> I seem to recall other indicators are able to repopulate without reloading the indicator. I don't think this relates to core API. Simplified API - yes, but it sacrifices efficiency for simplicity. When tab is opened (or reopened) you get a call to ScreenSpacePainterFactory#createScreenSpacePainter...
by Svyatoslav
Tue Mar 16, 2021 4:00 pm
Forum: Bookmap API
Topic: Which method do I need to implement for switching instruments
Replies: 4
Views: 2567

Re: Which method do I need to implement for switching instruments

If I'm not mistaken, when tab is switched old ScreenSpacePainter gets disposed (you get a callback and must destroy relevant canvases) and then you will get a request to create a new one when user switches back. Do you handle disposing the old one/creating new one?
by Svyatoslav
Mon Mar 15, 2021 8:05 pm
Forum: Bookmap API
Topic: How to change the price value shown in data tooltip?
Replies: 6
Views: 2620

Re: How to change the price value shown in data tooltip?

You are still using simplified API. We have confirmed that what you are experiencing is bookmap bug and will fix it, hopefully soon.
by Svyatoslav
Mon Mar 15, 2021 8:02 am
Forum: Bookmap API
Topic: Unable to import a new indicator
Replies: 1
Views: 9865

Re: Unable to import a new indicator

Hi. Start with inspecting the logs that were produced first time you tried loading this jar file. There are no known caching issues, typically you'll find something like classes being compiled with wrong version of Java (above java 14 for 7.2).
by Svyatoslav
Fri Mar 12, 2021 11:27 am
Forum: General forum
Topic: Computer Configuration for Trading
Replies: 42
Views: 64463

Re: Computer Configuration for Trading

Not via UI, but if you open "C:\Bookmap\Config\launcher-options.conf" on Windows you can edit xmx parameter there
by Svyatoslav
Fri Mar 12, 2021 9:58 am
Forum: General forum
Topic: Computer Configuration for Trading
Replies: 42
Views: 64463

Re: Computer Configuration for Trading

Hi. At this point GPU usually does not matter much. It just has to be "good enough", but going overboard usually does not help. In this case it seems that crypto providers that you use just provide overly detailed data - since the minimal transaction size is usually quite small and price granularity...
by Svyatoslav
Fri Mar 12, 2021 9:54 am
Forum: Bookmap API
Topic: How to change the price value shown in data tooltip?
Replies: 6
Views: 2620

Re: How to change the price value shown in data tooltip?

Is your indicator using core API or simplified? Which version of bookmap are you using?
by Svyatoslav
Mon Mar 08, 2021 1:35 pm
Forum: Bookmap API
Topic: Instrumentinfo null pointer exception
Replies: 7
Views: 2981

Re: Instrumentinfo null pointer exception

I'm sorry, but I failed to reproduce that quickly. This is the code I used to test it:  LastTradeDemoNoHistoryUsingPips.java and it loaded fine with live Rithmic when I restarting bookmap with "load workspace" checkbox on the launchpad. Could you please provide more details? Ideally - a code sample ...
by Svyatoslav
Mon Mar 08, 2021 1:23 pm
Forum: Bookmap API
Topic: EDT Violation when popup window is used
Replies: 6
Views: 3766

Re: EDT Violation when popup window is used

initialize is not guaranteed to be started from EDT. You should use SwingUtilites.invokeLater in order to do any UI work there.

https://docs.oracle.com/javase/tutorial ... patch.html