Username: Password:

Author Topic: TV BUY and SELL alert for KRAKEN NOT WORKING  (Read 566 times)

Offline Harold_B_Koping

  • Rookie
  • *
  • Posts: 1
    • View Profile
TV BUY and SELL alert for KRAKEN NOT WORKING
« on: March 14, 2022, 01:48:32 PM »
Hi there,
I'm new using GB and have an issue with BUY and SELL orders going through on KRAKEN

So far I have:
- tuned my TV script and set-up alerts
- connected GB to KRAKEN exchange
- Set-up email listener
- Set-up one trading pair on Kraken (disabled)

TV alerts set-up are as follows:
 BUY_KRAKEN_EUR-BTC
 SELL_KRAKEN_EUR-BTC

Alert seems to come through properly, but get error : "Cannot read property 'EUR-BTC' of undefined". See also below

............................

emailParsed {
  timestamp: 1647259747294,
  type: 'buy',
  exchange: 'kraken',
  pair: 'EUR-BTC',
  tl: undefined,
  price: undefined
}
2022/03/14 13:09:08: Looking for pending orders...

2022/03/14 13:09:10: Checking prices...
here
2022/03/14 13:09:11: Received a BUY order...
TypeError: Cannot read property 'EUR-BTC' of undefined
    at Kraken.createTVBuyOrder (C:\snapshot\enricoranucci\Desktop\STABLE\ctx\js\kraken.js)
    at C:\snapshot\enricoranucci\Desktop\STABLE\ctx-wrapper.js
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

............................

My GB registered account is on Binance and if I put a BUY or SELL through there, using the same command it seems to work fine. I have no idea what could trigger this.

Any help would be much apreciated!

Best regards, Harold