agonyforge / arbitrader

A market neutral cryptocurrency trading bot.
MIT License
180 stars 48 forks source link

No trade combinations listed #368

Closed mavirroco closed 3 years ago

mavirroco commented 3 years ago

this means there is an error on application.yaml?

scionaltera commented 3 years ago

That message isn't an error. It just means we haven't defined any Spring profiles and Spring is telling us it's going to use the default profile. We don't define any Spring beans that use profiles, so there is no effect from using the default profile. Nothing to worry about. :)

mavirroco commented 3 years ago

ok thanks for reply ..well i just wonder why not work cause i put run this for a while and no new messages image

mavirroco commented 3 years ago

i have this in application.yaml i changed to txt at the end for can upload here... my question is maybe i set wrong something? application.yaml.txt

scionaltera commented 3 years ago

Ok, the line after that "Trading the following exchanges and pairs:" should have a list of the pairs being traded. The fact that it's empty means the bot is not doing anything. For reference, mine looks like this:

Screen Shot 2021-03-18 at 11 36 19 AM

There are a number of reasons something like that could happen, so let me briefly explain the process the bot goes through to create that list. Those are what we call "trade combinations". It's a pair of exchanges and a currency pair. For example, Gemini/Kraken LTC/USD means we're using Gemini to make the long trade, Kraken to make the short trade, and LTC/USD as the currency.

For a trade combination to work you must have three things:

The bot goes through all the exchanges that you configured and automatically figures out these trade combinations for you. If it doesn't list any combinations it means that none of the exchanges in your configuration met the criteria I listed above.

Thanks for providing your configuration, and even more for not including your API keys. :)

It looks like both the exchanges in your configuration have margin: false which is appropriate. I don't think either one of those exchanges supports margin trading. You'll need to add at least one more exchange that does support margin before the bot will create any trade combinations. If you're in the US I suggest Kraken1 . If you're in the EU you can also try Liquid2.

Hopefully that helps get you started. Let me know if you have any other questions.

1 I'm not affiliated with Kraken in any way but I am a customer. They are currently the only exchange that supports margin and is supported by XChange (the library we use to connect to exchanges) and that allows customers from the USA. 2 I'm not affiliated with Liquid/Quoine in any way but I used to be a customer. They dropped all of their US based customers so I can't use them any more, but I liked their service and look forward to when they can operate in the US again.

mavirroco commented 3 years ago

thanks a lot for the reply ,,,ok so margin to true now ...but your think i need one more exchange so this work? so gemini and cexio none of this works? how i can have a list of they support margin in USA

scionaltera commented 3 years ago

At the moment the only margin exchange I know of for US customers is Kraken. ~Coinbase Pro has a new margin feature~ that is in beta but XChange doesn't support it yet, so we can't either.

I just learned that Coinbase had to shut down its margin feature due to new US regulations. I think that's why Liquid closed in the US as well. Hopefully things are resolved soon so these companies can open their services again.