-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to use hedge #2
Comments
Hello, Thank you for your interest in this project. The documentation is indeed quite far from complete. In configuration, the
where
makes Another example is quite useful for selecting maximum number of pairs so that the bot would still tolerate delays and downtime before updating offers:
which is basically a shorthand for
but is easier to manipulate. If such a chain starts and ends with the same asset and all other assets are included exactly once, then whichever offers are consumed, change in geometric mean of balances is guaranteed to be positive (given that transaction fees are negligible). Please note that Let me know if you have further questions. Best regards, |
Thank you for your reply. I see your explanation ties up with the hedge option mentioned in the documentation. However I'm unable to make it work. I'm using the example command for three assets like this :
but it throws an error at Yarg module :
Could you advise me on how to build such command ? |
While raw JSON is allowed as command line option like Another parameter to play with is Feel free to ask further, because answering your questions has a side effect of writing down missing parts of documentation which can be later included into the project's wiki. |
Thank you. It works now although I haven't tried the file method. I can see the bot consumes random offers I created. I am not a trader but by reading the documentation I think the market-making algorithm this bot does results in slow but safe gain. I haven't studied the code but I would like to add a custom strategy. I think for algorithm and other questions I may have, I will open another thread. Thank you again. |
Hello and thank you in advance for sharing this project.
I am currently trying to run the bot on altnet with config generated from
altnet
command.The command I use is
xmm -c dummy.json hedge fund1 -n 3 -y
(enclosed in loop like your example) where fund1 is a wallet that has been funded with BTC, USD, and XRP.I am assuming that Talmudic algorithm does market making by maintaining order pairs with spread that keeps those assets balanced all the time.
After I run it, I created some random offers from another account. I think if the bot works then it should consume some of those offers before creating new order pairs.
Currently the bot doesn't seem to do anything. It also cancels all the orders created from fund1.
Perhaps you could advise me how to use the
hedge
command or point on things that I did wrong.Thank you.
The text was updated successfully, but these errors were encountered: