How to access to historical data load from cloud?

Custom indicators, trading strategies, data export and recording and more...
rlojykishf
Posts: 3
Joined: Sat Oct 29, 2022 9:45 am

How to access to historical data load from cloud?

Post by rlojykishf » Sat Nov 05, 2022 10:49 am

Hi, how can I use historical data loaded from cloud (Rithmic)? Now I can use only data since the start of Bookmap and for SMA 144 (M1) I must wait 144 minutes to get the correct MA on chart Image.

rlojykishf
Posts: 3
Joined: Sat Oct 29, 2022 9:45 am

Re: How to access to historical data load from cloud?

Post by rlojykishf » Sat Nov 05, 2022 3:07 pm

So, after a few hours, I find out the solution.
We need to add implements BackfilledDataListener to our Indicator class.

This class has been introduced since API version 7.2, so it is necessary to change the import in build.gradle to the newest:

Code: Select all

 
        compileOnly group: 'com.bookmap.api', name: 'api-core', version: '7.4.1.bf9b3225';
        compileOnly group: 'com.bookmap.api', name: 'api-simplified', version: '7.4.1.bf9b3225';

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

Re: How to access to historical data load from cloud?

Post by Andry API support » Mon Nov 07, 2022 10:32 am

Hi, it is also recommended to use lib versions identical to your Bookmap version unless you deveop modules to be sold at the markeplace. It may also involve changing the repository name in the build.gradle. Pls see this video for details.
https://www.youtube.com/watch?v=OKSkrG_ ... el=Bookmap

Post Reply