Search found 276 matches

by Svyatoslav
Wed Jun 16, 2021 2:59 pm
Forum: Bookmap API
Topic: Data recorder - discrepancy in "Quotes" recorded and displayed in BM
Replies: 6
Views: 3977

Re: Data recorder - discrepancy in "Quotes" recorded and displayed in BM

arya4700, if you are talking about API - please share short example of the code. I'm pretty sure you are forgetting to multiply the value by pips. However I see you have a support ticket where you seem to be using two instruments with different expirations, so data does not match. If that's what you...
by Svyatoslav
Thu Jun 03, 2021 8:16 am
Forum: Bookmap API
Topic: Rename Indicator or Widget
Replies: 2
Views: 1623

Re: Rename Indicator or Widget

One option would be using core L1 api instead of simplified API. Then you can register/unregister widgets at any point.

I think we could handle widget renaming as a feature request, but I'm not sure about priority (and thus when it gets done)
by Svyatoslav
Sat May 29, 2021 7:38 pm
Forum: Bookmap API
Topic: Example of custom icons?
Replies: 5
Views: 2684

Re: Example of custom icons?

Hi. Let me jump in... While there is no readily available example for the offset specifically, there is nothing special about the offset. Take a look at ScreenSpacePainter demos: https://github.com/BookmapAPI/DemoStrategies/tree/master/Strategies/src/main/java/velox/api/layer1/simpledemo/screenspace...
by Svyatoslav
Thu May 13, 2021 4:38 pm
Forum: Bookmap API
Topic: How to cancel orders at once?
Replies: 8
Views: 11484

Re: How to cancel orders at once?

Well, you can catch the text message via Layer1ApiAdminListener#onSystemTextMessage, but you won't be able to clearly match it to an order (you can do it approximately via some heuristics, but that's not ideal, of course)
by Svyatoslav
Thu May 13, 2021 4:34 pm
Forum: Bookmap API
Topic: Trading on NinjaTrader8 from Bookmap via Java
Replies: 9
Views: 4950

Re: Trading on NinjaTrader8 from Bookmap via Java

Note that where there will be a problem is monitoring built-in indicators. That's not currently supported. However CVD is really simple (just add up trade sizes that pass your filter), so you probably will be able to easily implement it yourself.
by Svyatoslav
Thu May 13, 2021 7:28 am
Forum: Bookmap API
Topic: Trading on NinjaTrader8 from Bookmap via Java
Replies: 9
Views: 4950

Re: Trading on NinjaTrader8 from Bookmap via Java

Andrey might provide more details later, but in two words - there should be no major difference between platforms, so you'd trade through Ninja in a way very similar to how you'd trade through most other providers. So you would just send and update orders using classes implementing OrderSendParamete...
by Svyatoslav
Thu May 13, 2021 5:02 am
Forum: Bookmap API
Topic: How to cancel orders at once?
Replies: 8
Views: 11484

Re: How to cancel orders at once?

It's not currently supported, you have to update those one by one. But I don't think Rithimic will show you a warning unless you are moving a really large number of orders.
by Svyatoslav
Wed May 12, 2021 12:20 pm
Forum: Bookmap API
Topic: How to cancel orders at once?
Replies: 8
Views: 11484

Re: How to cancel orders at once?

Yes, just use entire range of Long to decrease chances of collision with any other simultaneously executed batch.
by Svyatoslav
Wed May 12, 2021 7:23 am
Forum: Bookmap API
Topic: How to cancel orders at once?
Replies: 8
Views: 11484

Re: How to cancel orders at once?

Hi. There is no true "cancel all" in API at this point, but pay attention to OrderCancelParameters#batchId and OrderCancelParameters#batchEnd. So you send a bunch of cancellations with the same batch ID, then send batch end flag in last message. This way bookmap knows not to send redundant cancellat...
by Svyatoslav
Thu May 06, 2021 11:56 am
Forum: Bookmap API
Topic: How to send messages between addons?
Replies: 3
Views: 2469

Re: How to send messages between addons?

Hi,
Yes, just use Layer1ApiUserInterModuleMessage. Send it down the stack, then catch it when it goes back up. You just need to subscribe to core API as Layer1ApiAdminListener using Api#getProvider#addListener