Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GuntharDeNiro/bd855e70f429e7a186d1b4b19e95db04 to your computer and use it in GitHub Desktop.
Save GuntharDeNiro/bd855e70f429e7a186d1b4b19e95db04 to your computer and use it in GitHub Desktop.
************************************************************************************************
BEGIN TSSL PROCESS FOR BUY STRATEGY
************************************************************************************************
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: TrailingBuy limit 10368.7915345
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Last price 10366.81000000 | Target to buy: 15595.57901291
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Stop limit 10369.828465499999
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Price of USDT-BTC is going DOWN
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Moving Stop limit to 10367.3283405
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Moving TrailingBuy limit to 10366.291659499999
------------------------------------------------------------------------------------------------
************************************************************************************************
BEGIN TSSL PROCESS FOR SELL STRATEGY
************************************************************************************************
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: TrailingStop limit 10619.537140353345
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: Last price 10365.38 | Target to sell: 10566.70362224
------------------------------------------------------------------------------------------------
2019/08/17 13:00:37: StopLoss limit 10513.870104130923
------------------------------------------------------------------------------------------------
Price to sell is not in TSSL range
GBRT_v13.9.9.5 USDT-BTC@binance Round #4 2019/08/17 13:00:37
┌───────────────────┬────────────────────┬──────────────────┬──────────────────┬────────────────┬────────────────────┬─────────────────────┐
│ ɢՍΠβםŁ RT Edition │ Version │ Round │ Exchange │ Pair │ Strategy │ Timestamp │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ GBRT v.13.9.9.5 │ 4 │ binance │ USDT-BTC │ tssl/tssl │ 2019/08/17 13:00:37 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Core checks │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │ REVERSAL TRADE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NO │ YES │ NO │ NO │ NO │ NO │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Indicators │ EMA1 │ EMA2 │ HIGHBB │ LOWBB │ RSI │ MFI BTC/USD │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 10390.12592465 │ 10395.36213623 │ 10440.41776993 │ 10372.37423006 │ 47.60020852 │ 64.29131694 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ macd │ MACD_SIGNAL │ MACD_H │ STOCH_K │ STOCH_D │ PAIR MFI │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ -11.52815652 │ -6.78731011 │ -4.74084641 │ 47.18964641 │ 56.16510965 │ 64.29131694 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ EMA spread │ DI - │ DI + │ adx │ FORECAST │ FORECAST TREND │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 5.23621157 ⇌ │ 21.0349757 │ 15.28190493 │ 19.76208089 │ 10372.906718000464 │ ⇧ ⇧ ⇧ ⇧ ⇧ ⇧ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ATR TRAILING STOP │ ATR SHORT │ ATR LONG │ STOCH RSI │ DEPTH PRESSURE │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 49.21349933 │ 10340.77325033 │ 10391.41674966 │ 0 │ 55% │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Trading Checks │ Ask │ Bid │ USDT Balance │ BTC Balance │ BTC On Orders │ BreakEven point │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 10366.81 ⇩ │ 10365.38 ⇧ │ 4916.68881556 │ 0.00666055 │ 0 │ 10556.14747477 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ENTRY POINT │ EXIT POINT │ STOP LIMIT │ XTREND │ LAST TRADE P/L │ USDT LAST SALE P/L │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 15595.57901291 │ 10566.70362224 │ 0.00000000 │ DOWN!!! │ 0.000 % │ -39.28649217 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ RT BUY │ RT SELL │ Last buy │ Last sell │ BAG VALUE USDT │ INITIAL BAG VALUE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NaN │ NaN │ 10167.35 │ 9994.17 │ 0.00000000 │ 0.00000000 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ BUYBACK │ Original Price │ 1.9% │ 3.7% │ NaN% │ Available Funds │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 0.00000000 │ 10503.49836018 │ │ │ │ 4847.65010207 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Profit/Loss │ Pair P/L │ Normal Trading │ Reversal Trading │ Last 24h │ Last week │ Last month │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 877.11237858 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 4897.02168088 │
└───────────────────┴────────────────────┴──────────────────┴──────────────────┴────────────────┴────────────────────┴─────────────────────┘
This pair can enter the buy or the RT_BUY process
************************************************************************************************
GUNBOT RT says: Trailing Buy limits are still good...waiting to buy...
************************************************************************************************
************************************************************************************************
BEGIN TSSL PROCESS FOR BUY STRATEGY
************************************************************************************************
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: TrailingBuy limit 10366.291659499999
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: Last price 10368.00000000 | Target to buy: 15595.78915291
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: Stop limit 10367.3283405
------------------------------------------------------------------------------------------------
Price raising up: activating Stop limit!!!
************************************************************************************************
BEGIN TSSL PROCESS FOR SELL STRATEGY
************************************************************************************************
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: TrailingStop limit 10619.537140353345
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: Last price 10367.99 | Target to sell: 10566.70362224
------------------------------------------------------------------------------------------------
2019/08/17 13:00:50: StopLoss limit 10513.870104130923
------------------------------------------------------------------------------------------------
Price to sell is not in TSSL range
GBRT_v13.9.9.5 USDT-BTC@binance Round #5 2019/08/17 13:00:50
┌───────────────────┬────────────────────┬──────────────────┬──────────────────┬────────────────┬────────────────────┬─────────────────────┐
│ ɢՍƝ฿ØŁ RT Edition │ Version │ Round │ Exchange │ Pair │ Strategy │ Timestamp │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ GBRT v.13.9.9.5 │ 5 │ binance │ USDT-BTC │ tssl/tssl │ 2019/08/17 13:00:50 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Core checks │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │ REVERSAL TRADE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NO │ YES │ NO │ NO │ NO │ NO │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Indicators │ EMA1 │ EMA2 │ HIGHBB │ LOWBB │ RSI │ MFI BTC/USD │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 10390.26592465 │ 10395.62658067 │ 10440.26799323 │ 10372.76200676 │ 47.80206481 │ 64.25985172 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ macd │ MACD_SIGNAL │ MACD_H │ STOCH_K │ STOCH_D │ PAIR MFI │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ -11.27315652 │ -6.65981011 │ -4.61334641 │ 47.4524614 │ 56.25271465 │ 64.25985172 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ EMA spread │ DI - │ DI + │ adx │ FORECAST │ FORECAST TREND │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 5.36065601 ⇧ │ 21.0349757 │ 15.28190493 │ 19.76208089 │ 10374.068036911587 │ ⇧ ⇧ ⇧ ⇧ ⇧ ⇧ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ATR TRAILING STOP │ ATR SHORT │ ATR LONG │ STOCH RSI │ DEPTH PRESSURE │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 49.21349933 │ 10343.38325033 │ 10392.60674966 │ 0 │ 44% │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Trading Checks │ Ask │ Bid │ USDT Balance │ BTC Balance │ BTC On Orders │ BreakEven point │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 10368 ⇧ │ 10367.99 ⇧ │ 4916.68881556 │ 0.00666055 │ 0 │ 10556.14747477 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ENTRY POINT │ EXIT POINT │ STOP LIMIT │ XTREND │ LAST TRADE P/L │ USDT LAST SALE P/L │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 10368.51840000 │ 10566.70362224 │ 0.00000000 │ DOWN!!! │ 0.000 % │ -39.28649217 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ RT BUY │ RT SELL │ Last buy │ Last sell │ BAG VALUE USDT │ INITIAL BAG VALUE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NaN │ NaN │ 10167.35 │ 9994.17 │ 0.00000000 │ 0.00000000 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ BUYBACK │ Original Price │ 2.0% │ 3.7% │ NaN% │ Available Funds │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 0.00000000 │ 10503.49836018 │ │ │ │ 4847.63271816 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Profit/Loss │ Pair P/L │ Normal Trading │ Reversal Trading │ Last 24h │ Last week │ Last month │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 877.11237858 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 4897.02168088 │
└───────────────────┴────────────────────┴──────────────────┴──────────────────┴────────────────┴────────────────────┴─────────────────────┘
This pair can enter the buy or the RT_BUY process
l51000
29875
[ minSize: undefined,
precision: { base: 8, quote: 8, amount: 6, price: 2 } ]
Original price: 10367.99
Original volume: 0.001929
{ info:
{ symbol: 'BTCUSDT',
orderId: 591525656,
orderListId: -1,
clientOrderId: 'c5PqR2Ggr8qMwRDbjZV7Tq',
transactTime: 1566039650826,
price: '10367.99000000',
origQty: '0.00192900',
executedQty: '0.00000000',
cummulativeQuoteQty: '0.00000000',
status: 'NEW',
timeInForce: 'GTC',
type: 'LIMIT',
side: 'BUY' },
id: '591525656',
timestamp: 1566039650826,
datetime: '2019-08-17T11:00:50.826Z',
lastTradeTimestamp: undefined,
symbol: 'BTC/USDT',
type: 'limit',
side: 'buy',
price: 10367.99,
amount: 0.001929,
cost: 0,
average: undefined,
filled: 0,
remaining: 0.001929,
status: 'open',
fee: undefined,
trades: undefined }
{ info:
{ symbol: 'BTCUSDT',
orderId: 591525656,
orderListId: -1,
clientOrderId: 'c5PqR2Ggr8qMwRDbjZV7Tq',
transactTime: 1566039650826,
price: '10367.99000000',
origQty: '0.00192900',
executedQty: '0.00000000',
cummulativeQuoteQty: '0.00000000',
status: 'NEW',
timeInForce: 'GTC',
type: 'LIMIT',
side: 'BUY' },
id: '591525656',
timestamp: 1566039650826,
datetime: '2019-08-17T11:00:50.826Z',
lastTradeTimestamp: undefined,
symbol: 'BTC/USDT',
type: 'limit',
side: 'buy',
price: 10367.99,
amount: 0.001929,
cost: 0,
average: undefined,
filled: 0,
remaining: 0.001929,
status: 'open',
fee: undefined,
trades: undefined }
1403
┌───────────────────┬──────────────────────────────────────┐
│ ɢƱΠβ۝ͳ RT Edition │ │
├───────────────────┼─────────┬────────────┬───────┬───────┤
│ BOUGHT!!! │ Amount: │ 0.00192901 │ Rate: │ 10368 │
└───────────────────┴─────────┴────────────┴───────┴───────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment