So you want to buy some crypto?

I had a couple calls earlier this week from a couple friends who want to increase their bitcoin holdings. One is an individual investor, and the second wanted to know how to best purchase as a group. I know this is only anecdote, but I think it goes to show that this latest pullback is being seen as a buying opportunity by many. This discussion will focus on Bitcoin and Ethereum-related assets. I’ll cover the individual case first and build out from there.

Dollar cost averaging

My first friend, R, is a successful professional who has less than one percent of their net worth in bitcoin, which they currently have in a Coinbase account. They want to increase their exposure with a five-figure purchase. Timing is important for R, they know we’re still early from a long-term, but worries that short term price fluctuations might give them a bit of stress. What I am recommending to R is that they open a BlockFi account and implement a dollar cost averaging setup to scale into a position over the next six months.

The benefit to using BlockFi is two-fold. First, USD funds on the platform are currently earning 8% APR, and the interest can be paid in BTC or other cryptocurrencies. Secondly, BlockFi allows recurring trades, which means R can set it and forget it while their fiat is converted to crypto. Six months from now, they can either re-up their cash allocation, or move funds to take advantage of more decentralized, on-chain solutions.


BlockFi, for all its benefits, has a couple drawbacks which make it ill-suited as a primary exchange for power users. It’s not really built for traders, and is only really good for the occasional swap. Also they discourage withdrawals from the platform with only one free withdrawal per month. Additional ones can run as much as thirty dollars. Plus they can take at least one business day to process, so woe to you if you need to move funds on a weekend. So you’ll need to open an account with a full-fledged exchange.

My wife recently asked me which exchanges I use to convert cash to crypto and my response was all of them. Literally. It’s hard to make a recommendation here as a lot depends on individual circumstances, like which tokens you want to trade, how you’re moving funds (wire vs. ACH), and your familiarity with trading interfaces. On the simpler end I’d put Coinbase, Voyager, and Gemini, with Coinbase Pro, Gemini Pro, FTX and Kraken on the other. Realistically, you’ll probably want to open accounts on at least two exchanges, one as a backup.

As a security precaution, you’ll want to make sure you set up two factor authentication on your account. Do not use SMS messaging as your phone’s SIM can be spoofed, use an app like Authy or Google Authenticator instead. And as an extra layer of security, you may also want to set up new email addresses for each exchange account as well. Using different email accounts other than your primary one will protect you should it get compromised.

Self-custody and hardware wallets

While centralized exchanges are the primary fiat on-ramps to the crypto ecosystem, there are custodial risks associated with them, hacks and outages being the primary ones. Most crypto-diehards will no doubt be screaming not your keys, not your coins at me or anyone else who suggests keeping large portions of your funds on BlockFi or any centralized exchange. Self custody is the way, and while there are a number of softwallets available for phones and computers, a hardware wallet is the way to go for significant sums of coin. I recommend a Trezor for most people, but anyone who plans on participating in DeFi, daos, NFTs or whatever else on the Ethereum ecosystem might want to take a look at the Lattice1, which has a large touchscreen for inspecting smart contract calls, as well as a host of other useful features. I don’t recommend Ledger products unless you plan on dealing with Solana, as it’s the only choice currently.

Lattice1 Hardware Wallet

An important note about purchasing hardware wallets: they should only be purchased from the vendor, and never from secondary markets. It’s recommended that you use an alias and a drop box for shipping to prevent your personal details from being exposed. Make sure the anti-tampering seals are intact on all the packaging. And make sure you generate your own private keys, never use any that have been given to you by someone else, and never record them in an electronic form. The Trezor will come with several slips for you to record your seed phrase, and the Lattice1 allows you to store your keys on a password protected smart cards. Either way, make several copies and store them securely in different locations to protect from loss.

Remember, if your device is destroyed or lost and you don’t have your private keys, or if anyone else gains access to them, your funds are lost forever. There’s no password reset button or customer service team you can contact if you forget this very important point.

Institutional accounts

If you’re buying crypto for a business, you’ll want to open an institutional account with an exchange. This could be for your LLC or partnership; I have a couple tied to my checkbook IRA account. You’ll need articles of incorporation as well as certificates of good standing from whatever jurisdiction that you’re registered in. You’ll also need to complete KYC for any authorized members of the entity that will have access to the account.

Now you’ve really got two ways you can go here if you are a corporation or business that wants to get into crypto. A lot of the big hedge funds rely on custodial accounts for their holdings, as dealing with self-custody is too much of a hassle for them. One of the most popular custodial firms is Coinbase, but I don’t have experience here to tell you much more. I can tell you that many of the crypto IRA products out there are basically built on top of Coinbase Custody, which charges an annual custodial fee as well as what I consider relatively high trading fees. You’ll also be limited to the assets that Coinbase has available. There are other custodial firms available, but again, I have no experience to speak of here.


This section is geared toward groups of people, whether they’re part of a formal corporate entity, or even an informal one. I’ll describe a couple ways that assets can be managed in a trustless way, that is, how a group can share management of assets, without allowing any one individual to have complete control of them.

The first, and most common is called a multi-signature wallet, or multisig for short. It’s a wallet in which a certain number of owners are required to sign off on a transaction before it can be approved, commonly referred to as m of n schemes, where n is the number of private keys associated with the address, and m is the number required for a valid transaction. These are most commonly configured as 2 of 3 or 3 of 5 setups, although you can have 2 of 2 or even 8 of 8 if you wanted to. There are a number of firms that provide bitcoin-specific multisig services, and it can also be configured via a Trezor hardware wallet and the Electrum desktop application.

There are no hardware based multisig solutions for Ethereum, although on-chain smart contract solutions do exist. The most popular is Gnosis Safe. With Gnosis, an on chain vault is created, and the m of n scheme and owners are specified. ERC20 tokens and NFTs can be sent to the vault address, and Gnosis has several plugins that allows the vault to interact with a variety of apps, such as Uniswap or OpenSea. Any owner can propose a transaction, and once the requisite number of owners have approved it it can be transacted on the Ethereum network. Many of the top defi projects on Ethereum use Gnosis vaults to manage their treasuries, and it’s a relatively trivial operation for less technical owners to approve transactions.

Other on-chain solutions

Gnosis is probably the most robust solution for a formal or informal group that is comfortable with a centralized, custodial solution. There are two others I’ll mention that might be more suited for other applications or groups, one that is non-custodial, and another that is decentralized.

The first is called Set Protocol. A Set is akin to a mutual fund, and can be created with anywhere between one and twenty assets within it. Users can issue Set tokens by providing assets to the Set, meaning that the value of each token is backed by the assets within the Set itself. They can’t be created out of thin air. The Set manager can perform a number of operations with these set assets, such as trading them for other tokens or providing them to a number of DeFi protocols. These actions are somewhat limited compared to what you can do with a Gnosis vault. While the manager does not have direct access to the funds in the Set, there are a couple ways that a manager can potentially exploit funds in the set, whether through changing the management fee or trading into a illiquid shitcoin, the manager address can be assigned to a Gnosis multisig for additional security. We used Set Protocol for the Homebrew.Finance $MUG NTF Fund.

The last one I’ll mention is DaoHaus, which is used to manage decentralized autonomous organizations, or daos. Daos are basically on-chain shareholder corporations, and are useful if you want to create a trustless organization. Users can deposit into the dao in exchange for voting shares or loot, both of which grant proportional ownership of funds in the dao’s bank. Many of the popular daos on DaoHaus are venture funds or non-profit/open source grant foundations. Users can create funding proposals, the membership votes, and funds are distributed accordingly. Managing a DaoHaus can get a bit complicated, but it can also be combined with a Gnosis safe to provide more accountability. Additional development on DaoHaus minions, or associated smart contracts, continues to add more functionality to the system. We are using DaoHaus to manage membership in SAIADao.

Wrapping up

One quick note about on-chain Ethereum solutions such as Gnosis and so forth: gas fees. Congestion on the Ethereum network lead to some pretty high transaction fees over the last few months. It cost me over $500 to create the $MUG Set, back in March, with trades costing over $150 each. Creating a Gnosis safe cost me over a hundred dollars earlier this year after gas had come down, but the vault overhead does add some overhead to transactions. I wouldn’t recommend them unless you’re dealing with several thousand dollars worth of funds. Thankfully, the release of other Ethereum-compatible sidechains such as Polygon and xDAI are making relieving some of this pressure, although a full discussion of this will need to wait for another day.

Hopefully this article is helpful for others who are looking to increase their exposure to Bitcoin or Ethereum-related assets.

Crypto exposure in equities markets

Introduction to cryptoassets for traditional investors

Sometime in the past few weeks, after Microstrategy and Square announced that they were holding $BTC as a treasury asset, someone put together as a way to track other public and private companies that have exposure.

Earlier today I checked the list and noticed a new name on the list, Bit Digital ($BTBT), which lead to a conversation on Twitter which I felt needed explanation beyond the two hundred and eighty character limit. So this post is squarely aimed at traditional equities investors who are trying to understand crypto and the industries around it.

Getting started

First off, if you want to understand Bitcoin, I recommend The Bitcoin Standard (affilliate link). I’m not the biggest fan of the author, but the book does a good job of explaining things despite the tone. The Nakamoto Institute has a crash-course as well that is probably handy, although I haven’t read the entire collection.

Other resources that I’ve found helpful in the past includes: Cryptoassets: The Innovative Investor’s Guide to Bitcoin and Beyond and the HashPower series by Invest Like The Best’s Patrick Oshaughnessy. Laura Shin’s Unchained podcast is a great source of current news about what’s going on in the space. And one of the best minds in the space is Andreas Anotonopolis, who has written numerous books on Bitcoin and Ethereum.

The current recommendation that I would give to investors coming into the space is to convert between one and five percent of your current net worth directly in BTC. Dollar cost averaging is perhaps the best strategy to use instead of a lump purchase, due to bitcoin’s volatility. Coinbase and Gemini are two fiat on-ramps that I recommend, but there are more springing up all over the place, RobinHood, Square, and now Paypal. If you plan on investing more than a couple hundred dollars, however, you’ll want to invest in a hardware wallet and use an on-ramp that will let you withdraw your coins to your own wallet. There’s a lot to cover here, more than I have time for today in this post.

In general, most OG crypto people follow the maxim “not your keys, not your coins”. The entire premise around bitcoin is that of self-sovereignty, and entrusting your funds to a custodial entity, such as onramps or exchanges, goes against this ethos. That said, there are places where it can’t be avoided.

Crypto exposure in equity markets

While I have been building up my crypto positions over the past few years, I also have a larger IRA that I’ve carried over from 401Ks accumulated over two decades in traditional corporate jobs. (I cashed out my traditional brokerage account for BTC last cycle.) So I’ve spent the last couple months trying to find exposure to crypto markets, where I can take advantage of tax deductible deposits and tax-free capital gains.


The most direct exposure to crypto in the equities space for US investors is via Grayscale Investment’s Digital Trusts, mainly the Bitcoin ($GBTC) and Ethereum ($ETHE), and to a lesser extent, the Digital Large Cap fund ($GDLC), which is a basket of BTC, ETHE, and a couple other alts. I do not recommend the Ethereum Classic trust ($ETCG), and the other single-asset funds are not available through standard broker accounts yet.

Until there is a straight bitcoin-derived ETF, which may be a long way off, Grayscale is probably the best bet for exposure to Bitcoin. There are a few things to keep in mind though. Grayscale operates with a two percent annual fee, and the bitcoin per share of GBTC is currently at 0.00095320, according to their website. However, the Grayscale vehicles trade at a premium to the underlying value of the BTC in the trust. The GBTC premium is currently at twenty percent, and the ETHE one is at fifty, although this is near an all time low.

Other equities

Let’s take at the companies listed on the BitcoinTreasuries page. I’ll mention the ones that I have positions in: RIOT, HIVE Blockchain (HIVE/HVBTF), MGTI, and Voyager (VYGR/VYGVF). I also have two other positions not on the treasuries list, Marathon ($MARA) and DPW Holdings ($DPW), that have exposure to BTC as well.

A number of them are involved in mining activities, so let’s break that down.

Bitcoin is the world’s first truly scarce asset. The mining process, as it’s called, is actually a competition to see who can win a mathematical contest to mine a new block, and win the block subsidy, (currently 6.25 BTC) as well as the transaction fees. There are a couple analogies that one can use to describe this, but I like to use coin flips.

Imagine that you and I are in a contest to see who can flip ten coins in a row and have them all come up heads. It may take the two of us a while to do that, but as more people join our game, the amount of time before someone ‘wins’ will decrease. This is essentially what happens with bitcoin, but in this case the game is a contest to perform a cryptographic hash function using the last block and a random nonce as inputs. In this case the winner is the one that can generate a hash with a sufficient number of zeros in the front. This process is known as proof of work (PoW).

Another critical component of the bitcoin algorithm that makes it work is the difficulty adjustment. This adjustment, built into the bitcoin PoW protocol, is triggered every 2016 blocks, or about every two weeks. It changes up or down to keep bitcoin’s blocks coming every ten minutes on average. As more miners enter the blockchain network, this adjustment ramps up. As you can imagine, this leads to a race for hashpower, as manufacturers put out faster, more power-efficient hardware to mine faster.

So when someone asks what the “intrinsic value” of bitcoin is, I usually point them to the capital cost of the hardware securing the network, as well as the cost of electricity used to run those machines. There’s a lot more detail to go into about the mining process, especially with regard to the stock to flow model and halvening process, for example, but that will have to wait for another post. What I will mention is that we just had the second largest difficulty adjustment in history, as a number of Chinese mining companies shut down their equipment. Most of them were taking advantage of low-cost hydroelectric power during the recent rainy season, and are relocating due to higher prices. The takeaway here is that it will mean better returns for others who are still mining on the network.

One last note about mining companies. There are number of cryptocurrencies beyond Bitcoin that can be mined. There are forks of bitcoin that can be mined using the same specialized ASICs, although I recommend staying away from them, and there are other currencies that use traditional graphics cards like those used for video games, called GPUs. I mention this because there have been ASIC mining operations that focused on non-bitcoin during the last bear cycle that weren’t able to stay afloat.

Generally speaking, I don’t recommend exposure to any of these mining companies unless you’re very familiar with the space, and/or as is my case, looking to take a gamble that one could see an outside return during a BTC bull run. Caveat emptor.

Other cryptocurrencies

As I alluded to a moment ago, anyone can take the Bitcoin source code, modify it, and create a new bitcoin fork. There have been many attempts over the years, and I won’t name them. I generally stay away, and agree with most bitcoin maximalists that the original BTC is the best store of value out there. That said, there are other blockchain projects out there that have different aims and use cases. The only one that I’ll mention is Ethereum, which is a smart contract platform, and allows one to program applications on the blockchain and have them run in a decentralized, autonomous way. It’s been around for several years, and is the king of the Decentralized Finance (DeFi) space, which is generating huge interest amongst developers and finance types. It’s the main focus of my activities right now.

There is a lot going on with Ethereum right now, so I recommend caution before taking a position in it, at least until you understand the landscape. I advise even greater caution with other cryptocurrencies, or altcoins. I’ve been in the space since 2014, and have spent hundreds of hours researching various projects, reading white papers, and the number of scams, hacks, contract failures and rug pulls that I’ve seen in this short time is staggering.

Fiat onramps like Coinbase, Gemini, and others have been adding other cryptoassets to their platforms over recent years, mainly cause the demand is there, but anyone who thinks that any of these tokens will see price appreciation anything like bitcoin over the last four years are probably going to be in for a rude awakening. Are double digit gains possible? Sure, but I am not betting anything other than a small stake, especially if we’re on the cusp of a BTC moon run.

A note about trading pairs: a few years ago, your owly onramp into cryptoassets from fiat was into bitcoin, which was then traded for other altcoins. As a result, most traders tracked their performance by the BTC price. The rationale here being that if you lost value in BTC terms you would have been better off not trading. As fiat on-ramp have made it possible to go directly from USD to other tokens, some have stopped this practice, although I still stick to it. More recent trading and market making platforms have introduced swap mechanisms which make it possible to go from one token to virtually any other, performing whatever third or nth level conversions necessary in the background. Since my long term goal is to accumulate BTC, not USD, I still track all trades via the BTC pair.

Stablecoins and Tokenization

Another trend that I think is worth mentioning is that of stablecoins and tokenization of hard assets. Basically, fintech companies have figured out that they can use a type of Ethereum asset called an ERC20 token as a digital dollar, and transmit these tokens over Ethereum as an alternative to the traditional fiat settlement system in traditional finance. Ethereum transactions settle in as little as twelve seconds, compared to ten minutes for bitcoin, and days for banks. These tokens go by the name Tether, USDC, DAI, or GUSD, and are supposedly backed by physical reserves of the various issuers. There is a lot going on in this space, I recommend you checkout The Crypto-Dollar Surge and the American Opportunity if you are interested in more.

Lastly, I wanted to mention asset tokenization, cause it will likely be huge in the coming years. Stablecoins are basically tokenized dollars, and we’re already seeing companies tokenize traditional equities on blockchains, and real estate is right around the corner. I bring this up cause I was asked directly about Vemanti Group’s plan to offer a gold-backed crypto. I’ll only speak in general terms, since I’m not familiar with Vemanti. I have seen a host of gold-backed crypto projects in my day, and I’ve got a general unease about the concept.

While there’s generally nothing wrong with gold-backed crypto per se, the whole idea as bitcoin as an alternative to gold makes me question the motivation behind such aims. The whole point of bitcoin as an alternative to gold as a store of value has to deal with gold’s difficulty to transport, as well as seizure risk. It seems like a step backward to me.

The main risk here that I see is one of custodial risk. Bitcoin, Ethereum and blockchain technology as a whole are decentralized projects, and one’s which allow trustless interactions between adversaries. When you start talking about asset tokenization, you’re putting trust in a third party. Tether for example, has been highly controversial because of accusations that they print more Tether than they actually have reserves for.

Color me skeptical about gold-backed crypto projects. Again, there’s nothing wrong with it in general, but for the most part, I think that the more people understand how bitcoin works, the less interest they’ll have in gold in general. Again, I do think there is a huge opportunity in tokenization of assets, and I’m looking forward to see how this plays out in the future.


To sum up, I hope this serves to answer some questions traditional asset investors have about the crypto space. I truly think it’s the greatest opportunity of my lifetime, and that we’re on the cusp of widespread adoption by retail, institutional and sovereign investors that will be unlike we’ve seen. The tech is moving super fast, and truly understanding Bitcoin requires a fundamental shift in thinking about money and economics, especially scarcity.

Again, the best exposure is direct exposure to BTC, preferably in self-custody, but getting started with an institutional custodian while you figure that out is ok. It’s how most people start. There are a number of new instruments popping up for retirement or institutional accounts that we didn’t cover, Grayscale is probably the best option out there for those getting started.

Once you understand the technology, good luck to you, cause I don’t know anyone that has invested the time to make it that far that has ever gone back. It’s a whole new world. Please do your own research before you make any significant investments.

Hopefully this helps! If you have any questions, feel free to hit me up on Twitter or leave a comment.

Waiting is the hardest part

Friday night we had the neighbors over. I broke out the slip and slide, cooked a couple of pizzas and drank beer with Missus and neighbor dad. Talked about Bitcoin. Wound up letting Elder stay up till 11:30, playing video games and watching half of The Gate. She got scared right when we got to the good part and we turned it off. Seemed everyone in the house was sleep deprived and more hostile to each other than normal. Kids finally went down the street to play. Younger thinks she can just take out the front door and walk over there whenever she wants, and threw a huge fit yesterday afternoon when I told her her she needed to stay in the house during the hot part of the day.

I did fix a broken thermometer, though. Broke out the soldering iron and the hot glue gun. Saved a whopping fourteen bucks. Every dollar counts, y’know?

Spent a couple hours balancing the house books, throwing all our bank statements into GNUCash. The arrangement I have with Missus is a bit hard to keep up with via bookeeping, cause I’ve been trying to account for things that we pay for separately in our own personal accounts: cell phone in mind, and various insurance products through her payroll deduction and checking accounts. I’ve decided that we need to move them over to the house account as much as possible. Since we don’t have daycare expenses right now, it’s hard to figure out how to balance that. We’ll be consolidating as much as we can into the joint account, both to make accounting easier, and to make a proper budget.

Right now we’ve got more than six months cash on hand, for mortgage and utilities. Not including cell phone, groceries, our various insurances, or other incidentals. My credit card spending has gone down quite a bit since the start of the lockdown, but it’s too early to tell exactly how that’s going to work out long term. Zombie, LLC is still above water, so we’re looking good. I don’t keep any long-term savings in my personal account, as fifteen percent of my weekly salary goes straight into Bitcoin.

And for now, it looks like that is going to have to change. There’s a couple factors, but the main one is that I need to get the tax savings from a fully funded IRA. I can still gain bitcoin exposure through GBTC. And being able to take gains off the table in an IRA, tax free, is the best part. Unfortunately I won’t have access to it without taking taxes and penalty, but the goal here has been to build wealth, not to generate income. I’m still going to stack twenty five bucks for Elder and Younger like I’ve been doing, but my own wallet will have to stay where it’s at for the time being.

There’s some additional decisions I need to make about what we’re doing with our idle cash. Holding six month’s expenses in the bank where it earns a whopping 0.01 percent interest is stupid. A CD might be better, but not much. Even Compound’s DeFi rates seem to have dropped of a cliff lately, so I’m not sure what the right answer is. Do nothing for now, I suppose.

I’m also considering scaling into some alcoin positions. ChainLink is looking good, and IDEX tokens will increase my earnings on my DEX node. The only other thing I’ve been considering is Ternio, but I’m not sure I want to KYC at another exchange. I’m still bag holding mining proceeds from Ravencoin, Haven, Arrow and a few others, and I still haven’t touched any of my 2017-19 ERC bags like BAT, 0x, and others. Again, I’ll do nothing for now. I just can’t bring myself to do anything when BTC looks like it’s on the cusp of exploding. I might actually add some Grayscale Ethereum Trust, but I need to take a hard look at that first.

For now, we wait, and work.

Six Figure FIRE Update: Day 6

Job search, investing performance, and BTC reFIREment plan

So here I am writing at night again today, as getting up early just hasn’t been my thing lately. The girls are enjoying the quarantine bubble that we’ve formed with the family down the street, and they spent most of the day outside playing today. It was the most productive day I’ve had in a long while.

I applied to two jobs the past two nights, one, a fast-growing firm that provides AI-enabled insights for customer data, Outlier.AI, and a startup trying to “cancel the endless cycles of extractive capitalism,” Good Money.

Outlier is a rather large firm that has an office nearby and meets my salary requirements; Good Money is an unknown, but it’s a startup and the culture looks so awesome. I’ll keep applying to my dream list over the next few days: Square, GitLab, Stripe, Twilio. I’m also continuing my consulting gigs, but I don’t know that I can grow that fast enough to reach my goal. We shall see.

Other good news today is that the retirement account hit a new all time high. I was finally able to figure out my actual account performance by looking at my cost basis gains.

SecurityOpen dateClose dateGain(%)
APPLE INC (AAPL)12/26/201310/5/2018170.64
AMBARELLA, INC. (AMBA)12/26/20139/19/201819.05
AMBARELLA, INC. (AMBA)9/3/20159/19/2018(55.98)
AMBARELLA, INC. (AMBA)11/4/20159/19/2018(40.97)
AMAZON COM INC (AMZN)12/26/20139/6/2018383.27
AMAZON COM INC (AMZN)2/20/20149/6/2018457.70
ACTIVISION BLIZZARD INC (ATVI)12/1/201410/10/2018248.63
BAUSCH HEALTH COMPANIES INC (BHC)12/26/20139/13/2018(80.58)
8POINT3 ENERGY PARTNERS LP (CAFD)8/5/20156/21/2018(20.48)
8POINT3 ENERGY PARTNERS LP (CAFD)8/3/20166/21/2018(25.19)
3D SYSTEMS CORP (DDD)2/20/20149/5/2018(75.12)
3D SYSTEMS CORP (DDD)2/18/20159/5/2018(38.07)
FORTINET INC (FTNT)5/4/20179/5/2018112.83
NVIDIA CORPORATION (NVDA)2/10/201610/8/2018917.65
OCEANEERING INTL INC (OII)12/26/20139/18/2018(68.84)
2018 Realized Gain/Loss

Obviously Amazon and NVidia were the big dogs here. My portfolio was imbalanced with the sheer amount that I was holding there, and I had a bad feeling about the economy. I wanted cash in hand, so I sold about half my position via a trailing stop. It looks like genius in hindsight.

2019 wasn’t too great from a gains perspective. On paper it’s only about 4%, but realistically it should be more since I was covering positions, covering my initial capital investment while retaining the rest of the position, risk free. I was able to take profits on GBTC, Paypal, RestoreBio, and Yext, but lost most of it in Aurora Cannabis and Cronos Group when weed stocks collapsed. I also got stopped out trying to play a very volatile penny stock involved in Bitcoin mining operations.

2020 hasn’t seen any major sells, my trading is automated now via my value averaging protocols. Very low volume, so to speak, and a modest 4.7 percent realized gains. My unrealized gains, however, are sitting at a whopping 38.54 percent! Most of that is Amazon (2014), NVidia (2016-17), GBTC, (2019-20; about one-third of my total portfolio,) and Netflix (2013). Major losers include Sierra Wireless, Hive Blockchain Technologies, FireEye, Overstock, and 3D Systems Corp. I’m currently holding thirty-one positions in all, seven of which I’m currently value averaging into.

Before I go tooting my own horn too much, though, I’ve got to acknowledge a bit of cherry picking here in the results. Due to my original brokerage being acquired, I don’t have access to my full trade history prior to the last four years. I’m sure it’s ugly. It’s not really fair to cout gains on positions I’ve held since 2013 while tossing out the ones I lost on during that time frame. I also closed out my traditional brokerage account, about one-fifth of my IRA at the time, and put it into bitcoin in 2017, before it broke 10K.

I am obviously putting my money where my mouth is with Bitcoin. Between my hardwallet and GBTC holdings, I have well more than half of my liquid net worth in the big orange coin, and a smaller bit more in Ethereum and other tokens. I’ve done the calculations and am looking at a BTC price target of $67K, at which point I will have more than enough to pay off all mortgage and student loan debt and establish my financial independence. My target date is sometime before the next halving, which I based off of the stock to flow model, which predicts BTC ranging above $100K before then.

There are lot of details to be worked out before we get there though. Obviously taxes is going to be the big one. I assume we’ll be looking at long term capital gains in the case of Bitcoin. GBTC gains in my IRA are untaxed, but withdrawing anything will be subject to income tax plus 10% early withdrawal penalty. So the best strategy right now is to continue to accumulate and hodl. Since I think BTC is going to accumulate price much faster than my four percent loans, it makes more sense for me to continue to accumulate BTC while making the regular payments.

One change I will be making moving forward is that I am going to resume contributions to my IRA, which I suspended in favor of buying bitcoin directly the past few years. I am missing out on the tax savings from my contributions, which is going to be a big factor next April given my expected increase in income. Once we’ve topped that bucket off, I can make a final decision on where my additional savings will go.

Automating value average stock investing

I spent most of the winter break working on automating a value averaging algorithm that I wrote about several months ago. Back in October we started scaling into three positions that we identified based on our work with some predictions we did using Facebook’s Prophet earlier. My goal was to develop a protocol and work out any kinks in the process manually while I worked on building out code that would eventually take over. While I’m not ready to release the modules to the public yet, I have managed to get the general order calculation and order placement up and running.

To start, I setup a Google Sheet with the details of each position: start date, number of days to run, and the total amount to invest. I used Alexander Elder’s Two Percent Rule, as usual to come up with this number. Essentially each position would be small enough that I wouldn’t need to setup stop losses. From there, the sheet would keep track of the number of business days (as a proxy for trading days) and would compute the target position size for that day. I would update a cell with the current instrument price, and the sheet would compute whether my asset holding was above or below the target, and calculate the buy or sell quantities accordingly.

After market open, I would update the price for each stock and put in the orders for each position. This took a few minutes each day, and became part of my morning routine over the past two months or so. Ideally, this process should have only taken five minutes out of my day, but we ran into some challenges due to the decisions we made that required us to rework things and audit our order history several times.

The first of these was based around the type of orders we placed. I decided that I didn’t want to market buy everything, and instead put ‘good-until-cancelled’ limit orders in. When there was no spread between the bid and the ask, I would just match whichever end I was on, and if there was a split I would put my order price one penny in the spread. As a result, some orders would go unfilled, and required some overly complicated spreadsheet calculations to keep track of which orders were filled, what my actual number of shares was ‘supposed’ to be, and so on. I also started using a prorated target, based on the number of days with actual filled orders. This became a problem to track. Also, some days there were large spreads, and my buy orders were way lower than anything that would get filled. There were times when the price fell for a few days and picked up some of these, but keeping track of these filled/unfilled orders was a huge pain in the butt.

One of the reasons that it took me so long to develop a working product was due to the challenges I had with existing Python support for my brokerage. The only feasible module that I could find on Pypi had basic functionality and required a lot of work. It had no order-placing capabilities, so I had to write those. I also got lost working through Ameritrade’s non-compliant schema definitions, and I almost gave up hope entirely when I found out that they were getting bought out. The module still has a lot of improvements needed before it can be run in a completely automated manner, but more on that later.

So far I’ve got just under a thousand lines of code — not as many tests as I should have written — that allows me to process a list of positions, tuples with stock ticker, days to run, start date, and total capital to invest. It calculates the ideal target, gets the current value of the position, and then calculates the difference and number of shares to buy or sell. It then places the order. I’m still manually keeping an eye on things and tracking my orders in the sheet as I’ve been doing, but there’s too much of a discrepancy between the Python algorithm and my spreadsheet. I don’t anticipate trying to wade through my transaction history to try to program around all of the mistakes and adjustments that I made during the development process. I’ll just have to live without the prorated targets for the time being.

I think priorities for the next few commits will be improving the brokerage module. Right now it requires Chromedriver to generate the authentication tokens; this can be done using straight up request sessions. There’s also no error checking; session expiration is a common problem and I had to write a function to use to refresh it without reauthentication. So first priority will be getting the the order placement calls and token handling improvements put in and a PR back into the main module.

From there, I’d like to clean up the Quicktype-generated objects and get them moved over to the brokerage package where they belong. I don’t know that most people are going to want to use Python objects instead or dictionaries, but I put enough work into it that I want it out there.

Lastly, I’ll need to figure out how to separate any of the broker-specific function calls from the value averaging functions. Right now it’s too intertwined to be used for anything other than my brokerage, so I’ll see about getting it generalized in such a way that it can be used with Tensortrade or other algorithmic trading platforms.

I’m not sure how much of this I can get done over the spring. Classes for my final semester at school start next Monday, and it will be May before I’m done with classes. But I will keep posting updates.