UNPKG

crypto-nodes

Version:

98 lines (80 loc) 2.62 kB
<style> .exchanges-config .exchange-wrap { clear: both; margin: 10px; padding-bottom: 20px; border-bottom: 1px solid black; } .exchanges-config h4 { font-size: 20px; font-weight: bold; padding: 10px 10px 10px 0px; } .exchange-wrap img { float: right; padding: 10px; } .exchange-wrap .exchange-remove { float: right; padding: 0px; margin-top: 10px; margin-left: 0px; } .exchanges-config div label { display: inline; } .exchanges-config div input { float: left; margin-right: 10px; margin-top: 3px; } .exchanges-config div.ex_cb_auth_key, .exchanges-config div.ex_cb_auth_password, .exchanges-config div.ex_cb_auth_secret { height: 32px; width: 300px; margin-top: 10px; } .exchanges-config div.ex_cb_auth_key label, .exchanges-config div.ex_cb_auth_password label, .exchanges-config div.ex_cb_auth_secret label { display: inline; } .exchanges-config div.ex_cb_auth_key input, .exchanges-config div.ex_cb_auth_password input, .exchanges-config div.ex_cb_auth_secret input { float: right; margin-right: 10px; margin-top: 3px; } </style> <script type="text/javascript"> RED.nodes.registerType('exchangeManager', { category: 'crypto', color: '#C0DEED', defaults: { conf: { value: "" }, }, inputs: 1, outputs: 5, icon: "symbols.png", label: function () { return 'Exchange Manager'; }, inputLabels: [], outputLabels: [ 'CCXT Exchanges', 'CCXT Balances', 'HTTP Outputs', 'Orderlog', 'Errors' ], oneditprepare: function() { exchangeManager.init(this); }, oneditsave: function() { exchangeManager.save(this); } }); </script> <script type="text/x-red" data-template-name="exchangeManager"> <div id="exchange-manager-container"></div> <br><br> <div class="form-row" style="display: block;"> <label for="node-input-conf"><i class="icon-tag"></i> Main Config </label> <textarea id="node-input-conf"></textarea> </div> </script> <script type="text/x-red" data-help-name="exchangeManager"> <p>Configures exchanges access information as well as receives balance. makes orders either locally with CCXT or overriden by an exchange plugin module for those exchanges supporting either websocket or FIX API protocols </p> </script>