Search found 546 matches
- Tue Jun 22, 2021 1:14 pm
- Forum: Bookmap API
- Topic: Reading out OrderBookMbo
- Replies: 4
- Views: 2773
Re: Reading out OrderBookMbo
UPDATE Strangely this first call of onMboSend behaves as if it is communicating not just the change (order being added), but as if all current orders are being added to that level, so there seems to be something else that I don't understand about the orderbook updating functions. First you get the ...
- Tue Jun 22, 2021 10:45 am
- Forum: Bookmap API
- Topic: Trouble implementing WidgetRules?
- Replies: 8
- Views: 11682
Re: Trouble implementing WidgetRules?
Sometimes they do. It is better to keep the same version of Bookmap and api libs.
- Tue Jun 22, 2021 9:37 am
- Forum: Bookmap API
- Topic: Reading out OrderBookMbo
- Replies: 4
- Views: 2773
Re: Reading out OrderBookMbo
How do I then get all current orders that are sitting at a price level Currently, the only way is to design your own orderbook - a datastructure that links a collection of orders to certain price levels. How can I update all the levels right when I hit the checkmark in the plugin (activate it) Firs...
- Mon Jun 21, 2021 2:29 pm
- Forum: Bookmap API
- Topic: Reading out OrderBookMbo
- Replies: 4
- Views: 2773
Re: Reading out OrderBookMbo
OrderBookMbo does not support this functionality. You will actually need to make your own order book to be able to request all current order ids at a price level. This is not a hard task but please be mindful of your order book performance.
- Mon Jun 21, 2021 1:47 pm
- Forum: Bookmap API
- Topic: saving a map or list as settings
- Replies: 1
- Views: 1826
Re: saving a map or list as settings
Hi, Just add your map or list to the settings class. Settings class can be just any class. It does not need to implement any interface. Let us know if you need a more detailed info. Here are module examples. Just add your map or list to the settings class (Settings in Simplified API example, Markers...
- Mon Jun 21, 2021 1:13 pm
- Forum: Bookmap API
- Topic: Do not understand examples.
- Replies: 3
- Views: 9799
- Mon Jun 21, 2021 12:32 pm
- Forum: Bookmap API
- Topic: variable sliders in @Layer1UpstreamDataEditor ?
- Replies: 1
- Views: 1924
Re: variable sliders in @Layer1UpstreamDataEditor ?
1) If the task is just to add a GUI element your module should implement Layer1CustomPanelsGetter . Its method getCustomGuiFor returns an array of panels your GUI elements are placed on. Here is an implementation example. Changing the slider value results just in a log message. int currentSliderValu...
- Mon Jun 21, 2021 10:46 am
- Forum: Bookmap API
- Topic: Do not understand examples.
- Replies: 3
- Views: 9799
Re: Do not understand examples.
Hi,
orderbooks are initially formed with a series of depth updates happening immediately after the addon is run. So methods that initially fill and then update the orderbook are the same.
orderbooks are initially formed with a series of depth updates happening immediately after the addon is run. So methods that initially fill and then update the orderbook are the same.
- Mon Jun 21, 2021 10:07 am
- Forum: Bookmap API
- Topic: Trouble implementing WidgetRules?
- Replies: 8
- Views: 11682
Re: Trouble implementing WidgetRules?
please change the api- libs in your build.gradle to 7.2.0.16 and rebuild your project
Code: Select all
dependencies {
compileOnly group: 'com.bookmap.api', name: 'api-core', version: '7.2.0.16';
compileOnly group: 'com.bookmap.api', name: 'api-simplified', version: '7.2.0.16';
- Mon Jun 21, 2021 8:22 am
- Forum: Bookmap API
- Topic: How to Calculate Price Properly
- Replies: 2
- Views: 2102
Re: How to Calculate Price Properly
hi, we need to distinguish the Primary chart and the Bottom chart here. Primary chart has only one axis (price axis) which indicates an asset price. We may say that Primary chart is tied to an asset. So a Primary chart indicator accepts values in ticks (pips) of the asset. Where do we take pips? We ...