API Developed Indicator into Notes
Re: API Developed Indicator into Notes
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
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
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.
2822 Changed Enhancement The functionality for the "Cloud notes" column was updated.
-
- Posts: 549
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: API Developed Indicator into Notes
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.
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.
-
- Posts: 4
- Joined: Sun Dec 13, 2020 2:24 pm
Re: API Developed Indicator into Notes
Any resolution to this reducing cloud notes time getting set down to 1 second? As this was about a year ago.
-
- Site Admin
- Posts: 279
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: API Developed Indicator into Notes
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.
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.
-
- Posts: 4
- Joined: Sun Dec 13, 2020 2:24 pm
Re: API Developed Indicator into Notes
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?
-
- Site Admin
- Posts: 279
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: API Developed Indicator into Notes
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)