The long awaited margin Python Strategy Editor is here!! This was a huge piece of work and we can't wait to see what you guys accomplish with it. You will be able to build your own bots and advanced orders and then share them or even sell them if they are awesome!
This release also contains our new Scalebot strategy. The bot takes advantage of the underlying volatility of the crypto markets and provides protection against exposure with stop loss. Take a look at the tutorial video here.
Python Strategy & SDK
- Open Source GitHub project created (https://github.com/MarginOpenSource). See below for more details^
- Take a look at our tutorial to learn more about it and see how to program a ping pong bot: https://www.youtube.com/watch?v=XiHq6KR9O2E
- Strategy editor channel on Discord: https://discord.gg/ymTd6P6
- Important: The Python Strategy Editor remains in beta so please test your strategies thoroughly on demo markets before using with real funds.
Scale Trading Bot
- Brand new bot that seeks to take advantage of underlying volatility of the crypto markets
- Parameters all visualised and adjustable in the chart
- Stop loss enabled
- Detailed Profit-Loss statistics showing scale/gain profits, P/L at exit, and P/L at stop loss event
- Scalebot video: https://www.youtube.com/watch?v=eRNRm6F1AQo&t=38s
Other new features
- New exchanges Binance JE and Binance US added
- Added websocket support for open orders and completed trades kraken
- Improved speed when opening pairs with many user trades
- More margin trading currency pairs for Poloniex added
- Profit-Loss indicator reworked to also provide information on your absolute P/L were you to exit at the current price
- Notification widget can show more than 99 notifications now
- New format of Bitfinex currency pairs handled
- Restoring default indicators on opening margin and new currency pairs fixed
Bug fixes
- Ethfinex & LAToken disabled
- margin mAker sell amount fix for Binance and demo markets
- Fixed decimals for view based profit/loss indicator
- Fixed handling of null values in MarketScanner widget
- Fixed saving of custom currency pair tab order for demo markets
- Kraken XXBT fix
- Fix for new Bittrex API constraint
- Small UI fix for MacOS
- Fixed crash when closing margin with detached widget
- Fixed an issue that meant logging into Kraken was blocked if your account had no funds
- Fix for profit-loss visualization in trade annotations
- Fix for Kucoin BSV-pairs
- Stability fixes
There are two ways to grab it. Either click the Update Available link in the margin login window or login to your account on https://margin.de and download from the website.
Not a customer but want to try it out? Download our free paper trading Demo here.
^In order to facilitate the development of new python strategies in the community, we have created an open source organisation on GitHub https://github.com/MarginOpenSource.
We provide a repository that contains a Strategy SDK and instructions on how to integrate it for your development using pip (https://github.com/MarginOpenSource/strategy-sdk). There is also the strategy template that can be forked or copied from https://github.com/MarginOpenSource/strategy-template, and a repository for strategies created by the margin team . If you want to use the popular ta-lib, we provide a wrapper and how to for getting it integrated with your python strategy in https://github.com/MarginOpenSource/talib-service