defi-bot:构建DeFi套利机器人的教程-源码

上传者: 42130889 | 上传时间: 2021-09-04 13:46:52 | 文件大小: 1.18MB | 文件类型: ZIP
编码DeFi套利机器人 在,我们从整体上介绍了去中心化金融,重点介绍了这个新生态系统的基本构成部分以及用于赚取被动收入的主要策略,主要是“收益农业”和“套利”。 在本文中,我们将通过逐步教程来指导读者,以构建一个可与去中心化交易所一起使用的套利交易机器人,该机器人还将获得贷款,以便借钱进行套利。 完整的工作代码可以在Extropy.io的,Extropy将发布后续文章,以深入检查代码。 什么是套利 套利是资产的买卖,目的是从市场之间的资产价格差异中获利。 DeFI中的套利策略的一个示例是在去中心化的交易所(例如上购买ETH来交换 ,然后立即以更高的价格在另一个去中心化的交易所(例如上卖出它,从而在中获利,即最终您的钱包里的USDT比套利之前要多。 套利的困难在于在两个不同的交易所中为同一交易对找到价格差异(价差)。 有关主要套利策略的概述,请参阅我们的。 为什么在DeFi上套利 在开始

文件下载

资源详情

[{"title":"( 41 个子文件 1.18MB ) defi-bot:构建DeFi套利机器人的教程-源码","children":[{"title":"defi-bot-main","children":[{"title":"radar-relay.png <span style='color:#111;'> 195.91KB </span>","children":null,"spread":false},{"title":"1inch.png <span style='color:#111;'> 111.34KB </span>","children":null,"spread":false},{"title":"etherscan.png <span style='color:#111;'> 119.66KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 251.14KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.js <span style='color:#111;'> 68.87KB </span>","children":null,"spread":false},{"title":"abis","children":[{"title":"DyDxPool.json <span style='color:#111;'> 533.26KB </span>","children":null,"spread":false},{"title":"UniswapExchangeInterface.json <span style='color:#111;'> 1.14MB </span>","children":null,"spread":false},{"title":"ArbExample.json <span style='color:#111;'> 1.17MB </span>","children":null,"spread":false},{"title":"Exchange1.json <span style='color:#111;'> 87.57KB </span>","children":null,"spread":false},{"title":"Structs.json <span style='color:#111;'> 527.88KB </span>","children":null,"spread":false},{"title":"Exchange2.json <span style='color:#111;'> 87.37KB </span>","children":null,"spread":false},{"title":"Flashloan.json <span style='color:#111;'> 571.28KB </span>","children":null,"spread":false},{"title":"IERC20.json <span style='color:#111;'> 529.29KB </span>","children":null,"spread":false},{"title":"SimpleArb.json <span style='color:#111;'> 90.94KB </span>","children":null,"spread":false},{"title":"ERC20.json <span style='color:#111;'> 88.42KB </span>","children":null,"spread":false},{"title":"DyDxFlashLoan.json <span style='color:#111;'> 538.97KB </span>","children":null,"spread":false},{"title":"Migrations.json <span style='color:#111;'> 33.07KB </span>","children":null,"spread":false},{"title":"IKyber.json <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false},{"title":"Trader.json <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false}],"spread":false},{"title":".env.example <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"ding.mp3 <span style='color:#111;'> 17.25KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"exchange","children":[{"title":"uniswap.js <span style='color:#111;'> 13.46KB </span>","children":null,"spread":false},{"title":"kyber.js <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"coins","children":[{"title":"erc20.js <span style='color:#111;'> 1020B </span>","children":null,"spread":false}],"spread":true},{"title":"price-bot.js <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"trading-bot.js <span style='color:#111;'> 14.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"contracts","children":[{"title":"Flashloan.sol <span style='color:#111;'> 6.14KB </span>","children":null,"spread":false},{"title":"TradingBot.sol <span style='color:#111;'> 12.37KB </span>","children":null,"spread":false},{"title":"Migrations.sol <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"ArbExample.sol <span style='color:#111;'> 12.80KB </span>","children":null,"spread":false},{"title":"traderExample.sol <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"Flashloan.sol <span style='color:#111;'> 6.14KB </span>","children":null,"spread":false},{"title":"SimpleArb.sol <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"LeveragedYieldFarm.sol <span style='color:#111;'> 10.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"migrations","children":[{"title":"1_initial_migration.js <span style='color:#111;'> 125B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 14.01KB </span>","children":null,"spread":false},{"title":"coinbase.png <span style='color:#111;'> 216.25KB </span>","children":null,"spread":false},{"title":"truffle-config.js <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • haowhitebeijing :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-08-05

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明