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
| trendFollower(ETHUSDT) { | |
| continue(if=valueIsBuy, value={{strategy.order.action}}); | |
| exchangeSettings(leverage={{plot("leverage")}}); | |
| wait(1s); | |
| market(side=buy, amount={{strategy.order.contracts}}); | |
| } | |
| trendFollower(ETHUSDT) { | |
| continue(if=valueIsSell, value={{strategy.order.action}}); | |
| wait(1s); | |
| market(side=sell, amount={{strategy.order.contracts}}, reduceOnly=true); |
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
| https://www.coingecko.com/en/coins/uma | |
| https://www.coingecko.com/en/coins/synthetix-network-token | |
| https://www.coingecko.com/en/coins/compound | |
| https://www.coingecko.com/en/coins/omg-network | |
| https://www.coingecko.com/en/coins/basic-attention-token | |
| https://www.coingecko.com/en/coins/0x | |
| https://www.coingecko.com/en/coins/loopring | |
| https://www.coingecko.com/en/coins/ren | |
| https://www.coingecko.com/en/coins/kyber-network | |
| https://www.coingecko.com/en/coins/aragon |
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
| start: | |
| docker-compose up --remove-orphans | |
| start_daemon: | |
| docker-compose up -d --remove-orphans | |
| build: | |
| docker-compose build --no-cache | |
| stop: |
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
| //@version=3 | |
| // | |
| study("Traders Dynamic Index Indicator Alert v1.3 by JustUncleL", shorttitle="TDIALT") | |
| // | |
| // author: JustUncleL | |
| // date: 1-Mar-2016 | |
| // | |
| // Original code @author LazyBear for basic TDI indicator. |
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
| // | |
| // @author LazyBear | |
| // RSI/MFI with Bollinger Bands. Dynamic Oversold/Overbought levels, yayy! | |
| // I add the BB period setting as told by John Bollinger's Book. | |
| study(title = "BB% of MFI/RSI [Modified from LazyBear]", shorttitle="BB%MFI/RSI[LB]") | |
| source = hlc3 | |
| length = input(14, minval=1), mult = input(2.0, minval=0.001, maxval=50), bblength = input(50, minval=1, title="BB Period") | |
| DrawRSI_f=input(true, title="Draw RSI?", type=bool) | |
| DrawMFI_f=input(false, title="Draw MFI?", type=bool) | |
| HighlightBreaches=input(true, title="Highlight Oversold/Overbought?", type=bool) |
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
| study(title="Bollinger Bands Width", shorttitle="BBW") | |
| length = input(20, minval=1) | |
| src = input(close, title="Source") | |
| mult = input(2.0, minval=0.001, maxval=50) | |
| percentage = input(10.0, minval=0.5, maxval=50) | |
| basis = sma(src, length) | |
| dev = mult * stdev(src, length) | |
| upper = basis + dev | |
| lower = basis - dev | |
| bbw = (100 * (upper/lower -1)) |
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
| main_1 | 11:52:50,809 INFO: exit response {'status': 201, 'json': {'id': 27391591, 'type': 'Deal', 'bot_id': 320047, 'max_safety_orders': 0, 'deal_has_error': False, 'from_currency_id': 0, 'to_currency_id': 0, 'account_id': 117138, 'active_safety_orders_count': 1, 'created_at': '2019-03-14T10:05:47.545Z', 'updated_at': '2019-03-14T11:52:50.585Z', 'closed_at': None, 'finished?': False, 'current_active_safety_orders_count': 0, 'current_active_safety_orders': 0, 'completed_safety_orders_count': 0, 'cancellable?': True, 'panic_sellable?': True, 'trailing_enabled': False, 'pair': 'BTC_AST', 'status': 'bought', 'take_profit': '1.68', 'base_order_volume': '0.001', 'safety_order_volume': '0.00125', 'safety_order_step_percentage': '1.1', 'bought_amount': '102.0', 'bought_volume': '0.00101566', 'bought_average_price': '0.000009957450980392156862745', 'sold_amount': '0.0', 'sold_volume': '0.0', 'sold_average_price': '0', 'take_profit_type': 'total_bought_volume', 'final_profit': '0.0', 'martingale_coefficient': '1.0', |
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
| loop.run_forever() | |
| except KeyboardInterrupt: | |
| logging.info('Interrupted') | |
| loop.close() | |
| finally: | |
| loop.close() |
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
| /home/znode/.zcoin/debug.log { | |
| weekly | |
| size 100M | |
| missingok | |
| rotate 2 | |
| compress | |
| create | |
| } |
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
| Collecting six>=1.7.0 (from retrying->scrapium->suprnova) | |
| Downloading six-1.11.0-py2.py3-none-any.whl | |
| Installing collected packages: beautifulsoup4, idna, urllib3, certifi, chardet, requests, six, retrying, scrapium, suprnova | |
| Exception: | |
| Traceback (most recent call last): | |
| File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main | |
| status = self.run(options, args) | |
| File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run | |
| prefix=options.prefix_path, | |
| File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 784, in install |