Trading XLM/EUR is not working
fogkaspoker opened this issue · comments
Hello,
When I execute the trade command with XLM and EUR base coin.
The bot does not do anything after the 'Enter volume' I have tried with several values and it does not do anything.
Steps to reproduce:
- Chose the Trade command
- Buy
- MARKET PRICE
- any integer value, when asked for volume. The bot will not do anything else.
I can only hit cancel and move to the main menu,
Any ideas?
Thanks in advance,
hi mate i know solution for this , in mi version i have solved this
https://github.com/reproteq/TelegramKrakenBot
and other issues , and now work with las python-telegram-bot 13.7 no deprecated functions i rewrite alls
kraken not alls pair are same format XcurrencyZfiat
// funcion compara tcoin con la lista de kraken si no esta es que se modifico para patch ada por lo tanto se agrego una xada y la quita
// ttcode fix for ADAEUR pair convert 6len to standard 8len XADAZEUR XcurrencyZfiat
def pairSubXZ(pair):
for asset, _ in assets.items():
print(asset)
if pair == asset:
pair = pair
break
if pair == 'X'+asset:
pair = pair[1:]
break
if pair == 'Z'+asset:
pair = pair[1:]
break
return pair
// ttcode fix for ADAEUR pair convert 6len to standard 8len XADAZEUR XcurrencyZfiat
def pairAddXZ(pair):
//XXBTZEUR #ADAEUR
lenpair = len(pair)
if lenpair == 6:
part1 = pair[0:3]
part2 = pair[3:6]
pair = 'X' + part1 + 'Z' + part2
else:
pair = pair
return pair
@fogkaspoker I think you should use the version in the previous post.
I don't maintain my version anymore