API Developed Indicator into Notes

Custom indicators, trading strategies, data export and recording and more...
kb_trader
Posts: 30
Joined: Wed Oct 09, 2019 10:49 pm
Been thanked: 13 times

API Developed Indicator into Notes

Post by kb_trader » Wed Oct 16, 2019 2:59 pm

Hi guys...I have a few indicators/event alerts I’ve done with the API that populate a table/panel and I wish to have these values automatically thrown into the Notes column without the need to go through Excel.Since Bookmap does not have RTD capability I wanted to bypass Excel entirely and print straight to “Notes”.

If anyone has an API example or can point to instructions on how to do this in Java it would be helpful.

Thank you

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

Re: API Developed Indicator into Notes

Post by Andry API support » Thu Oct 17, 2019 11:48 am

Hi kb_trader,
I'll make an example soon I guess.

mpxtreme
Posts: 33
Joined: Thu Oct 25, 2018 12:20 am
Been thanked: 6 times

Re: API Developed Indicator into Notes

Post by mpxtreme » Sat Oct 19, 2019 12:37 am

Yes also interested in this...looking forward to your example!

Also it would be very useful to have just the Notes column "RTD" capable instead of having to use manual import of a CSV.
That way any dynamic signals,studies or levels generated from other platforms can automatically push the markers into that notes column. 

A much needed feature.

Thanks
 

luis
Posts: 6
Joined: Mon Aug 19, 2019 11:09 pm
Has thanked: 1 time

Re: API Developed Indicator into Notes

Post by luis » Wed Oct 23, 2019 6:43 pm

Hi Andrey,

Thanks, it will be great to push data from API Code to Notes on BM.

 

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

Re: API Developed Indicator into Notes

Post by Andry API support » Fri Nov 01, 2019 2:51 pm

It takes somewhat longer then expected because it involves some changes of the core.
If you need it asap what you can do is start a http server which will get updates from your modules and feed them to Bookmap.
In that case please note that currently the least notes update interval is 1 minute.

mpxtreme
Posts: 33
Joined: Thu Oct 25, 2018 12:20 am
Been thanked: 6 times

Re: API Developed Indicator into Notes

Post by mpxtreme » Fri Nov 01, 2019 4:29 pm

..and these core changes would be a partial move towards being able to do RTD?

thanks
mpxtreme

Svyatoslav
Site Admin
Posts: 278
Joined: Mon Jun 11, 2018 11:44 am
Has thanked: 2 times
Been thanked: 31 times

Re: API Developed Indicator into Notes

Post by Svyatoslav » Mon Nov 04, 2019 10:46 am

Hi mpxtreme,
>..and these core changes would be a partial move towards being able to do RTD?
Right now it's more about letting you update notes more frequently.
Regarding improved notes API - eventually we'll hopefully implement some sort of custom columns, which will allow anyone showing any sort of data there (including writing an RTD connector on top of it). But it's not something scheduled for any specific date.

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

Re: API Developed Indicator into Notes

Post by Andry API support » Fri Nov 08, 2019 2:13 pm

Hi! Take a look at this example. NoteUnit is a note template. BboReporter creates notes for bbo (bids only) and sends them to the server.
please note the port number 8089 is used so if anything goes wrong check if any other application uses it (with software like TcpView). And change it if you need to.
Your server url will be (for 8089 port)

Code: Select all

http://127.0.0.1:8089
The least refresh rate is still once a minute but we'll reduce it next week.
Attachments
BboReporter.java
(6.13 KiB) Downloaded 421 times
NoteUnit.java
(4.27 KiB) Downloaded 460 times

blk
Posts: 44
Joined: Fri Nov 01, 2019 8:59 pm
Has thanked: 7 times

Re: API Developed Indicator into Notes

Post by blk » Tue Nov 12, 2019 7:30 pm

this is very interesting, thanks for sharing Andrey.

I wonder if we will have an option to push data to the notes instead of waiting the time interval?

Thanks,
blk

 

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

Re: API Developed Indicator into Notes

Post by Andry API support » Wed Nov 13, 2019 8:48 am

Hi blk,
the least refresh rate planned to implement for notes is once a second. If that is really critical for you we can make it less than a second. What is the least desired refresh interval for you?
With a short refresh rate it will make no difference between pushing notes and making responses to Bookmap's requests. And we do not have a target date for pushing notes feature yet.

Post Reply