DemoTextDataReplayProvider

Custom indicators, trading strategies, data export and recording and more...
trader
Posts: 3
Joined: Wed Aug 28, 2019 4:19 pm

DemoTextDataReplayProvider

Post by trader » Wed Aug 28, 2019 4:27 pm

Does anyone have some sample data files that can be run in the DemoTextDataReplayProvider program?

AndreyR
Posts: 150
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: DemoTextDataReplayProvider

Post by AndreyR » Thu Aug 29, 2019 8:58 am

Hi trader,
a zipped file attached
Attachments
feed_Multiplatform_.zip
(424.96 KiB) Downloaded 4 times

trader
Posts: 3
Joined: Wed Aug 28, 2019 4:19 pm

Re: DemoTextDataReplayProvider

Post by trader » Thu Aug 29, 2019 12:46 pm

Thanks. When I try to open that data file, I get the message "Failed to open file. Reason: Unknown format. If you think this is a valid file - please contact Bookmap developers. I am not sure if I have loaded DemoTextDataReplayProvider correctly. I get the above message when I try "loading from a jar file" as described here:
https://github.com/BookmapAPI/Layer0Api ... tarted.pdf
When trying the configuration files method, I get a critical error when Bookmap opens: illegalArgumentException and ClassNotFoundException (I will send error report). I am new to Java so I assume I am doing something incorrect as far as pointing to the right files

AndreyR
Posts: 150
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: DemoTextDataReplayProvider

Post by AndreyR » Thu Aug 29, 2019 1:21 pm

oh OK,
There's the 'Environment setup' section in that pdf.
Have you read it and have you managed to import the project into your IDE?
If yes, export that DemoTextDataReplayProvider as a jar (in Eclipse that is right click on DemoTextDataReplayProvider -> Export -> ... ).
Then place that *.jar file into the C:\Bookmap\API\Layer0ApiModules (my Bookmap is at my C: drive). It should work.
Let me know if you've performed all these steps.

trader
Posts: 3
Joined: Wed Aug 28, 2019 4:19 pm

Re: DemoTextDataReplayProvider

Post by trader » Thu Aug 29, 2019 2:31 pm

Ok, I tried exporting as jar and putting in Layer0ApiModules folder, but not exactly sure what to expect from there. If I open bookmap in replay mode and try to open the sample text file, I will get the "failed to open file" error I mentioned above. 

AndreyR
Posts: 150
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: DemoTextDataReplayProvider

Post by AndreyR » Thu Aug 29, 2019 3:10 pm

Would you send me your latest log file?

Post Reply