Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trading XLM/EUR is not working #32

Open
fogkaspoker opened this issue Apr 3, 2020 · 2 comments
Open

Trading XLM/EUR is not working #32

fogkaspoker opened this issue Apr 3, 2020 · 2 comments

Comments

@fogkaspoker
Copy link

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,

@reproteq
Copy link

reproteq commented Sep 3, 2021

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

@Endogen
Copy link
Owner

Endogen commented Sep 3, 2021

@fogkaspoker I think you should use the version in the previous post.
I don't maintain my version anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants