TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: 400-Line Binance CryptoCurrency Bot

114 点作者 klhugo超过 5 年前

9 条评论

klhugo超过 5 年前
The Money Maker Machine - Monker<p>This was a hobby project of myself to create the simplest Cryptocurrency bot possible. It was written in Python, operates on Binance, and stores all logging and trading information into a MongoDB database. The trading strategy is extremely simple:<p>- Assume that crypto prices will fluctuate, but eventually be restored to its original quote - Buy small quantities every time the price falls below a threshold, keeping track of the amount purchased and the price payed - Sell those exact quantities when the price is above what was payed for it<p>It was a lot of fun developing it, and I guess I made something around 3 dollars before shutting it down. It is my first contribution to opensource world, and I hope others can benefit from it :)
评论 #21565363 未加载
评论 #21566687 未加载
评论 #21565213 未加载
评论 #21565094 未加载
haolez超过 5 年前
Nice! It&#x27;s very simple, but has a few interesting qualities, like not using any third-party library to interact with Binance, giving the bot more flexibility to make use of Binance-specific features in a future extension of this work. For example: Binance&#x27;s margin trading works a little different from other exchanges.<p>I would use order book data instead of ticker data, though, since you have more control of your risks regarding the exchange&#x27;s liquidity.<p>Well done!
评论 #21565900 未加载
评论 #21565265 未加载
glofish超过 5 年前
I have a feeling that the vast majority of transactions are from bots like this, from the naive &quot;moneymakers&quot; (like this one with a $3 return) to ones with extreme sophistication.<p>The naivete here is that it only makes money if the market is rising long term. If it is falling over the long term then you&#x27;ll get stuck with a bunch of losses.<p>The results it generates are no different than buying at random times and selling random bets at random times.
评论 #21565862 未加载
评论 #21567763 未加载
studio816超过 5 年前
If you like crypto bots, check out our project called <a href="https:&#x2F;&#x2F;quadency.com" rel="nofollow">https:&#x2F;&#x2F;quadency.com</a> We have common strategies you can deploy to all major exchanges. You can also code your own real-time strategy in python using <a href="https:&#x2F;&#x2F;support.quadency.com&#x2F;en&#x2F;articles&#x2F;3459678-strategy-coder" rel="nofollow">https:&#x2F;&#x2F;support.quadency.com&#x2F;en&#x2F;articles&#x2F;3459678-strategy-co...</a>
评论 #21570460 未加载
csomar超过 5 年前
I think there should be a big (maybe red?) disclaimer at the very top explaining that this should only be used for fun, experimental and learning purposes. No real money should be invested into it too.<p>Just in case somebody thinks it&#x27;s real and go full retard with it.
评论 #21566152 未加载
评论 #21569347 未加载
Akababa超过 5 年前
Very cool! I might try to pick this up later and test some stuff out. Why did you choose to stop it? Did you find a more profitable algorithm ;)<p>I wonder how much of the volume on cryptocurrency exchanges are due to bots.
评论 #21565283 未加载
gmm1990超过 5 年前
Looks pretty cool! I&#x27;m always unsure of separating my buy and sell side logic. Was there a deliberate decision to separate those functions, rather than passing the side as an argument?
shelune超过 5 年前
How much did you put in the bot initially and how long have you kept it running before shutting it down?
mocha_nate超过 5 年前
Great idea. Thank you for sharing! I’ve had this same thought with Tesla’s stock