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.


Messages - Hampden

Pages: [1]
1
Technical Support & Development / Re: Gate.io
« on: March 08, 2021, 03:48:00 PM »
Any update on this issue?  I'm having the same problem with V21.1.0.

2
Technical Support & Development / Re: Gunthy-ARM in V20?
« on: November 19, 2020, 03:36:27 PM »
Any update on this?  It's been 2 weeks since I checked in and the build still isn't on GitHub.

If not, could you please post build instructions for gunthy-ARM on the wiki?

3
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?

4
Thanks.  I'm not complaining with my choices for exchanges.   :) 

The cost of gas these days would eat up a lot of profit on UniSwap anyway.

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

6
Thanks Aitor.  This is what I've been doing with the market orders turned off.

If the market is moving down quickly, a sell limit may never fill.

I can see a use case where someone would want to set a sell limit price at say 99.8% of the last offer price.  This way at least some of the order would fill if the market is crashing.  This is important on smaller exchanges where a large market order may consume a large fraction of the order book.

7
Thanks for the reply.  My interest is more in making a limit sell order at a specified rate rather than selling some fraction of a lot I own.

For currencies with low volume on an exchange, a market sell order could drive down the price.  The market orders also have higher commissions.  If I could place a limit sell order, that could allow time for the small market to sync up with the global price.

If this can't be done with the existing command set, I would like to request this feature be added to future versions.

Thanks !

8
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)?

9
I got help from Javier today since Aitor was out sick.  It turn out, I did not have a trading pair set up with the second exchange, Coinbasepro.

A trading pair must be set up for each exchange.  I added one an have tested that the TV add on works on both exchanges.

Thank Javier and get well soon Aitor!

10
There are 3 places where a user references an exchange:  TradingView command, 'Exchanges' settings page, and 'Swap Exchanges' settings page.

I changed both references from 'coinbasepro' to 'gdax' in the 'Exchanges' and 'Swap Exchanges' settings pages.

I changed the TradingView alert to be 'BUY_GDAX_BTC-XTZ_0.002'

I get a new error now. 

The IMAP listener picks up the message:  BUY_GDAX_BTC-XTZ_0.002

The log shows:

Code: [Select]
Your registered exchanges:
BINANCE: my_key
BINANCEUS: my_key
GDAX: my_key

Loading exchange - binanceus
Loading data....
------------------------------------------------------------------------------------------------
 ɢՍΠβõŦ TradingView Edition v18.8.8 -  Waiting for alerts...2020/08/09 12:41:13
------------------------------------------------------------------------------------------------
Nothing to fetch
Nothing to fetch
Nothing to fetch
Nothing to fetch
Nothing to fetch
Nothing to fetch
Nothing to fetch
emailParsed { timestamp: 1597002090770,
  type: 'buy',
  pair: 'BTC-XTZ',
  price: undefined,
  exchange: 'gdax',
  tl: '0.002' }
TypeError: Cannot read property 'needLock' of undefined
    at v9b (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at Timeout.setInterval [as _onTimeout] (/snapshot/pi/Desktop/gb/bot.gunbot.js:0:0)
    at ontimeout (timers.js:478:11)
    at tryOnTimeout (timers.js:302:5)
    at Timer.listOnTimeout (timers.js:262:5) 'Uncaught Exception thrown'
Loading config...
   info  - socket.io started


Note:  The log does not show the loading exchange for Coinbase Pro or GDAX

What am I doing wrong with the setup?

11
I see that Coinbase Pro is linked to 'gdax' on the wiki:  https://wiki.gunthy.org/about/supported-exchanges

My confusion came from the web interface under the Swap Exchanges page where both 'coinbasepro' and 'gdax' are listed as exchange options.

12
Many thanks for the reply!

 8)

13
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?


14
A friend just ran into a similar issue with USD-ETH.  Here is a copy of his sell on the console:

Code: [Select]
ɢՍҊɮǾŁ TradingView Edition -  Waiting for alerts...
emailParsed { timestamp: 1592854085629,
  type: 'sell',
  tl: undefined,
  pair: 'USD-ETH',
  exchange: 'binanceus',
  price: undefined }

2020/06/22 12:28:07: Looking for pending orders...
ɢՍҊɮǾŁ TradingView Edition -  Waiting for alerts...

2020/06/22 12:28:08: Checking prices...

2020/06/22 12:28:09: Received a sell order...
[ minSize: undefined,
  precision: { base: 8, quote: 4, amount: 5, price: 2 } ]
Original price: 242.34
Original volume: 11.07187
Sell Order Opts: { pair: 'ETH/USD',
  type: 'SELL',
  price: 242.34,
  amount: '11.07187' }
{}

┌────────────────────┬────────────────────┬───────────┬─────────────┬─────────────┬─────────────────┐
│ ɢƱŋßʘŦ RT Edition  │ Version            │ Exchange  │ Pair        │ Cycle       │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┤                 │
│ TradingView Plugin │ v18.8.8            │ binanceus │ USD-ETH     │ SELL        │                 │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┼─────────────────┤
│                    │ Ask                │ Bid       │ Balance USD │ Balance ETH │ BreakEven Point │
├────────────────────┼────────────────────┼───────────┼─────────────┼─────────────┼─────────────────┤
│                    │ 242.34             │ 242.89    │ 367.7741    │ 11.071868   │                 │
├────────────────────┼────────────────────┼───────────┴─────────────┴─────────────┴─────────────────┤
│ Callback           │  SELL order placed │                                                         │
└────────────────────┴────────────────────┴─────────────────────────────────────────────────────────┘
------------------------------------------------------------------------------------------------
 ɢՍÑɮõŦ TradingView Edition -  Waiting for alerts...2020/06/22 12:28:09
------------------------------------------------------------------------------------------------
ɢՍҊɮǾŁ TradingView Edition -  Waiting for alerts...
ɢՍҊɮǾŁ TradingView Edition -  Waiting for alerts...

I believe he had a balance on BinanceUS with 2.6 digits and the order was sent in 2.5 digits.

15
Thank you for your speedy reply.  I'll get it at the next release.

16
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?

17
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?

18
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]