This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The portfolio rebalancing bot will buy and sell to maintain a | |
| constant asset allocation ratio of exactly 50/50 = fiat/BTC | |
| """ | |
| import strategy | |
| DISTANCE = 7 # percent price distance of next rebalancing orders | |
| FIAT_COLD = 0 # Amount of Fiat stored at home but included in calculations | |
| COIN_COLD = 0 # Amount of Coin stored at home but included in calculations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| a simple stop loss bot. | |
| adjust STOP_PRICE and STOP_VOLUME to your needs. | |
| The file can be reloaded after editing without | |
| restarting goxtool by simply pressing the l key. | |
| """ | |
| import strategy | |
| import goxapi | |
| # pylint: disable=C0301 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The portfolio rebalancing bot will buy and sell to maintain a | |
| constant asset allocation ratio of exactly 50/50 = fiat/BTC | |
| """ | |
| # line too long - pylint: disable=C0301 | |
| # too many local variables - pylint: disable=R0914 | |
| import glob | |
| import strategy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| get SSH.NET (BSD License: http://sshnet.codeplex.com/license) | |
| with NuGet: | |
| >Install-Package SSH.NET -Version 2013.4.7 | |
| or just get the dll from here: http://j.mp/sshNet | |
| */ | |
| using System; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ngAppElem = angular.element(document.querySelector('[ng-app]') || document); | |
| window.$injector = ngAppElem.injector(); | |
| window.inject = $injector.invoke; | |
| window.$rootScope = ngAppElem.scope(); | |
| // getService('auth') will create a variable `auth` assigned to the service `auth`. | |
| var getService = serviceName => | |
| inject([serviceName, s => window[serviceName] = s]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /.project |
NewerOlder