在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:DiffBit/CryptoTradePlatform开源软件地址:https://github.com/DiffBit/CryptoTradePlatform开源编程语言:JavaScript 89.1%开源软件介绍:Crypto Arbitrage - a node.js script to help find and act on arbitrage opportunities.A cryptocurrency arbitrage opportunity calculator and trading bot. Over 800 currencies and 50 markets. To use, go to http://www.diffbit.com , for development install nodejs ^V8.00 and run Notice:I am now only focusing on the trading bot. Unfortunately I am going to keep that code private, and will not have time to work on this public version. Feel free to still make pull requests - I will still take a look at any issues when they pop up. How it worksIn short it collects JSON from multipile different cryptocurrency markets, and goes through the results and finds the highest and lowest price for each coin. For example if the results look like this for LTC: ltc : {
'bittrex' : 38.23,
'jubi' : 39.78,
'chbtc' : 51.8,
} the script will find the the highest price (chbtc.com), lowest price (bittrex), and divide the two: 51.8/38.23 = ~1.35 (~35% profit margin) and then pushes these results to the browser. It will also find the next highest market pairs, e.g. chbtc / jubi is the second highest pair and chbtc/bittrex the third, jubi/bittrex the fourth and so on until every possible combination has been computed. Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. PrerequisitesRequired: Node.js ^ V8.0.0 this program uses ES7 features such as async/await and requires a newer version of node. InstallingIn a terminal write the following: CD into the correct folder. cd arbitrage Install the required npm modules npm install To run the program npm start Go to Currently you will have to add a market object with the correct settings in the array You can temporarily stop loading a market from the frontend, or remove the market by deleting the object in Built and deployed with
ContributingFeel free to suggest edits / pull requests or email me at [email protected] Authors
LicenseSee the LICENSE.md file for details Donating
|
2022-08-15
2022-08-17
2023-10-27
2022-09-23
2022-08-13
请发表评论