<?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 Jacob Carter on Medium]]></title>
        <description><![CDATA[Stories by Jacob Carter on Medium]]></description>
        <link>https://medium.com/@jcarter_41121?source=rss-8d5393eca33------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dHzCo1aAb2bdB49lwqT4SA.png</url>
            <title>Stories by Jacob Carter on Medium</title>
            <link>https://medium.com/@jcarter_41121?source=rss-8d5393eca33------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 14:13:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jcarter_41121/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[Swapchain.io is now live!]]></title>
            <link>https://medium.com/swapchain/swapchain-io-is-now-live-4a7ff0fab570?source=rss-8d5393eca33------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a7ff0fab570</guid>
            <category><![CDATA[ethereum-trading]]></category>
            <category><![CDATA[futures-trading]]></category>
            <category><![CDATA[ethereum-wallet]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[derivatives-trading]]></category>
            <dc:creator><![CDATA[Jacob Carter]]></dc:creator>
            <pubDate>Wed, 29 Jan 2020 02:32:14 GMT</pubDate>
            <atom:updated>2020-01-29T03:52:25.522Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0qQN69E3ZAYg5RFn5Q5xlQ.jpeg" /></figure><p>After years of hard work we are incredibly pleased to announce that <a href="https://swapchain.io/">Swapchain.io</a> is now live and available to users everywhere to trade Ethereum Forwards! <a href="https://app.swapchain.io/">Sign Up for your account today</a>.</p><h3>About Swapchain</h3><p>Swapchain enables users to generate and trade custom futures contracts on the Ethereum network.</p><p>Our distributed derivative network allows you to bring your own counterparty to the Swapchain platform or find a counterparty in the open marketplace.</p><p>Create and customize your own private market for trusted counterparties.</p><h3>Why Choose Swapchain?</h3><p><strong>Custom</strong><br>With Swapchain traders can deploy derivative contracts with custom configurations allowing the flexibility to meet specific hedging and speculation needs.</p><p><strong>Private</strong><br>Swapchain’s distributed derivative network allows traders to find a counterparty or manage their own marketplace.</p><p><strong>No Exchange Risk</strong><br>Contracts are executed off-exchange, meaning traders aren’t subject to slippage, forced liquidations, or mutualized losses due to no fault of their own.</p><h3>Here are some questions we have heard, and the answers!</h3><p><strong>What is a Forward Contract?</strong><br>A forward contract is flexible, custom futures contract traded off-exchange that allows traders to go long or short on a leveraged basis.</p><p><strong>Can you Trade with Leverage?<br></strong>Yes. Contracts default to 5x leverage on all forward contracts. Custom initial margin is on the way. Read more about Margin under Contract Mechanics to learn more.</p><p><strong>How is the Contract Managed?<br></strong>All contracts created through Swapchain are deployed to the Ethereum Network where all the details are automated via smart contracts, including holding initial margin, executing cash flows, and liquidation events</p><p><strong>What is Margin and How is it Collected?<br></strong>When two parties enter into a forward contract, 20% of the notional amount (size of the trade/exposure) is collected as initial margin and held in the smart contract for the duration of the trade. When the contract reaches expiration, the margin is released back to each party.</p><p><strong>How Are Spot Market Prices Determined?<br></strong>Swapchain utilized the <a href="https://www.cryptocompare.com/media/12318004/cccagg.pdf">Cryptocompare Crypto Coin Comparison Aggregated Index Methodology</a> for charting and settlement purposes. “It aggregates transaction data of over 70 exchanges, using 24 hour volume weighted average.” Click the link to learn more about the CCCAG Index.</p><p><strong>Is There Counterparty Risk?<br></strong>Yes. While all contracts require initial margin, a trade can settle such that the amount owed from one counterparty to the other exceeds the initial margin collected. While the counterparty can (and should) pay the full amount due at settlement, there is no guarantee beyond what is collected and stored in the smart contract as initial margin. Additional margining tools are on the way to further mitigate counterparty risk.</p><p><strong>How Is Settlement Calculated?<br></strong>Settlements are calculated on a net basis at the end of the contract e.g. on a notional amount of 1 ETH, a gain of 10% will result in receiving 0.1 ETH.</p><p>For more information visit the <a href="https://swapchain.io/#faq">FAQ section of our website</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*HUm2ATa3g0I7w2-GEISsPQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a7ff0fab570" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swapchain/swapchain-io-is-now-live-4a7ff0fab570">Swapchain.io is now live!</a> was originally published in <a href="https://medium.com/swapchain">Swapchain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Arbitrage In Cryptocurrency]]></title>
            <link>https://medium.com/swapchain/arbitrage-in-cryptocurrency-fdeae7fec56b?source=rss-8d5393eca33------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdeae7fec56b</guid>
            <category><![CDATA[trading-system]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <dc:creator><![CDATA[Jacob Carter]]></dc:creator>
            <pubDate>Wed, 13 Dec 2017 21:32:01 GMT</pubDate>
            <atom:updated>2017-12-13T21:32:18.301Z</atom:updated>
            <content:encoded><![CDATA[<p>Author: Jacob Carter, CTO <a href="http://swapchain.io/">Swapchain</a></p><p><em>*disclaimer: I assume you have a basic understanding and some experience with cryptocurrency and cryptocurrency exchanges like Poloniex, Kraken, etc.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ql75W-EeD5V-kACEJdLsow.jpeg" /></figure><h3>Introduction:</h3><p>Right now in the cryptocurrency world the methods to profit are few and far inbetween. At the end of the day you can <em>long </em>a single currency or token. That is to say, you can buy low and sell high. There is some flexibility in there with certain exchanges offering things like Margin Trading, but you’re still stuck with the conventional buy low sell high method of profiting.</p><p>With the introduction of <a href="http://swapchain.io/">Swapchain</a> that barrier is smashed with the advent of the Hyperswap. BUT Swapchain hasn’t always been around, and before Swapchain I was looking for more clever ways to profit from the volatility of the cryptocurrency markets and exchanges. Eventually Google led me to <strong>arbitrage.</strong></p><h3>What is Arbitrage:</h3><p><a href="http://www.investopedia.com/ask/answers/04/041504.asp">Arbitrage is the simultaneous purchase and sale of an asset to profit from a difference in the price.</a> So what the hell does that mean? Let’s look at an example. In this example, I will use large rounded numbers instead of accurate exchange rates. This will make things easier to understand. There are more complicated forms of arbitrage such as <a href="https://en.wikipedia.org/wiki/Triangular_arbitrage">“triangular arbitrage”</a> but for our example we’ll be discussing plain Jane two way arbitrage.</p><ul><li>You have a <a href="https://bitcoin.org/">BTC</a> and <a href="https://www.dash.org/">DASH</a> wallet on <a href="https://poloniex.com/">Poloniex</a>. You also have a BTC and DASH wallet on <a href="https://www.kraken.com/">Kraken</a>.</li><li>On Poloniex you see an <a href="https://tradeblock.com/blog/bitcoin-trading-interpreting-order-books/">order</a>, this order is a <a href="http://www.investopedia.com/terms/b/bid-and-asked.asp">“bid”</a> for buy 0.5 DASH at 0.25 BTC</li><li>On Kraken you see an order, this order is an <a href="http://www.investopedia.com/terms/b/bid-and-asked.asp">“ask”</a> to sell 0.5 BTC at 1.25 DASH</li><li>You see an opportunity for arbitrage here an execute both trades on both exchanges simultaneously</li></ul><p>Do you see how you just made money? Lets walk through it.</p><p>You start with two wallets on two exchanges. Let’s say you have 2 of each coin in each wallet on each exchange:</p><p><strong>Poloniex Wallet</strong></p><p>2 BTC ($100/each)</p><p>2 DASH ($50/each)</p><p><strong>Kraken Wallet</strong></p><p>2 BTC ($100/each)</p><p>2 DASH ($50/each)</p><p><strong>You have a total of 4 BTC ($400) and 4 DASH ($200) across all your wallets</strong></p><p><strong>Your total cash value is $600</strong></p><p>You see two orders, one on each exchange:</p><p><strong>Poloniex Order</strong></p><p>Buy 0.5 DASH for 0.25 BTC</p><p><strong>Kraken Order</strong></p><p>Sell 0.5 BTC for 1.25 DASH</p><p>You execute both orders simultaneously:</p><p><strong>Settle on Poloniex</strong></p><p>2 BTC + 0.25 BTC = 2.25 BTC</p><p>2 DASH — 0.5 DASH = 2.5 DASH</p><p><strong>Settle on Kraken</strong></p><p>2 BTC + 0.5 BTC = 2.5 BTC</p><p>2 DASH — 1.25 DASH = .75 DASH</p><p><strong>You have a total of 4.75 BTC and 3.25 DASH across all your wallets</strong></p><p><strong>Your total cash value is $637.50 ($37.50 more than you started with)</strong></p><p>As an individual executing arbitrage you are taking advantage of small differences in currency prices across exchanges to buy and sell at the same time and come out with a profit.</p><h3>Opportunity Discovery:</h3><p>Here are the basic logical steps when deciding if you have found an opportunity for arbitrage.</p><ol><li>Combine <a href="https://tradeblock.com/blog/bitcoin-trading-interpreting-order-books/">order books</a> across exchanges. In order to find opportunities for arbitrage you must be looking at all open orders for all exchanges in one place.</li><li>Separate asks and bids and then sort low to high. Take all your asks and all your bids and house them in separate data sets. Once you have made this split sort your asks from low to high and sort your bids from high to low. The reason why is explained in step 3.</li><li>Is there a price difference. In the example above the only reason that we were able to make any money is because the lowest ask on one exchange was less than the highest bid on another. Take your sorted data sets for asks and bids and compare the lowest ask with the high bid.</li><li>There are two important pieces of information in an order. The price and the volume. For example if an order has a price of $1 and a volume of 10 it would take $10 to execute that entire order. This highlights two limiting factors: <strong>1) </strong>Based on the money in each wallet on the separate exchanges how much volume can you support for a single trade (things like maximum percentage of wallet willing to be spent on one trade may play a role here) <strong>2)</strong>Unless the two orders have the exact same amount of volume, one of them will be less than the other. Because you are looking for equal but opposite trades, you will want to match the volume of one trade with the volume of another. <strong>In conclusion:</strong> The volume for your arbitrage trade is the smaller of these two numbers: 1) the highest volume your wallet will allow 2) the lowest volume of the two orders.</li><li>Now that we have our prices and our desired volume we can calculate the trade value for each order with price * volume. Some exchanges will have a minimum trade value allowed. If this is the case you must next ensure that: <strong>trade value &gt; minimum trade allowed</strong> for both exchanges involved in the arbitrage scenario.</li><li>Now we can calculate the cost of each trade again with <strong>price * volume</strong>. Once we have the cost of each trade and have ensured we know our maximum possible volume and ensured we meet minimum trade requirements for both exchanges we can evaluate how the exchange’s <strong>fees </strong>will affect our trade. Let’s say the exchange where we are on the bid side has a fee of 0.25% and the exchange where we are on the ask side has a fee of 0.15%. • Total Ask Fee = Total Ask Cost * 0.0015 • Total Bid Fee = Total Bid Cost * 0.0025</li><li>Okay now finally we can calculate how much money this trade would make us. To do this we simply check: • Total Profit = (Total Ask Cost — Total Ask Fee) — (Total Bid Cost — Total Bid Fee)</li><li>You may often find for small trades that the associated fees wipe out any opportunity for profit.</li></ol><h3>When Everything Doesn’t Go According To Plan:</h3><p>So as we all know, things in life don’t always go according to plan. What then? This is really up to you. The worst and most common mistake to happen when executing an arbitrage trade is to have an order on one exchange go through and the the order on the other to fail. This failure can be because of order types (e.g. fill or kill), code problems, network errors, you were too slow and the order is gone, etc.</p><p>So now the question is what do I do? You can try and reverse the trade that did go through and break even, you can reverse the trade that did go through for a small loss, or you can just let it be and keep moving forward. At the end of the day you have to decide what you think will be best for you.</p><h3>Things to Consider:</h3><ol><li><strong>Rebalancing wallets</strong>. Because you are executing (hopefully) many trades over a short period of time, the wallets on our exchange will start to get uneven as you execute a long series of bids or asks filling one wallet while draining the other. It is a good idea, from time to time, to stop and check your wallets, rebalance when necessary so you don’t miss out on any good opportunities for lacking funds.</li><li><strong>Fail safes</strong>. Your arbitrage software has a lot of power. It can execute trades with real money on your behalf across many exchanges. What if something goes wrong? What is a bug in your code causes a series of stupid trades that leave you at a loss to occur? What if a market anomaly causes your software to start dumping money into trades that are bad in nature. What if AI causes your machine to become self aware and try to take over the world. We have to be prepared. My favorite method is to use a <strong>velocity monitor</strong>. The idea here is that you track the rate at which you lose money. Money loss will occur (in the one sided trade for example). By monitoring this loss you can set suicide switches to flip when your loss exceeds a certain rate over a certain period of time. <strong>It is a good idea to have something of this sort in place</strong>.</li><li><strong>Be Fast. </strong>Arbitrage by nature encourages fair and equal market prices. When traders take advantage of these small gaps in price they close very fast, ensuring all exchanges are offering very very similar rates. What this means is that when a gap is found is must be executed on immediately before it is closed or before another trader takes advantage of it. Things to consider are internet connection, chosen programming languages, CPU core and threading utilization, etc. “If you ain’t first, you’re last”</li></ol><p>Hopefully these explanations, tips, and tricks will help you avoid or overcome some of the pitfalls I encountered when building my arbitrage software. Good luck and happy trading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdeae7fec56b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swapchain/arbitrage-in-cryptocurrency-fdeae7fec56b">Arbitrage In Cryptocurrency</a> was originally published in <a href="https://medium.com/swapchain">Swapchain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>