Page 2 of 2

Re: API Developed Indicator into Notes

Posted: Wed Nov 13, 2019 7:52 pm
by blk
Hi Andrey,

Thanks for the update, I guess 1 second will do for now.

The idea was to push data only when we have an alert instead of keep pulling the URL - I understand this will be added in the future.

Thanks again,
blk

Re: API Developed Indicator into Notes

Posted: Sat Nov 16, 2019 3:36 pm
by kb_trader
Once a second would be useful indeed.

Thank you!

Re: API Developed Indicator into Notes

Posted: Wed Jan 22, 2020 1:13 am
by kb_trader
What happened with this finally...noticed this in 7.1.0 build 27...but there are no details.

 2822  Changed  Enhancement  The functionality for the "Cloud notes" column was updated.

Re: API Developed Indicator into Notes

Posted: Wed Jan 22, 2020 11:24 am
by Andry API support
Hi kb_trader,
Some minor Cloud Notes issues have been fixed for the latest build.
Custom Cloud Notes update interval is being tested at the moment and expected for the next release.

Re: API Developed Indicator into Notes

Posted: Tue Jan 05, 2021 10:09 pm
by information123
Any resolution to this reducing cloud notes time getting set down to 1 second?  As this was about a year ago.

Re: API Developed Indicator into Notes

Posted: Wed Jan 06, 2021 8:31 am
by Svyatoslav
Hi. Not sure if this was announced/documented properly, but for a while now you can add 'X-Bookmap-Cloud-Notes-Refresh-Delay-Millis' Header to what your notes HTTP(S) url returns and that will determine when next notes reload happens.

E.g. if you will return a response containing
X-Bookmap-Cloud-Notes-Refresh-Delay-Millis: 5000
Bookmap is supposed to refresh these notes in 5 seconds.
You can go as low as 100ms, but that usually isn't necessary. Please be mindful about CPU load that it generates - parsing notes is not very efficient currently, so if you parse huge file every 100ms - that's going to be noticeable.

Re: API Developed Indicator into Notes

Posted: Wed Jan 06, 2021 7:06 pm
by information123
Okay so currently I am running off a local file path file:///C:\FILEPATH\file.csv .  Where in the syntax there am I inputting that code?

Re: API Developed Indicator into Notes

Posted: Wed Jan 06, 2021 7:10 pm
by Svyatoslav
Hi. Unfortunately you can't do that with a local file, only with actual server that serves files via HTTP. You can use any server, for example such as the one built into PHP: https://www.php.net/manual/en/features. ... server.php and then make it return this header as part of response (in case of PHP you'll have to write a few lines in PHP to achieve that)