{"repo":"BookmapAPI/python-api","free":true,"listed":false,"github":"https://github.com/BookmapAPI/python-api","clone":"git clone https://github.com/BookmapAPI/python-api.git","description":"Create Bookmap addons using Python","language":"Java","stars":113,"topics":["indicators","trading","trading-indicator","bookmap","cryptocurrency","futures","heatmap","heatmap-visualization","market-data","stocks"],"license":"MIT","category":"trading","readme_excerpt":"Bookmap Python API What is the Bookmap Python API? The Python API gives you the ability to create your own custom Bookmap indicators using Python directly within Bookmap, without the need to use an external IDE or a code editor. Needed is only a basic knowledge of Python and a clear idea of what you want to build. Please see the Python API Quick Guide for a step-by-step guide on how to use Python API. Also see the examples directory for some examples of Python API usage. Technical requirements To run the addon only latest stable Bookmap version is required and Python = 3.6 installed on the machine. Python 2 is not supported. API reference Library import Every Bookmap API script has to import the bookmap library. You may want to set the alias to bm for convenience. Additionally, since we use the type hints below to denote parameter types, you may want to import the typing library. This is not required, but can make your code more readable. Basic functions create addon This is usually the first thing to call. It creates and returns an addon object which is then used as the entry point to other Bookmap Python API functionality. It must be called one time only. The returned addon state object is used in many other functions below. start addon It starts the communication between Bookmap and your Python script. Call it once you have added all your Event handlers. handle subscribe instrument is a function that you should define. It will be called each time you enable the addon in Bo","default_branch":null,"files":null,"tree":[],"storefront":"/r/BookmapAPI","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BookmapAPI/python-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}