Integration with Ninjatrader

Custom indicators, trading strategies, data export and recording and more...
vaibhavkamble
Posts: 1
Joined: Sat Dec 12, 2020 11:03 pm

Integration with Ninjatrader

Post by vaibhavkamble » Sat Dec 12, 2020 11:18 pm

I am keen to know whether its possible to do following

1. Send trading signals or orders from Ninjatrader to Bookmap and if so which example I should refer to understand how to send orders from external platforms?

2. Is it possible to develop strategy that can open and manage multi contract position with more than one targets and trailing stops? Any example exists showing this?

3. Is it possible to develop custom bar type such as non time based bars like Renko or Tick bars?

Thank you,
Vaibhav

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

Re: Integration with Ninjatrader

Post by Andry API support » Thu Dec 17, 2020 12:30 pm

hi Vaibhav,
the answer for all three questions is "theoretically yes, but you'll need some program development skills".
1. Bookmap addon is a java code running inside bookmap process without many additional restrictions. You can connect it to signals you get from other platforms, but you'll have to take care of all the interactions yourself.
2. Bookmap Java API enables full flexibility, including creating indicators and strategies of multiple contracts. You would get position on every contract and could synthesize multicontract position from it. However please note that currently you don't get position updates in replay and bookmap simulated trading mode (you still do if you use server-side simulation, such as demo accounts). To learn more on Bookmap API, go to the knowledge base https://www.bookmap.com/knowledgebase/docs/API
3. You do not need time intervals (e.g. Bookmap chart) for Renko bars. So you may want to spawn another window and draw data in it. Bookmap allows to perform some drawing, take a look at these demos first. You'll also need ScreenSpacePainter (the same demos) to listen to the Bookmap's chart size to sync the Bookmap's chart and the Renko chart timespan.
https://github.com/BookmapAPI/DemoStrat ... acepainter

Post Reply