Sourcesubmitted by pascalbernoulli to Yield_Farming [link] [comments]
It’s effectively July 2017 in the world of decentralized finance (DeFi), and as in the heady days of the initial coin offering (ICO) boom, the numbers are only trending up.
According to DeFi Pulse, there is $1.9 billion in crypto assets locked in DeFi right now. According to the CoinDesk ICO Tracker, the ICO market started chugging past $1 billion in July 2017, just a few months before token sales started getting talked about on TV.
Debate juxtaposing these numbers if you like, but what no one can question is this: Crypto users are putting more and more value to work in DeFi applications, driven largely by the introduction of a whole new yield-generating pasture, Compound’s COMP governance token.
Governance tokens enable users to vote on the future of decentralized protocols, sure, but they also present fresh ways for DeFi founders to entice assets onto their platforms.
That said, it’s the crypto liquidity providers who are the stars of the present moment. They even have a meme-worthy name: yield farmers.
Where it startedEthereum-based credit market Compound started distributing its governance token, COMP, to the protocol’s users this past June 15. Demand for the token (heightened by the way its automatic distribution was structured) kicked off the present craze and moved Compound into the leading position in DeFi.
The hot new term in crypto is “yield farming,” a shorthand for clever strategies where putting crypto temporarily at the disposal of some startup’s application earns its owner more cryptocurrency.
Another term floating about is “liquidity mining.”
The buzz around these concepts has evolved into a low rumble as more and more people get interested.
The casual crypto observer who only pops into the market when activity heats up might be starting to get faint vibes that something is happening right now. Take our word for it: Yield farming is the source of those vibes.
But if all these terms (“DeFi,” “liquidity mining,” “yield farming”) are so much Greek to you, fear not. We’re here to catch you up. We’ll get into all of them.
We’re going to go from very basic to more advanced, so feel free to skip ahead.
What are tokens?Most CoinDesk readers probably know this, but just in case: Tokens are like the money video-game players earn while fighting monsters, money they can use to buy gear or weapons in the universe of their favorite game.
But with blockchains, tokens aren’t limited to only one massively multiplayer online money game. They can be earned in one and used in lots of others. They usually represent either ownership in something (like a piece of a Uniswap liquidity pool, which we will get into later) or access to some service. For example, in the Brave browser, ads can only be bought using basic attention token (BAT).
If tokens are worth money, then you can bank with them or at least do things that look very much like banking. Thus: decentralized finance.
Tokens proved to be the big use case for Ethereum, the second-biggest blockchain in the world. The term of art here is “ERC-20 tokens,” which refers to a software standard that allows token creators to write rules for them. Tokens can be used a few ways. Often, they are used as a form of money within a set of applications. So the idea for Kin was to create a token that web users could spend with each other at such tiny amounts that it would almost feel like they weren’t spending anything; that is, money for the internet.
Governance tokens are different. They are not like a token at a video-game arcade, as so many tokens were described in the past. They work more like certificates to serve in an ever-changing legislature in that they give holders the right to vote on changes to a protocol.
So on the platform that proved DeFi could fly, MakerDAO, holders of its governance token, MKR, vote almost every week on small changes to parameters that govern how much it costs to borrow and how much savers earn, and so on.
Read more: Why DeFi’s Billion-Dollar Milestone Matters
One thing all crypto tokens have in common, though, is they are tradable and they have a price. So, if tokens are worth money, then you can bank with them or at least do things that look very much like banking. Thus: decentralized finance.
What is DeFi?Fair question. For folks who tuned out for a bit in 2018, we used to call this “open finance.” That construction seems to have faded, though, and “DeFi” is the new lingo.
In case that doesn’t jog your memory, DeFi is all the things that let you play with money, and the only identification you need is a crypto wallet.
On the normal web, you can’t buy a blender without giving the site owner enough data to learn your whole life history. In DeFi, you can borrow money without anyone even asking for your name.
I can explain this but nothing really brings it home like trying one of these applications. If you have an Ethereum wallet that has even $20 worth of crypto in it, go do something on one of these products. Pop over to Uniswap and buy yourself some FUN (a token for gambling apps) or WBTC (wrapped bitcoin). Go to MakerDAO and create $5 worth of DAI (a stablecoin that tends to be worth $1) out of the digital ether. Go to Compound and borrow $10 in USDC.
(Notice the very small amounts I’m suggesting. The old crypto saying “don’t put in more than you can afford to lose” goes double for DeFi. This stuff is uber-complex and a lot can go wrong. These may be “savings” products but they’re not for your retirement savings.)
Immature and experimental though it may be, the technology’s implications are staggering. On the normal web, you can’t buy a blender without giving the site owner enough data to learn your whole life history. In DeFi, you can borrow money without anyone even asking for your name.
DeFi applications don’t worry about trusting you because they have the collateral you put up to back your debt (on Compound, for instance, a $10 debt will require around $20 in collateral).
Read more: There Are More DAI on Compound Now Than There Are DAI in the World
If you do take this advice and try something, note that you can swap all these things back as soon as you’ve taken them out. Open the loan and close it 10 minutes later. It’s fine. Fair warning: It might cost you a tiny bit in fees, and the cost of using Ethereum itself right now is much higher than usual, in part due to this fresh new activity. But it’s nothing that should ruin a crypto user.
So what’s the point of borrowing for people who already have the money? Most people do it for some kind of trade. The most obvious example, to short a token (the act of profiting if its price falls). It’s also good for someone who wants to hold onto a token but still play the market.
Doesn’t running a bank take a lot of money up front?It does, and in DeFi that money is largely provided by strangers on the internet. That’s why the startups behind these decentralized banking applications come up with clever ways to attract HODLers with idle assets.
Liquidity is the chief concern of all these different products. That is: How much money do they have locked in their smart contracts?
“In some types of products, the product experience gets much better if you have liquidity. Instead of borrowing from VCs or debt investors, you borrow from your users,” said Electric Capital managing partner Avichal Garg.
Let’s take Uniswap as an example. Uniswap is an “automated market maker,” or AMM (another DeFi term of art). This means Uniswap is a robot on the internet that is always willing to buy and it’s also always willing to sell any cryptocurrency for which it has a market.
On Uniswap, there is at least one market pair for almost any token on Ethereum. Behind the scenes, this means Uniswap can make it look like it is making a direct trade for any two tokens, which makes it easy for users, but it’s all built around pools of two tokens. And all these market pairs work better with bigger pools.
Why do I keep hearing about ‘pools’?To illustrate why more money helps, let’s break down how Uniswap works.
Let’s say there was a market for USDC and DAI. These are two tokens (both stablecoins but with different mechanisms for retaining their value) that are meant to be worth $1 each all the time, and that generally tends to be true for both.
The price Uniswap shows for each token in any pooled market pair is based on the balance of each in the pool. So, simplifying this a lot for illustration’s sake, if someone were to set up a USDC/DAI pool, they should deposit equal amounts of both. In a pool with only 2 USDC and 2 DAI it would offer a price of 1 USDC for 1 DAI. But then imagine that someone put in 1 DAI and took out 1 USDC. Then the pool would have 1 USDC and 3 DAI. The pool would be very out of whack. A savvy investor could make an easy $0.50 profit by putting in 1 USDC and receiving 1.5 DAI. That’s a 50% arbitrage profit, and that’s the problem with limited liquidity.
(Incidentally, this is why Uniswap’s prices tend to be accurate, because traders watch it for small discrepancies from the wider market and trade them away for arbitrage profits very quickly.)
Read more: Uniswap V2 Launches With More Token-Swap Pairs, Oracle Service, Flash Loans
However, if there were 500,000 USDC and 500,000 DAI in the pool, a trade of 1 DAI for 1 USDC would have a negligible impact on the relative price. That’s why liquidity is helpful.
You can stick your assets on Compound and earn a little yield. But that’s not very creative. Users who look for angles to maximize that yield: those are the yield farmers.
Similar effects hold across DeFi, so markets want more liquidity. Uniswap solves this by charging a tiny fee on every trade. It does this by shaving off a little bit from each trade and leaving that in the pool (so one DAI would actually trade for 0.997 USDC, after the fee, growing the overall pool by 0.003 USDC). This benefits liquidity providers because when someone puts liquidity in the pool they own a share of the pool. If there has been lots of trading in that pool, it has earned a lot of fees, and the value of each share will grow.
And this brings us back to tokens.
Liquidity added to Uniswap is represented by a token, not an account. So there’s no ledger saying, “Bob owns 0.000000678% of the DAI/USDC pool.” Bob just has a token in his wallet. And Bob doesn’t have to keep that token. He could sell it. Or use it in another product. We’ll circle back to this, but it helps to explain why people like to talk about DeFi products as “money Legos.”
So how much money do people make by putting money into these products?It can be a lot more lucrative than putting money in a traditional bank, and that’s before startups started handing out governance tokens.
Compound is the current darling of this space, so let’s use it as an illustration. As of this writing, a person can put USDC into Compound and earn 2.72% on it. They can put tether (USDT) into it and earn 2.11%. Most U.S. bank accounts earn less than 0.1% these days, which is close enough to nothing.
However, there are some caveats. First, there’s a reason the interest rates are so much juicier: DeFi is a far riskier place to park your money. There’s no Federal Deposit Insurance Corporation (FDIC) protecting these funds. If there were a run on Compound, users could find themselves unable to withdraw their funds when they wanted.
Plus, the interest is quite variable. You don’t know what you’ll earn over the course of a year. USDC’s rate is high right now. It was low last week. Usually, it hovers somewhere in the 1% range.
Similarly, a user might get tempted by assets with more lucrative yields like USDT, which typically has a much higher interest rate than USDC. (Monday morning, the reverse was true, for unclear reasons; this is crypto, remember.) The trade-off here is USDT’s transparency about the real-world dollars it’s supposed to hold in a real-world bank is not nearly up to par with USDC’s. A difference in interest rates is often the market’s way of telling you the one instrument is viewed as dicier than another.
Users making big bets on these products turn to companies Opyn and Nexus Mutual to insure their positions because there’s no government protections in this nascent space – more on the ample risks later on.
So users can stick their assets in Compound or Uniswap and earn a little yield. But that’s not very creative. Users who look for angles to maximize that yield: those are the yield farmers.
OK, I already knew all of that. What is yield farming?Broadly, yield farming is any effort to put crypto assets to work and generate the most returns possible on those assets.
At the simplest level, a yield farmer might move assets around within Compound, constantly chasing whichever pool is offering the best APY from week to week. This might mean moving into riskier pools from time to time, but a yield farmer can handle risk.
“Farming opens up new price arbs [arbitrage] that can spill over to other protocols whose tokens are in the pool,” said Maya Zehavi, a blockchain consultant.
Because these positions are tokenized, though, they can go further.
This was a brand-new kind of yield on a deposit. In fact, it was a way to earn a yield on a loan. Who has ever heard of a borrower earning a return on a debt from their lender?
In a simple example, a yield farmer might put 100,000 USDT into Compound. They will get a token back for that stake, called cUSDT. Let’s say they get 100,000 cUSDT back (the formula on Compound is crazy so it’s not 1:1 like that but it doesn’t matter for our purposes here).
They can then take that cUSDT and put it into a liquidity pool that takes cUSDT on Balancer, an AMM that allows users to set up self-rebalancing crypto index funds. In normal times, this could earn a small amount more in transaction fees. This is the basic idea of yield farming. The user looks for edge cases in the system to eke out as much yield as they can across as many products as it will work on.
Right now, however, things are not normal, and they probably won’t be for a while.
Why is yield farming so hot right now?Because of liquidity mining. Liquidity mining supercharges yield farming.
Liquidity mining is when a yield farmer gets a new token as well as the usual return (that’s the “mining” part) in exchange for the farmer’s liquidity.
“The idea is that stimulating usage of the platform increases the value of the token, thereby creating a positive usage loop to attract users,” said Richard Ma of smart-contract auditor Quantstamp.
The yield farming examples above are only farming yield off the normal operations of different platforms. Supply liquidity to Compound or Uniswap and get a little cut of the business that runs over the protocols – very vanilla.
But Compound announced earlier this year it wanted to truly decentralize the product and it wanted to give a good amount of ownership to the people who made it popular by using it. That ownership would take the form of the COMP token.
Lest this sound too altruistic, keep in mind that the people who created it (the team and the investors) owned more than half of the equity. By giving away a healthy proportion to users, that was very likely to make it a much more popular place for lending. In turn, that would make everyone’s stake worth much more.
So, Compound announced this four-year period where the protocol would give out COMP tokens to users, a fixed amount every day until it was gone. These COMP tokens control the protocol, just as shareholders ultimately control publicly traded companies.
Every day, the Compound protocol looks at everyone who had lent money to the application and who had borrowed from it and gives them COMP proportional to their share of the day’s total business.
The results were very surprising, even to Compound’s biggest promoters.
COMP’s value will likely go down, and that’s why some investors are rushing to earn as much of it as they can right now.
This was a brand-new kind of yield on a deposit into Compound. In fact, it was a way to earn a yield on a loan, as well, which is very weird: Who has ever heard of a borrower earning a return on a debt from their lender?
COMP’s value has consistently been well over $200 since it started distributing on June 15. We did the math elsewhere but long story short: investors with fairly deep pockets can make a strong gain maximizing their daily returns in COMP. It is, in a way, free money.
It’s possible to lend to Compound, borrow from it, deposit what you borrowed and so on. This can be done multiple times and DeFi startup Instadapp even built a tool to make it as capital-efficient as possible.
“Yield farmers are extremely creative. They find ways to ‘stack’ yields and even earn multiple governance tokens at once,” said Spencer Noon of DTC Capital.
COMP’s value spike is a temporary situation. The COMP distribution will only last four years and then there won’t be any more. Further, most people agree that the high price now is driven by the low float (that is, how much COMP is actually free to trade on the market – it will never be this low again). So the value will probably gradually go down, and that’s why savvy investors are trying to earn as much as they can now.
Appealing to the speculative instincts of diehard crypto traders has proven to be a great way to increase liquidity on Compound. This fattens some pockets but also improves the user experience for all kinds of Compound users, including those who would use it whether they were going to earn COMP or not.
As usual in crypto, when entrepreneurs see something successful, they imitate it. Balancer was the next protocol to start distributing a governance token, BAL, to liquidity providers. Flash loan provider bZx has announced a plan. Ren, Curve and Synthetix also teamed up to promote a liquidity pool on Curve.
It is a fair bet many of the more well-known DeFi projects will announce some kind of coin that can be mined by providing liquidity.
The case to watch here is Uniswap versus Balancer. Balancer can do the same thing Uniswap does, but most users who want to do a quick token trade through their wallet use Uniswap. It will be interesting to see if Balancer’s BAL token convinces Uniswap’s liquidity providers to defect.
So far, though, more liquidity has gone into Uniswap since the BAL announcement, according to its data site. That said, even more has gone into Balancer.
Did liquidity mining start with COMP?No, but it was the most-used protocol with the most carefully designed liquidity mining scheme.
This point is debated but the origins of liquidity mining probably date back to Fcoin, a Chinese exchange that created a token in 2018 that rewarded people for making trades. You won’t believe what happened next! Just kidding, you will: People just started running bots to do pointless trades with themselves to earn the token.
Similarly, EOS is a blockchain where transactions are basically free, but since nothing is really free the absence of friction was an invitation for spam. Some malicious hacker who didn’t like EOS created a token called EIDOS on the network in late 2019. It rewarded people for tons of pointless transactions and somehow got an exchange listing.
These initiatives illustrated how quickly crypto users respond to incentives.
Read more: Compound Changes COMP Distribution Rules Following ‘Yield Farming’ Frenzy
Fcoin aside, liquidity mining as we now know it first showed up on Ethereum when the marketplace for synthetic tokens, Synthetix, announced in July 2019 an award in its SNX token for users who helped add liquidity to the sETH/ETH pool on Uniswap. By October, that was one of Uniswap’s biggest pools.
When Compound Labs, the company that launched the Compound protocol, decided to create COMP, the governance token, the firm took months designing just what kind of behavior it wanted and how to incentivize it. Even still, Compound Labs was surprised by the response. It led to unintended consequences such as crowding into a previously unpopular market (lending and borrowing BAT) in order to mine as much COMP as possible.
Just last week, 115 different COMP wallet addresses – senators in Compound’s ever-changing legislature – voted to change the distribution mechanism in hopes of spreading liquidity out across the markets again.
Is there DeFi for bitcoin?Yes, on Ethereum.
Nothing has beaten bitcoin over time for returns, but there’s one thing bitcoin can’t do on its own: create more bitcoin.
A smart trader can get in and out of bitcoin and dollars in a way that will earn them more bitcoin, but this is tedious and risky. It takes a certain kind of person.
DeFi, however, offers ways to grow one’s bitcoin holdings – though somewhat indirectly.
A long HODLer is happy to gain fresh BTC off their counterparty’s short-term win. That’s the game.
For example, a user can create a simulated bitcoin on Ethereum using BitGo’s WBTC system. They put BTC in and get the same amount back out in freshly minted WBTC. WBTC can be traded back for BTC at any time, so it tends to be worth the same as BTC.
Then the user can take that WBTC, stake it on Compound and earn a few percent each year in yield on their BTC. Odds are, the people who borrow that WBTC are probably doing it to short BTC (that is, they will sell it immediately, buy it back when the price goes down, close the loan and keep the difference).
A long HODLer is happy to gain fresh BTC off their counterparty’s short-term win. That’s the game.
How risky is it?Enough.
“DeFi, with the combination of an assortment of digital funds, automation of key processes, and more complex incentive structures that work across protocols – each with their own rapidly changing tech and governance practices – make for new types of security risks,” said Liz Steininger of Least Authority, a crypto security auditor. “Yet, despite these risks, the high yields are undeniably attractive to draw more users.”
We’ve seen big failures in DeFi products. MakerDAO had one so bad this year it’s called “Black Thursday.” There was also the exploit against flash loan provider bZx. These things do break and when they do money gets taken.
As this sector gets more robust, we could see token holders greenlighting more ways for investors to profit from DeFi niches.
Right now, the deal is too good for certain funds to resist, so they are moving a lot of money into these protocols to liquidity mine all the new governance tokens they can. But the funds – entities that pool the resources of typically well-to-do crypto investors – are also hedging. Nexus Mutual, a DeFi insurance provider of sorts, told CoinDesk it has maxed out its available coverage on these liquidity applications. Opyn, the trustless derivatives maker, created a way to short COMP, just in case this game comes to naught.
And weird things have arisen. For example, there’s currently more DAI on Compound than have been minted in the world. This makes sense once unpacked but it still feels dicey to everyone.
That said, distributing governance tokens might make things a lot less risky for startups, at least with regard to the money cops.
“Protocols distributing their tokens to the public, meaning that there’s a new secondary listing for SAFT tokens, [gives] plausible deniability from any security accusation,” Zehavi wrote. (The Simple Agreement for Future Tokens was a legal structure favored by many token issuers during the ICO craze.)
Whether a cryptocurrency is adequately decentralized has been a key feature of ICO settlements with the U.S. Securities and Exchange Commission (SEC).
What’s next for yield farming? (A prediction)COMP turned out to be a bit of a surprise to the DeFi world, in technical ways and others. It has inspired a wave of new thinking.
“Other projects are working on similar things,” said Nexus Mutual founder Hugh Karp. In fact, informed sources tell CoinDesk brand-new projects will launch with these models.
We might soon see more prosaic yield farming applications. For example, forms of profit-sharing that reward certain kinds of behavior.
Imagine if COMP holders decided, for example, that the protocol needed more people to put money in and leave it there longer. The community could create a proposal that shaved off a little of each token’s yield and paid that portion out only to the tokens that were older than six months. It probably wouldn’t be much, but an investor with the right time horizon and risk profile might take it into consideration before making a withdrawal.
(There are precedents for this in traditional finance: A 10-year Treasury bond normally yields more than a one-month T-bill even though they’re both backed by the full faith and credit of Uncle Sam, a 12-month certificate of deposit pays higher interest than a checking account at the same bank, and so on.)
As this sector gets more robust, its architects will come up with ever more robust ways to optimize liquidity incentives in increasingly refined ways. We could see token holders greenlighting more ways for investors to profit from DeFi niches.
Questions abound for this nascent industry: What will MakerDAO do to restore its spot as the king of DeFi? Will Uniswap join the liquidity mining trend? Will anyone stick all these governance tokens into a decentralized autonomous organization (DAO)? Or would that be a yield farmers co-op?
Whatever happens, crypto’s yield farmers will keep moving fast. Some fresh fields may open and some may soon bear much less luscious fruit.
But that’s the nice thing about farming in DeFi: It is very easy to switch fields.
Supposed You've researched the market price for the coin you want to buy and it is low enough, and you've decided the time is right to buy it. You immediately go to the Binance exchange and place your limit order, hoping that a slight price drop will allow your order to complete quickly.submitted by jakkkmotivator to thecryptobasic [link] [comments]
But wait ... what just happened? After placing your order, you notice another buyer place a large order with a marginally higher price, pushing your order below the queue.
He says "fair enough" as you decide to increase the bid price of your order to keep your order in the queue and once again your order is pushed downwards and new order just appears above your order and before you know it, that attractive pricing opportunity you wanted to take advantage of is gone.
Why did this happen? In other words, Crypto Trading Bots.
Crypto Trading Bots
What Is A Bot?A bot is an automated trading entity that is programmed to identify market trends and automatically execute trades. Using algorithms, these robot operators can replicate what human operators would do in response to various market scenarios. But crucially, bots can process information and make business decisions much faster than humans. And the bots they just keep improving.
They use a wealth of market data to examine trends, update their algorithms, and eventually make more informed and profitable business decisions.
Today, bots are used in many financial markets by high-frequency traders to exploit small price anomalies. Markets like currencies have undergone a bot revolution in recent years. The days of crowded commercial flats overflowing with merchants yelling "Buy!" and "Sell!" they are gradually becoming a thing of the past.
And e-commerce facilities and rows of computer servers have come in their place as automation takes hold.
Bots And Crypto Markets Are Perfectly MatchedBots are now proving to be especially popular within the crypto community, from sophistication from free services designed for everyone to more expensive subscription-based bots for professionals.
Crypto exchanges are proving to be the ideal playground for bots to expand their influence:
Unlike traditional financial markets that normally close evenings and weekends, crypto markets are open 24 hours a day, 7 days a week. This makes them ideal for automated trading: humans sleep but trading bots do not.
With some cryptocurrencies now tradable on dozens of exchanges, the abundance of arbitrage opportunities that have arisen can be exploited more efficiently by bots than by traders.
Last year, Bloomberg set the amount of automated Bitcoin trading on some exchanges to 80% of total trade volume. Bots could also be partially liable for the massive price changes we've seen in the crypto markets.
But what is certain is that a large number of exchange order books are being influenced by bot action. And these bots can produce merchants to buy at a higher price or sell at a lower price than they originally intended. It is often the case with limited orders that bots will be the lowest offer and/or demand prices on the market, and largely the rest of the order book.
Also, bots are annoying to deal with! Seeing that your offer is outnumbered almost instantly, and by a robot, not even another merchant, can be very irritating, especially if you place your initial order intending to capitalize on what you think is a 'wrong price' in the market.
Looking at market orders, you can also observe a series of bot orders of insignificant quantities that exist close to the market price, before the initial order of any true important quantity is further from the market. Again, bots are trying to trick you into placing a market order that fills up instantly, but most of which will be filled against the large order at a worse price.
Counter Crypto Trading Bot ActivityIt can be tempting to outperform the robots simply by resubmitting your limit order with a slight lowering the price although such a single trade strategy may not significantly harm your end-of-day earnings if you are a serious crypto trader who conducts multiple trades on multiple exchanges every day, these small but frequent annoyances will inevitably amount to considerable long-term loss.
As such, it may be preferable to keep your order at the price you originally intended. If there is at least some volatility in the market, then your order will complete if you are not in any particular hurry, it is also recommended to take a minute to observe the behavior of the order book. Often bot orders will appear and then suddenly disappear, or move around the book due to constant price adjustments being made. By trying to identify bot intentions, you can end up in a more informed position regarding how and when you place your order.
Of course, buying a bot yourself could also help. As more data is collected on the price behavior of various crypto assets, these machines will only evolve further and become even more sophisticated in their business competition.
But whatever you do, being aware of the existence and influence of bots will help you avoid getting carried away by a sub-optimal trading position.
Yes. You pick a peer and after some setup, create a bitcoin transaction to fund the lightning channel; it’ll then take another transaction to close it and release your funds. You and your peer always hold a bitcoin transaction to get your funds whenever you want: just broadcast to the blockchain like normal. In other words, you and your peer create a shared account, and then use Lightning to securely negotiate who gets how much from that shared account, without waiting for the bitcoin blockchain.
Yes, Lightning is open source. Anyone can review the code (in the same way as the bitcoin code)
Similar to the bitcoin network, no one will ever own or control the Lightning Network. The code is open source and free for anyone to download and review. Anyone can run a node and be part of the network.
No, your bitcoin will never leave the blockchain. Instead your bitcoin will be held in a multi-signature address as long as your channel stays open. When the channel is closed; the final transaction will be added to the blockchain. “Off-chain” is not a perfect term, but it is used due to the fact that the transfer of ownership is no longer reflected on the blockchain until the channel is closed.
Example: A and B have a channel. 1 BTC each. A sends B 0.5 BTC. B sends back 0.25 BTC. Balance should be A = 0.75, B = 1.25. If A gets disconnected, B can publish the first Tx where the balance was A = 0.5 and B = 1.5. If the node B does in fact attempt to cheat by publishing an old state (such as the A=0.5 and B=1.5 state), this cheat can then be detected on-chain and used to steal the cheaters funds, i.e., A can see the closing transaction, notice it's an old one and grab all funds in the channel (A=2, B=0). The time that A has in order to react to the cheating counterparty is given by the CheckLockTimeVerify (CLTV) in the cheating transaction, which is adjustable. So if A foresees that it'll be able to check in about once every 24 hours it'll require that the CLTV is at least that large, if it's once a week then that's fine too. You definitely do not need to be online and watching the chain 24/7, just make sure to check in once in a while before the CLTV expires. Alternatively you can outsource the watch duties, in order to keep the CLTV timeouts low. This can be achieved both with trusted third parties or untrusted ones (watchtowers). In the case of a unilateral close, e.g., you just go offline and never come back, the other endpoint will have to wait for that timeout to expire to get its funds back. So peers might not accept channels with extremely high CLTV timeouts. -- Source
Tiny payments are possible: since fees are proportional to the payment amount, you can pay a fraction of a cent; accounting is even done in thousandths of a satoshi. Payments are settled instantly: the money is sent in the time it takes to cross the network to your destination and back, typically a fraction of a second.
Yes, but not in theory. You could make a poorer lightning network without it, which has higher risks when establishing channels (you might have to wait a month if things go wrong!), has limited channel lifetime, longer minimum payment expiry times on each hop, is less efficient and has less robust outsourcing. The entire spec as written today assumes segregated witness, as it solves all these problems.
No, for now. For the first version of the protocol, if you wanted to send a normal bitcoin transaction using your channel, you have to close it, send the funds, then reopen the channel (3 transactions). In future versions, you and your peer would agree to spend out of your lightning channel funds just like a normal bitcoin payment, allowing you to use your lightning wallet like a normal bitcoin wallet.
Not really. Anyone can set up a node, and so it’s a race to the bottom on fees. In practice, we may see the network use a nominal fee and not change very much, which only provides an incremental incentive to route on a node you’re going to use yourself, and not enough to run one merely for fees. Having clients use criteria other than fees (e.g. randomness, diversity) in route selection will also help this.
Lightning is already being tested on the Mainnet Twitter Link but as for a specific date, Jameson Lopp says it best
Nope, because there is no custody ever involved. It's just like forwarding packets. -- Source
Furthermore, the Lightning Network scales not with the transaction throughput of the underlying blockchain, but with modern data processing and latency limits - payments can be made nearly as quickly as packets can be sent. -- Source
Each exchange will get to decide and need to implement the software into their system, but some ideas have been outlined here: Google Doc - Lightning Exchanges
Note that by virtue of the usual benefits of cost-less, instantaneous transactions, lightning will make arbitrage between exchanges much more efficient and thus lead to consistent pricing across exchange that adopt it. -- Source
According to Rusty's calculations we should be able to store 1 million nodes in about 100 MB, so that should work even for mobile phones. Beyond that we have some proposals ready to lighten the load on endpoints, but we'll cross that bridge when we get there. -- Source
No you'd remember the information from the last time you started the app and only sync the differences. This is not yet implemented, but it shouldn't be too hard to get a preliminary protocol working if that turns out to be a problem. -- Source
Lightning is based on participants in the network running lightning node software that enables them to interact with other nodes. This does not require being a full bitcoin node, but you will have to run "lnd", "eclair", or one of the other node softwares listed above.
All lightning wallets have node software integrated into them, because that is necessary to create payment channels and conduct payments on the network, but you can also intentionally run lnd or similar for public benefit - e.g. you can hold open payment channels or channels with higher volume, than you need for your own transactions. You would be compensated in modest fees by those who transact across your node with multi-hop payments. -- Source
Sure, you can help write up educational material. You can learn and read more about the tech at http://dev.lightning.community/resources. You can test the various desktop and mobile apps out there (Lightning Desktop, Zap, Eclair apps). -- Source
No -- Source
lit doesn't depend on having your own full node -- it automatically connects to full nodes on the network. -- Source
LND uses a light client mode, so it doesn't require a full node. The name of the light client it uses is called neutrino
Upon opening a channel, the two endpoints first agree on a reserve value, below which the channel balance may not drop. This is to make sure that both endpoints always have some skin in the game as rustyreddit puts it :-)
For a cheat to become worth it, the opponent has to be absolutely sure that you cannot retaliate against him during the timeout. So he has to make sure you never ever get network connectivity during that time. Having someone else also watching for channel closures and notifying you, or releasing a canned retaliation, makes this even harder for the attacker. This is because if he misjudged you being truly offline you can retaliate by grabbing all of its funds. Spotty connections, DDoS, and similar will not provide the attacker the necessary guarantees to make cheating worthwhile. Any form of uncertainty about your online status acts as a deterrent to the other endpoint. -- Source
You typically want to have more than one channel open at any given time for redundancy's sake. And we imagine open and close will probably be automated for the most part. In fact we already have a feature in LND called autopilot that can automatically open channels for a user.
Frequency will depend whether the funds are needed on-chain or more useful on LN. -- Source
You don't really set up a "node" in the sense that anyone with more than one channel can automatically be a node and route payments. Fees on LN can be set by the node, and can change dynamically on the network. -- Source
Yes but it has to be implemented in the Lightning software being used. -- Source
You won't have to do anything. With autopilot enabled, it'll automatically open and close channels based on the availability of the network. -- Source
submitted by IMBA-Exchange to u/IMBA-Exchange [link] [comments]
Most beginners who open trading accounts on cryptocurrency exchanges and start independent trading, see only one goal — to earn as quickly as possible.
This is a big mistake. The fact is that trading on the stock exchange will only become truly profitable when it becomes a priority for the person who came to trading. As a rule, to combine trade with any other occupation and at the same time everywhere to succeed will not work.
Trading for a novice trader should be if not the main, then a very important and priority occupation. No need to wait for quick results.
Trading on the stock exchange — the same profession as a doctor, Builder or engineer. The only difference is that she can’t go to University. Just as one learns to be a Builder for five years, so it takes years to learn all the wisdom and secrets of the trade. Trading on the stock exchange is not a Stayer distance, it is a marathon. And the winner is the one who will find the courage to reach the end.
In addition, trade is very much changing a person, showing his qualities, which in everyday life he does not know. Over time, if a trader really wants to succeed in trading, he must completely rethink his life, change the system of values and look at many things, change himself.
Fear as a Component of TradingThe strongest emotion known to man is, of course, fear. What gives rise to the exchange’s fears? We can not predict the behavior of the market, and therefore fully control their money invested in its instruments. In addition to the unknown, when there is no understanding of how to safely get out of a predicament, we are afraid in advance of what traumatized us earlier. Because fear is so emotional, you need to surround yourself with the right facts to drive it away. We need to know for sure that our trading system should not generate more than three consecutive losing trades. Winners plan what to do if their trades fail.
So only a systematic approach will protect us from ourselves. That is why the investment rules written in the trading templates exist not only to communicate the best market opportunities but, more importantly, to protect us from our own internal “demons”.
Emotions in TradingSeekers of strong emotions, adrenaline forget everything in pursuit of excitement. It follows that a novice investor, overtaken by the “adrenaline curse”, will trade at the slightest opportunity. Yet Dostoevsky, one of the most famous and avid players, said that for him the most acute feeling in life — to win money. The second most acute feeling is to lose them.
Paradoxically, few things give more pleasure than getting rid of the pain and torment of being in a losing trade. This creates a mental internal conflict. Awareness of losses brings “excitement” or a sense of exaltation, and our emotionality does not care what we pay for these experiences losses in the brokerage account. “Adrenaline curse” will drive us into the trade for thrills and extract them from there, regardless of the price.
Intuition on the ExchangeThe mind of an intuitive investor tries to construct mental constructions of events. I will try to explain what mental construction is by the example of a chess player’s thinking. The grandmaster understands and remembers the position of each figure in terms of its mental constructions and relationships inherent in the arrangement of figures. The random arrangement of the figures does not fit into any of his mental constructs, and he cannot structure what he sees.
Market patterns on cryptocurrency charts compared to chess compositions include an excessive element of chaos so that they can be interpreted intuitively. Investors with intuition are able to achieve success with the help of” flair”, but this flair often leaves them. The intellect of the rational trader, on the contrary, is manifested in his ability to logically comprehend what is happening to him and to the reality around him and to make on this basis the simplest and most correct decision. Intuition is the ability of a person to penetrate into the essence of things not by reasoning or logical thinking, but by instantaneous, unconscious insight. This is the ability of a trader to “ see the market not with his mind but with his heart.” But, even with a highly developed intuition, you can not act on the market, using only it.This is the trap of intuitive trading — it is impossible to learn.
Fear of Taking ResponsibilityWhat distinguishes successful traders from losers who lose money? First of all look at life. Most people are very passive.
If you ask people if they are happy with their lives, the answer is likely to be negative. On the question of who is to blame, I would say that the fault of the parents who have not given a good education, why now not get a good job; blame the employer who delays wages; blame the dollar, which is rising, then falling; to blame the President and the government who do not pay pensions, etc., In their troubles and problems most of the people blame anyone but themselves.
The same thing happens in the market because the exchange is a mirror of our life. Talk to the trader losing money, ask why he can’t make money in the market. He replied that the fault of the insiders, manipulators, blame the binary options broker too much Commission, to blame the neighbor who suggested the deal, which turned into a heavy loss. In other words, he himself would have been a millionaire long ago, but for a number of reasons, certainly beyond his control, until that happened.
If a person wants to achieve something-not just to lead a life, which are millions of ordinary people (every day to go to work, save five years for a car, twenty years for an apartment, etc.), and to live a full life, so that the financial issue went into the background, to work for fun, not for money, he needs to take responsibility for everything that happens in his life. A person needs to realize that the cause of everything that happens to him is himself.It is this view that allows you to succeed in life and in any business. And trade is no exception.
This is the way successful traders look at life. Once you realize that the cause of all your losses is yourself, and not some mythical manipulators, then the case will move forward.
In the age of digital technologies, when artificial intelligence develops, computer technologies improve, mankind creates various tools to facilitate their own life and everyday life.
If we pay attention to trading, then this direction is actively developing, getting new and unique tools. Since any trader (beginner or experienced specialist) is subject to emotions and various psychological factors, there are tools such as trading bots.
Trading Bots/RobotsA trading robot (bot) is a program that has a certain algorithm. It buys or sells cryptocurrency assets, focusing on the situation in the market. The first trading robots appeared in 2012, and since then they have become more and more perfect. Currently, according to some estimates, 90% of short-term transactions are made either by bots or with their participation.
Bots are usually developed for specific trading platforms. Most cryptocurrency exchanges have an API, and they are generally positive about free auto trading within their platform.
In contrast to the positive attitude to exchange robots, exchanges often have a negative attitude to arbitration robots. On the rules of trade can be found in the official documentation of the exchange, and if there is no such information, the question can be asked directly to technical support.Some people wonder: is it possible to write your bot trader? This is not an easy option, which is suitable only for experienced programmers. After writing, bots are tested for a long time in the market, corrected numerous errors, corrected strategy.
A programmer can also write a bot based on someone else’s code. Some bots are open source, and anyone can find it on GitHub and modify it to fit their needs.
Buy a bot for trading cryptocurrency: there are inexpensive programs for trading (about $ 10), and the cost of more high-quality and complex exceeds more than $ 200 and even $ 1000. There is no maximum price limit for bots, top bots are written to order $ 1500 and more.
Users are usually offered a choice of several tariff plans for crypto bots, from economy to luxury. The inexpensive option includes the most basic trading algorithms, and the expensive one brings maximum profit and works on more complex algorithms. Arbitration bots are a more expensive exchange. Known cases when downloading the bot, people got on your computer virus-miner or virus-cipher, which encrypt all your personal files and demanded a ransom in bitcoin, usually in bitcoin. Naturally, after transferring the ransom to the specified wallet, no decryption of the files occurred.
Trading strategy of stock and arbitrage bots can be very simple, for example:- When the price of cryptocurrency decreases, you need to buy it.- If the price rises, it should be sold.- Or much more complicated. The algorithm can take into account historical data for the last time, indicators, navigate by signals. Quality bots analyze more than a hundred parameters when placing orders.
Some programs do not change the algorithm, and there are bots that can connect or configure additional parameters. This option is well suited for experienced traders who have their own preferences in the style of trading.
A standard bot can perform such actions:- To assess the market situation, to monitor the rate at a given period of time, to make a forecast. In manual trading, it can show signals to the trader.- Create buy or sell orders.- To report on the profit or loss received.
On the example of our IMBA-Exchange, we came to the conclusion that we also need to provide an opportunity for each trader to use bots so that they can be in a comfortable trading environment.
Our exchange specialists are developing their own bot for cryptocurrency trading, which will be an excellent and convenient addition to every trader who wants to eliminate the psychological factor and seeks to get stable earnings without losing personal time.
IMBA-Exchange Metronix bot makes life easier for every investor.
For example, Ing. Michael Eder the CEO of IMBA-Exchange, who has 10 years of experience in trading and the last 3 years in cryptocurrency trading, has firmly decided for himself that in the current realities trading on the exchange simply needs bots:
Throughout the time that I have been trading, I can confidently say that today trading bots are necessary for all traders as the main tool. No matter how long you are in exchange trading, but the nature of the person is designed so that under the influence of psychological factors, market conditions, etc. You still make mistakes and, as a result, this leads to financial losses.Our Metronix Trading Bot will help to solve these problems and eliminate negative consequences. A bot is a tool; it has no feelings. He performs a specific task for a given program and performs it almost unmistakably. The task of the trader is to monitor the situation on the market and correctly, as well as at the right time to configure your bot.Stay with us, in front of you will find many interesting and new.
Material developed by experts IMBA-Exchange
submitted by MoonTrader_io to Moontrader_official [link] [comments]
Crypto Trading Bots: The Servants That Make You RichThe classical stock market has its phases, since it sleeps and awakens to resume trading. Unlike the traditional financial market, the crypto market never sleeps and trades nonstop. Such an approach can be quite profitable for those who resort to modern means of replacing themselves at the screen to go to sleep and let trading continue in automatic mode.
The advent of trading bots allowed not only traditional market participants, but also crypto market enthusiasts to make profit nonstop at speeds and functional capabilities that humans will never be able to achieve.
Trading BotsIn essence, trading bots are software programs that are installed as add-ons on financial software interfaces. Acting as automated trading operations facilitators, the trading bots execute strategies and actions that they are programmed to perform by the traders. Trading bots can place buy and sell orders based on parameters and algorithms, while more advanced models of bots are capable of conducting in-depth analysis of financial markets to reveal profitable avenues and approaches to strategies.
The bots themselves rarely take action on their own, as traders program them to analyze market volumes, cups, dynamics and other parameters to act based on a pre-determined strategy. Though highly popular on traditional markets over the last decade, trading bots are quite restrictive in both their price, which can start from $10,000 on a Bloomberg trading terminal, and their limited functionality. However, the advent of blockchain and cryptocurrencies together with AI and neural networks has allowed trading bots to evolve into more advanced constructs capable of relatively independent “thinking” that allows them to take action based on a variety of aggregated datasets.
Cryptocurrency Trading BotsCryptocurrency trading bots have arisen together with the advent of crypto exchanges. It did not take programmers long to develop bots capable of monitoring the crypto market and executing strategies. The similarities between the crypto and traditional markets have made the transition even easier.
Like their traditional counterparts, cryptocurrency trading bots act on the basis of data they aggregate from a variety of sources, namely the crypto exchanges. They analyze market parameters and execute the strategies that the traders program them to perform. Cryptocurrency day trading bots are the most popular type, since day trading still provides the biggest scope of opportunities for making profits on heightened market volatility. Bitcoin buy and sell bots are some of the most popular constructs tailored for the market.
The logical arising question of how to make a cryptocurrency trading bot is a fairy popular one on the web, and the answer is not as simple as it would seem. Making a crypto trading bot is the job of traders/programmers who are qualified enough to make a piece of software capable of coping with vast amounts of financial data. In fact, cryptocurrency trading bots are available from open sources on the web and there are dozens of template software samples available to tailor any need.
The internet is also awash with crypto trading bot reviews, which include Bitcoin arbitrage bots, day trading bots, specialized crypto coin trading bots and many others.
Apart from expensive and highly advanced crypto trading bots, there are also free models that are available to average users. The constructs available range from beginner to advanced trader level in their complexity and user interface friendliness.
Apart from average trading bots, there are also arbitrage bots, which are also software programs that have features allowing traders to set up a variety of parameters that will directly affect the bot's behavior. With such an approach to trading, the bots can enter various exchanges that support them and trade in autonomous fashion on the trader’s behalf. The main advantage of arbitrage bots is that they can make instantaneous decisions depending on asset price movements to make profits for the trader.
The Main Types Of Strategies Used By BotsSince trading bots largely act as avatars for traders, they mimic the strategies that the traders program them to execute. Some of the most popular strategies that bots are used for are the following:
Trading on the exchange is the classic norm under which a bot is programmed to buy or sell some assets at predetermined prices by placing buy and sell orders.
Arbitrage is the simultaneous purchase and sale of an asset for the purpose of making a profit from an imbalance in its price. Identical or similar financial instruments on different markets or in different forms have different prices, and by exploiting those differences, the bots make profits for the traders.
Market making is the third most popular strategy employed by trading bots. Namely, market making is the execution of strategies or sell-side methods designed to capture spreads, otherwise known as the difference in price between buys and sells. In essence, the bots act as market makers, essentially acting as a guaranteed counterparty for other traders that are single directional in the market.
Other Useful FeaturesTrading bots are not only about trading, as there are some constructs which were designed as assistants to traders rather than as direct replacements or avatars. There are bots that are designed as market dynamics analysts, others act as aggregators of information that provide detailed market charts, while some are deigned to filter out useful information in news backgrounds that can affect asset prices. The variety of bots on the market is immense and they have been around for far longer than the crypto market itself. In fact, many bank tellers, online shop assistants, even surveillance systems are actually bots, which have been designed to perform specialized features.
The same applies to the crypto market, where the merger or AI and neural networks has given birth to invaluable constructs that help traders and enthusiasts make sense of the market.
Needless to say, there are risks involved with using bots as well. Since the software is imperfect by nature of its automation, limited independence and lack of critical thinking outside the set parameters, bots should be monitored constantly and are by no means a panacea that would ensure profits. Bots are more like assistants that can take over for the trader for a limited time and execute mundane tasks. More complex tasks, such as analysis of charts, in-depth technical analysis and decision making are still the responsibility of human traders.
The risks of loss run high if trading bots are abused or left unchecked. Given that the bots cannot always spot market movements that have to predicted, it is highly advised to use bots with caution and rely on personal involvement in the trading process.
Check us out at https://moontrader.io
Originally posted on our blog.
ArbiTrade Bot is an automized solution doing arbitrage trading on cryptocurrencies. Our bot syncs to up to 20+ exchanges to track opportunities by comparing bid and ask prices to seek profit from the spread. When the difference in price minus the fees is positive, the bot identifies an opportunity. It purchases low, and sell high. USI Tech is a Forex trading bot that also offers cryptocurrency trading packages. Unlike most trading bots that need installation and set up, USI TECH’s approach to trading is different. As a user, you have no control of the bot. Instead, you pay for an expert cryptocurrency trader, and then USI TECH guarantees you daily profit from the trades. Blackbird Bitcoin Arbitrage; What to consider when choosing an arbitrage trading bot; Understanding Crypto Arbitrage Bots. Trading cryptocurrencies is a profitable endeavor, but traders make profits in different ways. There are the Hodlers and the regular day-to-day traders, who buy low and sell high on an exchange. We also have the experienced ... The cryptocurrency arbitrage bot that allows you to exploit price differentials between exchanges. ... Select one arbitrage path. Let your bot start trading. 3. Make Profit Once the trading is completed, cashout your earnings. ... Bitcoin BTC / NGN / JPY / BTC Binance / Forex / CREX24 ... Bitcoin Arbitrage Trading Bot. A python monitoring and trading bot which exploits price-spreads between different cryptocurrency exchanges. Capabilities
[index]          
Crypto Arbitrage Bot - Cryptocurrency Exchange Arbitrage Trading Software Tool 2020 - Duration: 18:02. ... Bitcoin Arbitrage Bot 2017 - Cryptocurrency Arbitrage - Duration: 10:18. L7 Trade is not a crypto arbitrage trading bot, however, it is a software platform that lets you take advantage of arbitrage and the price differences on all the different cryptocurrency exchanges. Click to Download https://bit.ly/2q3es0V Automated trading robot for bitcoin arbitrage Trades most popular symbols Has stop-loss and take-profit, safety for deposit Free Analytic of the Cryptocurrency Arbitrage Strategy A program was created that works on Web sites. You can see an example of a trading bot. Presented 11 crypto pairs and 6 exchanges. Bitcoin Arbitrage Bot Cryptocurrency 2020 Exchange Arbitrage Trading [Software Tool] ... (Cryptocurrency Arbitrage Trading) - Duration: 17:18. Crypto Wizards 616 views. 17:18.