Closed vassil-vassilev closed 3 years ago
I'm new to this, but what about a flash loan(s)?
I don't use telegram personally but I have been contemplating adding a configurable email notifier. If you wanna put in a framework for notifications I'm all for it!
As for the latency, this has plagued me for a year+ now. Even getting depth data and completing calculations within 1ms (haha literally 1ms) the execution times of 20+ms seem to kill the opportunity. And try as I have, idk how to get closer to the exchange than being on (theoretically) the same aws cluster as Binance
@WebLeash flash loans would apply if this execution was done via a smart contract and if Binance was operating on chain. This app is interacting with the binance.com market
Hello @bmino, appreciate your work and that's being shared.
I've got ... depth (0) too shallow to convert ...
message even on 01-north-east AWS region ec2 instance and the app does not open any orders. Can't figure out what's wrong yet.
Is there any additional configuration to make it work except EXECUTION.ENABLED: true?
May you please share one of your working configs?, obviously without API keys. :)
@bmino, have you tried different availability zones in the ap-northeast region? Any performance differences?
I will think how to make the Telegram integration more abstract and potentially build a notification framework when I have some free time.
Last question for you as the author of the bot - are you still running it? If yes, on an average (daily, weekly basis) do you manage to do any profit?
Thank you!
I switched over to decentralized finance late last year and haven't looked back. I've got a few big ideas still for this bot, one of which might drastically cut cpu usage but I need to do some graphing first to prove it
Hello @bmino, thank you for inspiring work.
I switched over to decentralized finance late last year and haven't looked back.
Do you perform and look for triangle-arbitrage in decentralized finance apps? Do you make profit over there?
I've got a few big ideas still for this bot, one of which might drastically cut cpu usage but I need to do some graphing first to prove it
I am wondering if compiled language would make big difference in improving cpu usage and in general latency reduction?
Do you perform and look for triangle-arbitrage in decentralized finance apps? Do you make profit over there?
You bet
I am wondering if compiled language would make big difference in improving cpu usage and in general latency reduction?
Probably! I used nodejs because well I like nodejs and there are thousands of events being processed asynchronously which node handles well
thanks!
Hi @bmino,
First I would like to thank you for your work! It's great that you share your knowledge and experience with us.
I tested the bot for more than a week and it managed to execute more than 30 triangular trades. Unfortunately all of them were losing money and even taking into consideration the deltas doesn't change that.
The instance I am using is based in the Tokyo region with an average latency of 40-50 ms and around 900+ cycles per second. The profit threshold is set to 0.50%. Often the expected profit is reported to be > 1%, but still the trade is executed at loss.
Here is just one example. I can send you the full log if you would like to take a look.
Do you have any suggestions or ideas for me to try? Should I try to reduce the latency even more?
On another topic - in order to monitor the performance of the bot on the go I have added an integration with Telegram. Currently most of the logging messages are replayed there. Let me know if that is something interesting for you and I can add a PR.
Thank you! Vassil