Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Hampden

Pages: [1]
1
Technical Support & Development / Gunthy-ARM in V20?
« on: November 02, 2020, 09:02:35 PM »
Glad to see the new release.  I checked the repository: https://github.com/GuntharDeNiro/BTCT/releases/tag/2046

There's no arm.zip build like in v18.8?

Is ARM still supported in the new version?

2
With Uniswap suddenly surpassing Coinbase Pro in volume, is there a way to get Gunbot to trade there?

3
On the wiki, the BUY command allows for setting a rate:

BUY_EXCHANGE_USDT-BTC_amount_rate

Is there a reason why there is not a corresponding command format for sell limit orders such as (SELL_EXCHANGE_USDT-BTC_amount_rate)?

4
I'm trying to use the Gunbot TradingView Add-On to trade on both Binance.US and Coinbase Pro.

Gunbot works great on Binance.US by itself and with Binance.

I tried adding Coinbase Pro (coinbasepro) to the list, and my trades did not get processed.

I've added public and private keys to both exchanges in the GUI.

I've also registered both on the 'Swap Exchanges' page.

I added a second trading pair for Coinbase Pro as well.

When Gunbot starts, it encounters and error and restarts.  The console shows the following error:

Code: [Select]

Your Gunthy token balance is: 2500 in wallet: my_gunthy_wallet
Your license type is: V12 - ULTIMATE
Tradingview Plugin Access: true
Market Maker Plugin Access: false

Your user rank: 100

You can have up to 5 exchanges to run simultaneously

Your registered exchanges:
BINANCE: my_public_key
BINANCEUS: my_public_key
COINBASEPRO: my_public_key

Loading exchange - binanceus
Loading exchange - coinbasepro
TypeError: undefined is not a constructor
    at new H6 (/snapshot/pi/Desktop/gb/ctx-wrapper.js:0:0)
    at _.(anonymous function) (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at isBind (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:4911:15)
    at baseForOwn (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:2996:24)
    at index (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:4880:18)
    at Function.forEach (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:9344:14)
    at h9b (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at Bot.start.G9b (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at tryCatcher (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:694:18)
    at _drainQueueStep (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.__dirname.Async.drainQueues [as _onImmediate] (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5) 'Unhandled Rejection at Promise' Promise {
  _bitField: 18087936,
  _fulfillmentHandler0: TypeError: undefined is not a constructor
    at new H6 (/snapshot/pi/Desktop/gb/ctx-wrapper.js:0:0)
    at _.(anonymous function) (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at isBind (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:4911:15)
    at baseForOwn (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:2996:24)
    at index (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:4880:18)
    at Function.forEach (/snapshot/pi/Desktop/gb/node_modules/lodash/lodash.js:9344:14)
    at h9b (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at Bot.start.G9b (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at tryCatcher (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/promise.js:694:18)
    at _drainQueueStep (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.__dirname.Async.drainQueues [as _onImmediate] (/snapshot/pi/Desktop/gb/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5),
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined }
Loading config...
   info  - socket.io started
GUI Server Deployed: http://localhost:5000


On the Swap Licensced Exchanges, I see that it's possible to register 'coinbasepro' and 'gdax' (the former name of the Coinbase Pro exchange).

On the wiki page https://wiki.gunthy.org/about/supported-exchanges , Coinbase Pro is listed as a supported exchange with config_name of 'gdax'.

Does this have something to do with it?


5
I hope someone can help me with this issue.

I've set up alerts for my strategy in TradingView and am trading 5 pairs:  USD-BTC, USD-ETH, USD-XTZ, USD-ADA, and USD-LINK

I've tested each alert by making the condition true.  Orders are received in my IMAP acct.  Gunbot reads and parses the emails and the console descriptions appear similar:

Failed LINK Sell:
Code: [Select]
Nothing to fetch
emailParsed { timestamp: 1591833875838,
  type: 'sell',
  pair: 'USD-LINK',
  price: undefined,
  exchange: 'binanceus',
  tl: undefined }

2020/06/10 17:04:36: Looking for pending orders...

2020/06/10 17:04:36: Checking prices...

2020/06/10 17:04:37: Received a sell order...
Nothing to fetch
[ minSize: undefined,
  precision: { base: 8, quote: 4, amount: 2, price: 4 } ]
Original price: 4.4212
Original volume: 11.32
Sell Order Opts: { pair: 'LINK/USD', type: 'SELL', price: 4.4212, amount: '11.32' }
{}

┌────────────────────┬────────────────────┬───────────┬─────────────┬──────────────┬─────────────────┐
│ ɢՍƝ฿Ǿͳ RT Edition  │ Version            │ Exchange  │ Pair        │ Cycle        │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼──────────────┤                 │
│ TradingView Plugin │ v18.8.8            │ binanceus │ USD-LINK    │ SELL         │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼──────────────┼─────────────────┤
│                    │ Ask                │ Bid       │ Balance USD │ Balance LINK │ BreakEven Point │
├────────────────────┼────────────────────┼───────────┼─────────────┼──────────────┼─────────────────┤
│                    │ 4.4212             │ 4.43      │ 28182.303   │ 11.31837     │                 │
├────────────────────┼────────────────────┼───────────┴─────────────┴──────────────┴─────────────────┤
│ Callback           │  SELL order placed │                                                          │
└────────────────────┴────────────────────┴──────────────────────────────────────────────────────────┘
------------------------------------------------------------------------------------------------
 ɢƱͶƁםŁ TradingView Edition -  Waiting for alerts...2020/06/10 17:04:38
------------------------------------------------------------------------------------------------
Nothing to fetch
Nothing to fetch

Successful ADA Sell:
Code: [Select]
Nothing to fetch
emailParsed { timestamp: 1591833513591,
  type: 'sell',
  pair: 'USD-ADA',
  price: undefined,
  exchange: 'binanceus',
  tl: undefined }

2020/06/10 16:58:34: Looking for pending orders...

2020/06/10 16:58:34: Checking prices...

2020/06/10 16:58:35: Received a sell order...
Nothing to fetch
[ minSize: undefined,
  precision: { base: 8, quote: 4, amount: 1, price: 4 } ]
Original price: 0.0836
Original volume: 598.8
Sell Order Opts: { pair: 'ADA/USD', type: 'SELL', price: 0.0836, amount: '598.8' }
{ info:
   { symbol: 'ADAUSD',
     orderId: 13887177,
     orderListId: -1,
     clientOrderId: 'x-BCU53SPJeg7m5kwwefrkfpjc1z4ut',
     transactTime: 1591833515853,
     price: '0.0000',
     origQty: '598.80000000',
     executedQty: '598.80000000',
     cummulativeQuoteQty: '50.0596',
     status: 'FILLED',
     timeInForce: 'GTC',
     type: 'MARKET',
     side: 'SELL',
     fills: [ [Object] ] },
  id: '13887177',
  timestamp: 1591833515853,
  datetime: '2020-06-10T23:58:35.853Z',
  lastTradeTimestamp: undefined,
  symbol: 'ADA/USD',
  type: 'market',
  side: 'sell',
  price: 0.08359986639946561,
  amount: 598.8,
  cost: 50.05967999999999,
  average: 0.0836,
  filled: 598.8,
  remaining: 0,
  status: 'closed',
  fee: { cost: 0.00215446, currency: 'BNB' },
  trades:
   [ { info: [Object],
       timestamp: undefined,
       datetime: undefined,
       symbol: 'ADA/USD',
       id: undefined,
       order: undefined,
       type: undefined,
       takerOrMaker: undefined,
       side: undefined,
       price: 0.0836,
       amount: 598.8,
       cost: 50.05967999999999,
       fee: [Object] } ] }

┌────────────────────┬────────────────────┬───────────┬─────────────┬─────────────┬─────────────────┐
│ ɢՍÑɃםŦ RT Edition  │ Version            │ Exchange  │ Pair        │ Cycle       │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┤                 │
│ TradingView Plugin │ v18.8.8            │ binanceus │ USD-ADA     │ SELL        │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┼─────────────────┤
│                    │ Ask                │ Bid       │ Balance USD │ Balance ADA │ BreakEven Point │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┼─────────────────┤
│                    │ 0.0836             │ 0.0837    │ 28182.3478  │ 598.8       │                 │
├────────────────────┼────────────────────┼───────────┴─────────────┴─────────────┴─────────────────┤
│ Callback           │  SELL order placed │                                                         │
└────────────────────┴────────────────────┴─────────────────────────────────────────────────────────┘
------------------------------------------------------------------------------------------------
 ɢՍÑƁǾŁ TradingView Edition -  Waiting for alerts...2020/06/10 16:58:36
------------------------------------------------------------------------------------------------
Nothing to fetch
Nothing to fetch

One difference I see is that after the line "Sell Order Opts: { pair: ...", the ADA sell had a long description about the execution.  The Link sell only had "{}"

I wonder if the word LINK is a command that is not being parsed properly as such?

Has anyone else had this issue?

6
From the wiki page (https://wiki.gunthy.org/setup-and-general-settings/preferences/tradingview-add-on), I understand that a limit buy order can be placed using the syntax:

BUY_EXCHANGE_USDT-BTC_amount_rate

I assume that would be a maker order on the exchange's books that would fill only when the price drops to the specified rate.

Is it possible for TradingView to issue an alert that cancels that limit order so a new limit buy order can be placed with a different rate?

7
I've been using Gunbot for about a year and a half with the Tradingview. I usually trade about 4 types of crypto based on strategies I develop and test in Tradingview.

I have one account on an exchange and I would like to be able to have my trades automatically entered for some percentage of my account value.

For example, if I have all my money, say $10K, in USDT, when an alert is triggered, I would like to be able to set a buy order to purchase BTC with 25% of the account value.

BUY_exchange_USDT-BTC_0.25ACCOUNT

The current version allows for a fixed price order (e.g. BUY_exchange_USDT-BTC_2500)

Using a relative account value would allow me to run my strategy for all 4 coins and not have to continually adjust the order amount as the account value fluctuates.

If there isn't enough USDT in the account to purchase the order, an order should be placed to use all the available USDT.

Is it possible to implement this in the current version of Gunbot?

Cheers!

Pages: [1]