Page 1 of 1

calling trading commands

Posted: Mon May 06, 2019 10:14 am
by mdtrader
Is there a way to call this bookmap functions within a key listener within a own study?
https://www.dropbox.com/s/8hxqhbx8rey2m ... _12-08.png
Or is there a other (easy) way to call trading order commands only from keyboard, say press key "b" for a market buy and so on?

Thanks

Re: calling trading commands

Posted: Tue May 07, 2019 8:44 am
by Andry API support
Theoretically you can register your own global key listener and then fake a click on a button when the key is pressed. Keep in mind that it's a hackish solution and not a simple one, so it can break with the release of newer bookmap versions. We are planning to add more hotkeys eventually, but we don't have any specific plans yet.