<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sid Venkateswaran on Medium]]></title>
        <description><![CDATA[Stories by Sid Venkateswaran on Medium]]></description>
        <link>https://medium.com/@sidmvenkat?source=rss-1ddfd1ee198c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Vdq-Ga13slj2aF2PhWaQFA.jpeg</url>
            <title>Stories by Sid Venkateswaran on Medium</title>
            <link>https://medium.com/@sidmvenkat?source=rss-1ddfd1ee198c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 20:43:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sidmvenkat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Millenial Robinhood: Take from the poor and give to the rich]]></title>
            <link>https://medium.com/@sidmvenkat/the-millenial-robinhood-take-from-the-poor-and-give-to-the-rich-11634892c4bc?source=rss-1ddfd1ee198c------2</link>
            <guid isPermaLink="false">https://medium.com/p/11634892c4bc</guid>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[hft]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[robinhood-app]]></category>
            <dc:creator><![CDATA[Sid Venkateswaran]]></dc:creator>
            <pubDate>Fri, 26 Apr 2019 20:50:35 GMT</pubDate>
            <atom:updated>2019-05-24T23:13:55.244Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*QL6QoEm1M0PG8WDWJvzKLQ.jpeg" /></figure><p>Robinhood Markets has taken the financial world by storm by allowing its customers to trade stocks, ETF’s, options, and most recently cryptocurrencies all for free through an intuitive mobile app — completely upending the entire brokerage industries’ standard of charging around $7–10 per retail trade. Having raised $539 million at a $5.6 Billion valuation and with co-founders from Stanford, they are Silicon Valley’s poster-child for Fintech startups. Taking their name from a fictional character who takes from the rich and gives to the poor, Robinhood claims to democratize the financial system, which in the wake of the Great Recession, sounds incredibly appealing. Prior to Robinhood, founders Vlad Tenev and Baiju Bhatt founded Chronos Research, a company that built out trading platforms to facilitate automated trading for hedge funds and investment banks. They soon realized they could bring this same technology used by large financial institutions to the masses. The timing couldn’t have been more perfect — millennials were “disillusioned with the state of the financial markets” says founder Vlad Tenev. Robinhood offers access to the financial markets without the hurdles that retail investors are often traditionally met with.</p><p>And Robinhood has been incredibly successful, with more customers than any of their competitors in the brokerage market. Robinhood’s easy-to-use mobile application and free trading are vastly different from the status quo where you would have to pay $7–10 per transaction for trades made on the phone with a live representative at your brokerage firm. While only six years old, they have over six million customers — 2.5 million more than E-Trade, a company nearly six times as old as Robinhood. There are two interesting aspects to their customers. First, the average account size of a Robinhood customer is significantly smaller than that of its’ competitors. According to a JMP Securities analysis conducted last year, Robinhood’s average account size is around $1–5K with E-Trade’s around $100K, TD Ameritrade’s $110K, and Charles Schwab’s $240K. Second, Robinhood’s customers, on average, are significantly younger. Fast Company reported that nearly 78% of Robinhood’s customers are under the age of 35. Robinhood has the opportunity to make them lifelong customers, something valuable in the brokerage industry which has high customer acquisition costs. Having gained massive traction and media attention, the question always arises “How does Robinhood make money? How is their business model sustainable when you can use the app completely for free?” The idea of a commission-free brokerage isn’t new. In 1999, TD Ameritrade tried a commission-free project called Freetrade.com that eventually failed and became a product that charged commission. In 2006, a company named Zecco launched with free trading but was sold to a broker that charged commission. So let’s dive into how Robinhood generates revenue.</p><p><strong>How Robinhood makes money?</strong><br>According to Robinhood’s own website, these are the following ways they make money:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSdxOah9vaBLOxvnV4lo9w.png" /></figure><p>Robinhood Gold allows customers to borrow money on margin to leverage their trades. Although this can be very profitable, it can also be incredibly catastrophic when used by uninformed or inexperienced investors. Robinhood has caught slack for heavily marketing this feature and incentivizing active trading and leverage, potentially devastating financial tools. The final point regarding rebates is particularly intriguing. “Rebates from market makers and trading venues.” What does that actually mean? Who are market makers and trading venues? And why are they paying rebates to Robinhood? Robinhood over the last six months has come under heavy attack for their rebates from market makers. This is referring to a practice known as Payment for Order Flow. Let’s examine why market specialists aren’t too happy with this.</p><p><strong>Payment for Order Flow</strong><br>Robinhood is referring to a practice known in the brokerage industry as Payment for Order Flow (PFOF). Before we dive into this, we need to define a couple of things and describe how the brokerage industry works.</p><ul><li><em>Order Flow: </em>Quite simply, it is the flow of orders received by broker</li><li><em>Payment for Order Flow: </em>When a broker receives a payment for sending their order flow to another broker to execute</li></ul><p>When, the investor, wants to buy or sell shares in a public company, they can’t go directly to a stock exchange and be able to conduct a transaction. Instead, they send their order to a registered broker whose job is to then go to various trading venues and to get the best execution quality they can for the trade. While Robinhood operates as a broker, they aren’t directly connected to any trading venues. Instead, Robinhood’s sole job is to (1) attract potential clients and their orders. Robinhood then (2) sell’s these orders to various High Frequency Trading (HFT) market makers whose job it is to then to actually execute the trade. (3) Robinhood then gets paid a small amount from these execution broker services for each transaction.</p><p>Companies like Citadel, Two Sigma, Virtu, etc have market-making arms that pay massive amounts for order flow from other brokerages — hence the term “Payment for Order Flow”(PFOF.) This practice originally began with new stock exchanges trying to gain traction and attract customers by paying for volume. It now extends all the way to brokers (with the practice ironically pioneered by the infamous Robert Madoff.) Brokers claim that by selling their orders, execution brokers can bundle those orders and reduce overall execution costs. This is especially beneficial to small, boutique brokers who do not have the sophistication to execute their own orders. But why would other broker’s pay for this right to execute another broker’s order?</p><p>The theoretical idea behind it is that the traders’ orders they are buying, are uninformed traders — often retail traders or other ineffective investors who are trading due to some irrational reason and not because they know an asset is misvalued. By purchasing what is expected to be “uninformed order flow”, a market-maker can buy at the bid and sell at the ask with less risk of trading at a loss with an informed trader who knows that the market is mispricing the security. Therefore, market-makers who pay for order flow can capture the spread while reducing the risk that the spread is too narrow to adequately compensate them for the risk of loss. The wholesale broker who purchased the order is obligated by the SEC to follow what is known as “best execution” which they define as the “lowest price, the speediest rade or the one most likely to be completed.” Therefore even with SEC regulation, the language still leaves a lot of room for interpretation.</p><p><strong>Why Payment for Order Flow is Harmful</strong><br>But the entire brokerage industry is not in complete support of this practice with many regulators and large industry veterans skeptical of its benefits. In fact, Vanguard, one of the oldest and largest brokerage services doesn’t engage in this practice at all. Here are a couple of the most common critiques against PFOF:</p><ul><li><em>Conflict of Interest</em></li></ul><p>The brokerage you originally submitted your order to may end up selling your order to be executed by a firm that pays the most for it, instead of the firm that’s most likely to best execute that order. SEC regulation doesn’t really cover this area and they’ve stated that “the existence of payment for order flow raises the potential for conflicts of interest for broker-dealers handling customer orders.”</p><ul><li><em>Pulling Liquidity When It is Most Necessary</em></li></ul><p>Some argue that the market-makers that pay for order flow use this information to understand when to drop providing liquidity to certain parts of the market during times of need which further increases the bid-ask spread and introduces further volatility into the market. The traders whose orders aren’t executed then have the bear the cost of missing the chance to have their order filled.</p><ul><li><em>Lack of Transperency</em></li></ul><p>It’s unclear how your order is ultimately handled. Brokers treat the order you send them as “their” order and it is up to them to decide who they can sell it to execute the order. “Your order may get sold by your broker to an ‘internalizer’ or High Frequency Trading firm, who then makes even more money off your order [via the exchanges, ECNs, and/or dark pools] than they are paying your broker.” (Alpha Architect) Details on this incredibly sparse as most of these deals are done under the table without much information or transparency on the process.</p><p>The SEC has looked into conducting a pilot program to understand the effects of PFOF but nothing materialized. Currently, the SEC has three specific pieces of legislation regarding PFOF:</p><ul><li><em>Rule 10b-10:</em> A broker-dealer must report on the trade confirmation statement that the customer’s order was sold and payment was received by the broker as a part of a transaction. Furthermore, pertinent details such as the “source and nature of the compensation” shall be available on the customer’s written request.</li><li><em>Regulation NMS — Rule 606: </em>Brokers must publish quarterly reports disclosing any arrangement for payment for order flow or profit sharing.</li><li><em>Regulation NMS — Rule 607:</em> When a customer opens a new account, on an annual basis, the broker-dealer must disclose their policies regarding PFOF and policies regarding how sold orders are routed.</li></ul><p>Essentially the legislation regarding PFOF requires those who engage in this practice to disclose various pieces of information on a regular basis to parties who are subject to this practice.</p><p>In the book, <em>Flash Boys by Michael Lewis</em>, market specialist Christopher Nagy explains that combination of the complexity caused by RegNMS, rapid growth in the number of stock exchanges, and rise in HFT has significantly increased the value of a stock market customer’s order. Over the last couple of decades, market infrastructure has changed to adapt to modern technologies. Charles Schwab used to sell their order to UBS who in turn would sell their order to Citadel. Nagy explains that it is a shady/under the table kind of business because, ultimately, no one really knows the value of the information contained in these orders, only the HFT firms who used them for profit did, and they would release absolutely nothing. Ultimately from the perspective of HFT’s, customers without black boxes, algos, or sophisticated market technology — most retail brokers and even many institutional orders — had the most valuable order flow because their quotes were intrinsically late to the market. (Paraphrased from pages 179–182)</p><p>Luckily since last year, every firm that engages in this practice is required to disclose certain information on a quarterly basis (RegNMS Rule 606), allowing us to take a closer look at how Robinhood profits from this practice.</p><p><strong>How does Robinhood specifically benefit from PFOF</strong></p><p>An article on <a href="https://seekingalpha.com/article/4205379-robinhood-making-millions-selling-millennial-customers-high-frequency-traders">SeekingAlpha by Logan Kane</a> was one of the first people to take a deep look into Robinhood’s 606 forms. He boldly claims that Robinhood “Takes from the millennial and gives it to the high-frequency trader.” To get a better idea of how much money Robinhood makes from this practice, he looks to other brokerages who also engage in this practice. In TD Ameritrade and E*Trade’s 606 disclosures, they report their payment for order flow as around “a tenth of a penny per share,” which is the industry standard metric used when measuring PFOF rates. But, Robinhood reports them in terms of “per dollar of executed trade value.” This makes it incredibly difficult to compare how much Robinhood is being paid versus other brokerage firms. At first glance, it actually seems as if Robinhood is being paid significantly less for their order flow than other brokerages, but taking a closer look points the exact opposite conclusion. From Logan Kane’s post:</p><blockquote>Assume the average stock traded has a share price of $50. It takes 20,000 shares traded at $50 for $1,000,000 in volume, for which E*TRADE makes $22 per $1,000,000 traded, which sounds like a small number until you realize they cleared $47,000,000 last quarter from this. But off an identical $1,000,000 in volume, Robinhood gets paid $260 from the same HFT firms. If Robinhood did as much trade volume as E*TRADE, they would theoretically be making close to $500 million per quarter in payments from HFT firms.</blockquote><p>From this, it is quite clear there is something fishy with how Robinhood is getting paid for their order flow. Why would they use a different metric? Why does Robinhood get paid so much more for their orders when compared to larger, more established brokers who also sell their orders? What is so special about a Robinhood order? HFT make most of their money when large institutional orders hit the market, causing it to move. Small, retail orders are noise to market-makers. When Robinhood sends them a constant stream of purely retail flow it helps market-maker distinguish orders that hit the market as likely to be retail vs institutional, which in turn helps the highly profitable trades that HFT’s engage in.</p><p>There’s currently no way to be completely sure your Robinhood trades are not being front-run, but why else would HFT’s pay so much for your trades if they aren’t able to profit off of them? This brings up a serious question of execution quality. Time and time, these market-makers have been found to violate securities law. What’s worse is that almost every single firm that Robinhood sells their orders to has had run-ins with federal agencies.</p><ul><li>In 2017, <a href="https://www.sec.gov/news/pressrelease/2017-11.html">Citadel</a> paid a $22.6 Million fine for making misleading statements on how they priced trades when internalizing trades</li><li>In 2013, <a href="https://www.wsj.com/articles/two-sigma-suspends-surveys-of-stock-analysts-1391796589">Two Sigma</a> was subpoenaed and questioned by the NY Attorney General over how it collected financial information from stock analysts.</li><li>In 2015, <a href="https://www.barrons.com/articles/wolverine-trading-settles-tvix-info-sharing-case-for-1-million-1444329155">Wolverine Securities</a> paid a $1 Million dollar fine for improper information sharing.</li><li>In 2014, <a href="https://www.reuters.com/article/us-sec-etrade-idUSKCN0HY1YC20141009">G1 Execution Services</a> had to pay a $2.5 Million fine for improperly selling billions of unregistered penny stocks.</li></ul><p><strong>Robinhood’s Response</strong><br>After the SeekingAlpha post brought in a lot of media attention and scrutiny to the issue, Robinhood published a letter with a response. Founder &amp; Co-CEO Vlad Tenev explained that rebates are the source of income that allows them to offer commission-free trading. It stated that Robinhood doesn’t take payment amount into consideration and instead orders are sold based on which market maker will best execute your orders. But Tenev is being quite vague here without telling us what metrics they use and prioritize when measuring execution quality. Brokers have been known to conflate execution quality stats and use confusing metrics that aren’t often reflective of how well they’re able to execute orders. Tenev claims that Robinhood makes very little per trade from PFOF and brings up their payment rate and how if you were to buy a $100.00 stock on Robinhood, Robinhood would only earn about 2.6 cents from selling your order. But once again, using the “per dollar of executed trade value” metric hides information about the true nature of the transaction between Robinhood and the market makers. In response to this specific issue, in a statement to Bloomberg, Robinhood asserted that “We report our rebate structure on a per-dollar basis because this accurately reflects the arrangement we have with market makers,” and that “the structure benefits people who are trading small amounts of stock.” While these arguments seem sound, Robinhood needs to be more transparent on how they’re coming to these conclusions and what data they’re using to do so.</p><p><strong>Does it matter to the average customer?</strong><br>At the end of the day, does Robinhood’s average customer really care about any of this. If you’re a young investor who only trades a few shares a couple of times a month, do you really care about minute details regarding your execution quality? Especially if the entire platform is free to use. This business model is not entirely new, billions around the world use Google &amp; FB completely for free. Google &amp; FB take the user’s personal data and produce massive profits while also creating and maintaining amazing products for the world to use. Most people are aware of this and continue to use their products, Robinhood’s pretty much the same. If you use a traditional broker like E*Trade, TD Ameritrade or Fidelity, you’re paying a flat fee per trade, but the price improvement you receive through a higher execution quality will likely save you more than you spent on commission when you’re trading larger blocks. But at the same time, if you are a sophisticated investor trading large blocks, it is unlikely that Robinhood is your main broker.</p><p>The main issue I have is that Robinhood owes it to its customers to be more transparent about how they make money off of this practice. If they honestly believe there’s nothing wrong with payment for order flow and that it is actually beneficial, they need to show the proof and the data behind their decisions. They state their mission is to democratize the financial system, but it looks like quite the opposite, they’re trapping novice, retail investors for large HFT firms to prey on. They catch you with the commission-free trading, but you are paying in other ways.</p><p>Given all I’ve said, I don’t hate Robinhood. In fact, ever since I discovered the company around four years ago I’ve been fascinated and impressed with what Robinhood has been able to accomplish. Their app is fantastic and incredibly beautiful, many friends and people I know are investing, learning and engaging with the stock market in a way that was never possible. An incredibly cynical view is that the name Robinhood is pretty ironic given that they lure in less wealthy, uneducated, millennial retail investors with a flashy app and free trades only for them to rob you behind the scenes. Incredibly damning for a company that claims to fight the problems that were discovered in the great recession. On the upside, one could say that Robinhood has done a lot of good by bringing more people into the financial markets. Given the sheer volume of young customers they have, Robinhood has the potential to do good. It is very likely that these young customers are going to be lifelong customers. Robinhood has the chance to change the way it operates and become the trusted financial tool for millennials to lean on.</p><p>Thanks for reviewing and editing: <a href="https://medium.com/u/4eb3945f6875">Bala Chandrasekaran</a>, <a href="https://medium.com/u/69562be36b8c">Matthew Rastovac</a>, <a href="https://medium.com/u/c3c3e8dc97f6">Arsh Khandelwal</a>, <a href="https://medium.com/u/4a950925c76e">Bryan Sun</a>, <a href="https://medium.com/u/e5972c78c224">Sam Feizi</a>, Sid V., and Varun M.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11634892c4bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Landscape of Decentralized Cryptocurrency Exchanges]]></title>
            <link>https://medium.com/@sidmvenkat/the-landscape-of-decentralized-cryptocurrency-exchanges-2dc6edda4b87?source=rss-1ddfd1ee198c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dc6edda4b87</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[0x]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[decentralized-exchange]]></category>
            <category><![CDATA[coinbase]]></category>
            <dc:creator><![CDATA[Sid Venkateswaran]]></dc:creator>
            <pubDate>Fri, 20 Jul 2018 05:52:29 GMT</pubDate>
            <atom:updated>2018-07-20T17:02:44.388Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a multitude of ways to obtain cryptocurrencies, but the two current most common ways to do so are by mining the cryptocurrency or to go and buy some from a cryptocurrency exchange. We’re going to focus on the latter. Many of the most popular crypto exchanges, including Coinbase, Binance, Bitfinex, Kraken, etc., all provide a relatively easy and secure service that allows you to buy and sell cryptocurrencies, often with fiat (government-backed) currencies. They host a platform with tools to help match buyers and sellers in the market and disseminate prices of the assets once trades have executed. Although each of these Cryptocurrency Exchanges may operate in their own unique manner, the one thing that ties them all together is that they’re all completely centralized institutions. What this means is that the company that operates the exchange, is in complete control of how you interact with cryptocurrencies.</p><p>Isn’t it ironic that most people enter the decentralized world of cryptocurrencies &amp; blockchain through centralized gateways? To address this, many projects are using the same distributed ledger technology that makes cryptocurrencies work, to build what are known as Decentralized Exchanges or DEX’s. A DEX is a peer-to-peer (P2P) trading platform built using blockchain ledger technology. Most people I know bought their cryptocurrencies through Coinbase and that makes sense as Coinbase provides an easy-to-use and secure experience without requiring the user to understand the intricacies of the cryptocurrency world. This post aims to explain why even though centralized exchanges might be sufficient, DEX’s add their own value to the system and also go over the current landscape of the DEX ecosystem.</p><p><strong>What is a decentralized exchange? DEX protocols?</strong></p><p>As I mentioned earlier — a Decentralized Exchange is a peer-to-peer trading platform that operates on the blockchain. There is no central authority that is in complete control of your trading activity as that responsibility is delegated to the blockchain in this structure. Instead of connecting your bank account to a centralized Crypto Exchange, wiring money over, and having the purchased cryptocurrencies sit in the exchange’s wallet, with a DEX you can connect the platform with your digital wallet and immediately trade in and out of it. In a DEX, your funds never go through a centralized institution and are transferred directly between you and your counterparty. This makes it less susceptible to holes posed by centralized cryptocurrencies such as the chance of being hacked or the institution using your funds in a malicious manner. In a DEX you don’t need to sign up and make an account or submit any information for them to verify who you are. Anyone can connect and use the DEX to exchange cryptocurrencies. With a DEX, there’s also no need for settlement services nor the need to connect to an extraneous payment network as payment and settlement are both completely handled on the blockchain.</p><p><em>Decentralized Exchange Protocols</em></p><p>DEX protocols are an incredibly interesting subset of the DEX space. A traditional DEX program would have a robust trading platform and the appropriate mechanism to facilitate trades in a decentralized manner. DEX protocols are essentially the second half. It’s the protocol to exchange funds and allow operations to exist on a distributed ledger. This is really innovative and valuable because by using the DEX protocol anyone can use it to build their own exchange, or more accurately, relayer on top. Relayers host their own order books and trading platform but use the protocol to relay matched orders to a blockchain to be settled and confirmed. Another interesting aspect of DEX protocols is that they solve the liquidity problem. Centralized exchanges and DEXs alike have trouble attracting large, healthy levels of liquidity as each exchange is a walled-off liquidity pool that makes the overall market incredibly fragmented. And without decent enough liquidity, you can’t attract market makers to provide further liquidity and introduce stability in the market.</p><p>With a DEX protocol, you can build multiple relayers with different customizations to meet various needs and use cases but all access the same vast reserve of liquidity. And finally, DEX protocols are valuable because they aren’t limited to being applied only in the context of exchanges. It can be integrated into any decentralized application (dApp) and various blockchain-based payment networks to implement low-friction behind-the-scenes currency transfer.</p><p><strong>Why are they important?</strong></p><p>Centralized exchanges pose a systematic risk to its users because they are vulnerable to hacking or technical failures. The process of verifying users, moving fiat funds, matching trades, and handling custody of crypto assets is completely controlled by the central authority. When it comes to the custody of funds, in a centralized exchange, you don’t have the private key for your cryptocurrencies, so are those coins you bought even “yours?” The centralized exchange, therefore, becomes a honeypot for hackers to attack and steal funds. All the biggest cryptocurrency related hacking incidents have actually been the centralized crypto exchanges being hacked and not the cryptocurrency network itself. Very rarely has there been a successful hack on a large, public blockchain. In fact, the Bitcoin network has been functional for 99.99% since its inception. [1] Some of the biggest cryptocurrency exchanges hacks include the Mt. Gox hack where $480M was stolen in 2014, the Bitfinex hack where $65M was stolen in 2016, and the CoinCheck hack where $500M was stolen earlier this year. The following chart from the WSJ lists the top 10 cryptocurrency exchange hacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wViWvBn5rIwFzd-p" /></figure><p>But the systematic risk doesn’t just stop at hacking. When the centralized exchange holds your funds, you trust them to hold them securely for you and not use it to to their own benefit. In 2017, two cryptocurrency exchanges used $150M of user funds to make high risk investments. [2] Therefore, there are clear instances illustrating why it can be dangerous to use centralized crypto exchanges.</p><p>But the value that DEX’s provide don’t stop at just making up for the flaws of centralized exchanges. One of the important by-products of its mechanism is that they can be used to operate outside the scope of authoritarian organizations. In traditional markets, we understand the benefit of oversight organizations such as the SEC, the CFTC, and FINRA, and there necessarily should be some oversight in cryptocurrency exchanges as well. But, often, the authorities aren’t acting in your best interest as seen in many underdeveloped nations. Being able to exchange and store value outside the scope of these organizations, is necessary and vital in holding wealth through times of crisis. While its hard for most of us to relate to and is an option we may never need, it’s still an incredibly valuable feature.</p><p><strong>How do they work?</strong></p><p>When it comes to designing and building a DEX, there are a number of ways to go about doing so. This section will include a brief overview of three specific DEX implementations.</p><ol><li>iDEX</li></ol><p>iDEX, built by Aurora Labs operates a trading platform for order matching along with handling order settlement. iDEX operates like most general exchanges and is pretty straightforward. Traders can submit orders to the platform and interact with the order book and once a trade has been executed, iDEX submits the order to be settled by publishing it to the Ethereum blockchain.</p><p>2. 0x</p><p>0x is a protocol that allows for off chain order books with on chain settlement. Anyone can use the protocol to build an off chain order book or what i referred to earlier as a Relayer. The relayer hosts a trading platform in which the off chain order book resides. A Maker submits an order in the form of an 0x exchange contract to a relayer then waits for a corresponding Taker to submit their own 0x contract. Once the Maker’s &amp; Taker’s orders have been matched on the relayer, the 0x protocol ensures that the trade is executed and settled by submitting the order to the Ethereum blockchain. In this scenario trading parties discover each other through the Relayer’s public order books.</p><p>3. AirSwap</p><p>AirSwap operates a bit differently. Instead of relayers with off chain public order books, AirSwap employes indexers which organize trading interest among specific trading pairs. When an individual wants to trade, they look to see which trading pairs have trader interest to identify a specific counterparty to trade with. The maker would submit their interest to trade to the indexer and the taker would look to see where trading interest already lies. Once the Maker &amp; Taker have been matched, they can then negotiate quantity and price at which the trade can take place. AirSwap then uses their Swap protocol to settle the trade by publishing it to the blockchain.</p><p><strong>Pros of Decentralized Exchanges</strong></p><p><em>Decentralized </em>— As mentioned before, traders are exposed to the systematic risk of exchanges failing or acting maliciously. DEX’s remove many of those risks.</p><p><em>Custody of Funds — </em>Centralized exchanges hold your funds and therefore you don’t truly own them. DEX’s interact directly with your personal wallet and don’t hold your funds. The user remains the sole custodian of funds.</p><p><em>Immediate Token Support</em> — Smart contracts all follow same logical structure and new tokens using the same structure can immediately be supported without having to go through a “listings” process. ICO’s are immediately accessible.</p><p><em>Liquidity Pools</em> — Centralized institutions are walled liquidity pools. DEX protocols can merge liquidity across multiple relayers, taking advantage of network effects.</p><p><em>The Token Economy — </em>Everything becomes tokenized! Securities, Utility Tokens, Currencies other traditional assets. Support for frictionless behind-the-scenes token/value transfer for dApps.</p><p><strong>Cons of Decentralized Exchanges</strong></p><p><em>Complexity </em>— Most decentralized exchanges are still very complicated and difficult to use. It requires a solid understand of how blockchain systems work and most people don’t have the patience or simply don’t care to go that far (although I highly suggest one knows what something is or how something works before investing in it!) Successful centralized exchanges are unparalleled in terms of the quality of experience provided to customers and DEX’s have a long way to catch up.</p><p><em>Scalability &amp; Latency </em>— This problem afflicts all blockchain projects and isn’t unique to DEX’s, but is still an important issue to discuss. Bitcoin can only handle about 7 transactions per second and takes 10 minutes for each block while Ethereum can handle 15 transactions per second and takes between 10–20 seconds to create a block. The effect of this issue varies depending on the model of the DEX exchange: On-chain vs Off-chain order books. On-chain order books are inefficient as every order needs to be published to the blockchain. It can be very expensive to be a market maker on DEX with an on-chain order book as you will often have to submit many orders and often cancels or changes order. This is incredibly slow and insufficient especially when compared to traditional exchanges. Traditional equity exchanges can currently hande upwards of 10’s of thousands of transactions per second<em>. </em>DEX’s are orders of magnitude away from reaching equity exchange levels of throughput and latency.</p><p><em>Liquidity </em>— Because DEX’s are still so new and challenging to use, there isn’t a lot of activity that goes on at these venues. Here, you run into the chicken and egg type problem. Without sufficient base liquidity you can’t attract market-makers to stabilise the markets, provide further liquidity, and reduce spreads which in turn makes it harder to attract further order flow.</p><p><em>Cross-Chain Trading </em>— Fully decentralized exchanges can’t have trading pairs between currencies on different blockchains. Some DEX’s do provide the functionality through specific workaround but aren’t truly decentralized.<em> </em>Some projects are working on using atomic swaps to support cross-chain trading. But until an efficient, decentralized way to interact between unique blockchains is discovered this will remain a glaring drawback.</p><p><em>Fiat On-Ramps </em>— Hard to trade using fiat currency. You can’t use a DEX to buy crypto with USD. Working with fiat currency opens you up to the messy world of KYC/AML (Know Your Customer/Anti-Money Laundering) regulation and compliance which takes away from the decentralization of the system. Therefore the market is closed off to anyone who doesn’t already own cryptocurrencies.</p><p><em>Market Manipulation </em>— Difficult to implement a decentralized system that either prevents or actively watches and dissuades various market manipulation strategies.</p><p>While there seem to be more Cons than Pros, each individual Pro holds more value and the Con’s are mostly short-term problems that people are actively working on build solutions for.</p><p><strong>Popular DEX Projects</strong></p><p>Apart from the ones discussed in-depth above the DEX ecosystem is vast and growing. The most popular DEX’s currently operate on top of the Ethereum platform. The following pie-chart from Etherescan’s DEX Tracker statistics shows the market share breakdown of the Ethereum-based DEX’s. Note that the chart counts Relayers as individual exchanges rather than accounting for 0x as an individual exchange.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_T8jrgJiktp_-y48" /></figure><p>When it comes to Decentralized Exchange Protocols apart from 0x some of the well known ones include AirSwap, the Kyber Network, and the Bancor Protocol. Some other interesting DEX-like projects include ShapeShift &amp; Bisq. Shapeshift isn’t a trading platform or even an exchange in the traditional sense. Parties directly find each other and directly trade with each other in a P2P fashion. Bisq is a P2P trading platform that is built on top of the Tor network and doesn’t include an automatic order matching service, therefore you have to go out and find the specific counterparty you want to trade with. Another innovative space is the DEX dark pool space with projects like the Republic Protocol &amp; OmegaOne. Dark Pools are going to become essential as institutional investors enter the cryptocurrency space. For a detailed and continuously updated list of all the DEX projects visit — <a href="https://github.com/distribuyed/index">github.com/distribuyed/index</a>.</p><p><strong>What does the future hold?</strong></p><p>Although I’ve spent a lot of this post praising the advancements and benefits of DEX’s, they’re far from perfect. This is most clearly illustrated with the recent attack on the Bancor Protocol, a popular DEX protocol. Last week, 23M worth of assets were stolen from the Bancor Protocol DEX. Bancor was able to reverse some the transactions and retrieve its core BNT tokens. This highlights two key problems: 1) DEX’s are supposed to be secure and invulnerable to hacks. What allowed this to happen? 2) Bancor’s ability to reverse some transactions through a technical backdoor, completely invalidates the concept of decentralization. There shouldn’t be a backdoor for centralized authorities to control the flow of transactions. While this is the first attack of its kind, it illustrates that DEX’s still have a long way to go before becoming popular, trusted cryptocurrency venues.</p><p>There’s a lot of interesting activity and experimentation going on in the DEX space so only time will tell which DEX implementations will succeed. You might see a single player grab a huge portion of the DEX market share or there could be a solid amount distributed among various players. One thing we don’t know for sure is if DEX’s will even succeed at grabbing market share from the centralized institutions. Centralized exchanges make it so easy for the vast majority to buy and sell cryptocurrencies and most people will go for the most convenient option. For all we know, centralized exchanges may remain the titans of the space.</p><p>[1] <a href="http://bitcoinuptime.com/">http://bitcoinuptime.com</a></p><p>[2]<a href="https://qz.com/1059179/huobi-and-okcoin-chinas-two-biggest-bitcoin-btc-exchanges-were-themselves-to-150-million-in-idle-client-funds/">https://qz.com/1059179/huobi-and-okcoin-chinas-two-biggest-bitcoin-btc-exchanges-were-themselves-to-150-million-in-idle-client-funds/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dc6edda4b87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ronald Coase and the Nature of the Blockchain]]></title>
            <link>https://medium.com/@sidmvenkat/ronald-coase-and-the-nature-of-the-blockchain-e60021c036c9?source=rss-1ddfd1ee198c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e60021c036c9</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[ronald-coase]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Sid Venkateswaran]]></dc:creator>
            <pubDate>Mon, 18 Dec 2017 16:53:13 GMT</pubDate>
            <atom:updated>2018-08-28T01:27:34.828Z</atom:updated>
            <content:encoded><![CDATA[<p>A majority of the academic work done in economics during the late-18th and -19th centuries involved delving into the inner mechanisms of the “market.” Economists were driven to grasp how free market prices lead to effective capital and resource allocation. The rise of mega-corporations such as General Motors, Ford, Coca-Cola et. al. made it impossible to ignore the impact of those corporate-behemoths on markets and the overarching economy.</p><p>While it doesn’t take an academic background to understand the impact of those corporations, it is more nuanced to understand how and why they came about. British-economist Ronald Coase asked the thought-provoking question, “Why do companies exist?” When an entrepreneur aims to start a business, what compels him or her to hire employees instead of contracting out specific tasks. As Vinay Gupta, the Project Manager of the Ethereum Project puts it, “Theoretically, if markets are more efficient than command economies because of better distribution of information and resources, pockets of command economies in the form of an entity you call a company should not exist.” This theory explains that it should be more economical to outsource tasks to the market as it would allow you to essentially get more “bang for your buck.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*jH5Ua2D3y-jUEe0t." /><figcaption>Mr. Coase</figcaption></figure><p>Coase intuited in his paper, <em>The Nature of the Firm (1937),</em> that corporations arise when tasks and functions can be performed more cheaply in-house by hiring someone, thereby reducing or even eliminating the costs of dealing in the marketplace. These costs involve recruiting talent, finding resources, coordinating projects efficiently, and establishing mechanisms for fair economic transactions. When transaction costs outweigh the cost of the actual good or service being obtained, it becomes economically favorable to transfer that to an in-house operation.</p><p>Consider this: Most of Amazon’s purchases are delivered by third-party companies such as FedEx, USPS, UPS, etc. While Amazon was growing and building their core business, it made sense for them to outsource the delivery of their products. But over the last couple years, Amazon has invested money into establishing their own delivery services: buying planes and delivery trucks to launching their own high-speed delivery programs. Given Amazon’s reach, it has become cheaper for them to deliver products on their own than to manage third-party delivery services. It’s a perfect example of how in certain situations in-house implementations are more effective than interacting with and relying on the market.</p><p>Thanks to significant technological advancements in telecommunications such as the telephone and the internet, the costs of going to market and contracting workers has never been easier. It would make sense to believe that corporations must be getting smaller since technology has made it abundantly easier to contract workers than to hire in-house workers. But, just as we see huge institutions such as GE and HP splitting up and becoming more nimble, we have corporations like Google and Oracle whose growth and acquisition appetite seem to be never-ending. Transaction costs have in-fact dropped over time, however, they still represent a huge chunk of the costs of doing business and when managing highly complex projects it’s always easier to cooperate in person and face-to-face. A side point, apart from the cost-benefit analysis business have to make, businesses do their best to hire long-term employees as <a href="https://www.economist.com/news/leaders/21584985-anyone-who-cares-about-capitalism-and-economics-should-mourn-death-ronald-coase-man">the Economist</a> explains that corporations “ can develop intellectual resources” — “specialized skills that cannot be developed by individuals on their own” While this has nothing to do with transaction costs, it’s an important factor when considering how businesses operate and make decisions.</p><p><strong>Context: Blockchain</strong></p><p>Coase explained firms exists either to reduce or eliminate transaction costs. The power of blockchain can do this in a more effective and widespread way.</p><p>The blockchain is a database where buyers and sellers can store and exchange value without the need for traditional intermediaries. Value is instead validated, supported, and strengthened by the network. The internet was useful in vastly improving the flow of information — the more you can duplicate and disseminate information, the better. But value shouldn’t be easily duplicated or disseminated, or it wouldn’t have much value to begin with. Blockchain solves that by allowing for the flow of value in a more elegant and trustworthy way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*SBIj_i2qRHuMi56bkSrNig.png" /><figcaption>Image from ethnews.com</figcaption></figure><p>The entire blockchain structure is strengthened by the Ethereum Project and platform’s Smart Contract mechanism. Ethereum runs on its own blockchain and operates its own protocol that allows for something called smart contracts. Smart contracts are coded financial tools: You can write a piece of code that is stored on the blockchain for anyone to read, analyze or run and this code can represent digital versions of contracts. Being able to establish trust and execute the terms of a contract automatically &amp; digitally has widespread consequences. Think about the Music industry and the royalty award system — artists are awarded based on the number of CD’s sold or times their songs have been streamed through various services. Mediachain, a startup bought by Spotify in early 2017, used blockchain to set up a fair and trustworthy royalty prototype. The contracts are coded digitally and automatically to pay the artist based on the number of listens and all the information is on the blockchain so everything is transparent and easily verified.</p><p>And that’s just one simple application of blockchain and smart contracts. Every industry ranging from law, finance, and insurance will be severely disrupted by the benefits provided by blockchain technology. Another empowering application of smart contracts is blockchain based crowdfunding or as it’s more commonly known as: <strong>Initial Coin Offerings or ICO’s.</strong></p><p>It allows you to relatively easily use smart contracts to hold Kickstarter-esque crowd-fundraising, has led to more than $3 billion dollars in funding in 2017 alone, and a lot of them are fraudulent schemes.</p><p>But I think that last point isn’t that important, or at least in the long run it isn’t. Tools, if and when used inappropriately can lead devastating results — the SEC has recently<a href="https://www.coindesk.com/sec-files-fraud-charges-canadian-ico-organizer/"> filed charges</a> against two ICO’s said to have defrauded $15 million from its participants. But just because a tool is used in the wrong manner doesn’t inherently make the tool in-and-of-itself bad. If we can ignore the short-term drama plaguing the crypto-community, it opens up our eyes to a number of opportunities.</p><p>You can have whole swaths of democratic companies where instead of being owned by Angel investors and VC’s, they’re completely funded by the crowd. Envision Uber if it was instead funded and owned by their riders and drivers? How differently would it operate under these circumstances? It’s a vast shift of economic power from centralized organizations to decentralized networks. Imagine how many different groundbreaking ideas and businesses models will sprout from this?</p><p>There is going to be a completely new generation of capitalism constructed with blockchain technology. The drop in transaction costs are going to lead to more companies contracting out to the market. The money saved can be reinvested to spur further economic growth. Ethereum and the smart contract mechanism are going to (many would say <em>has already</em>) open the floodgates for structured equity crowdfunding.</p><p>AI engineer George Zarkadakis explains that forthcoming Blockchain revolution will lead to the, “<em>reinvention of economic organization</em>, away from self-contained companies and towards more distributed, leaderless, and permeable systems of human collaboration.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60021c036c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>