Meteor Cloud Lets Coygo Focus On Crypto Trading Tools, Not DevOps

Meteor Software
Meteor Blog
Published in
8 min readOct 21, 2022

--

Coygo used Meteor to build a suite of tools for cryptocurrency traders to automate their workflow. Hear how they leverage Meteor Cloud in this case study:

[image source: Coygo]

The siren song of cryptocurrency trading has been enticing savvy investors for years. With tales of preteen traders becoming millionaires in a few months, the potential of quick, sky-high returns is too irresistible to ignore.

But like every story you hear on the internet, the crypto trading game isn’t as easy as fintech influencers want you to believe.

For starters, there are over 10,000 cryptocurrencies on this 24/7 market, each with its own nuances, trends, and best practices. And every cryptocurrency experiences sudden lucrative spikes and equally rapid drops in value at a dizzying rate.

Traders profit from these price swings by creating and executing trading strategies that happen in milliseconds. That’s why stats show “algorithmic trading bots are responsible for up to 80% of the crypto trading volume” today [*].

Crypto bots work around the clock, immediately reacting to market trends ahead of manual traders. They make rational (read: unemotional) decisions based on data and technical analysis to keep specific trading goals and investments on track.

Coygo built a suite of tools for cryptocurrency and digital asset traders to automate their trading workflow through high-frequency crypto trading bots. And they created their powerful platform with Meteor.

So let’s explore Coygo’s journey and challenges in this case study.

Meet the Coygo Team of Crypto Fans

Evan Francis, a Crypto enthusiast and trader since 2010, co-founded Coygo, Inc. as CEO and primary applications engineer in 2018. A full-stack software engineer by trade, he’s passionate about designing and developing user-focused products.

He built Coygo’s cross-platform desktop and accompanying web app with the Meteor framework. Now Coygo’s suite of tools is trusted by over 5,000 cryptocurrency and digital asset traders in over 75 countries.

So What Can Digital Asset Traders Do With Coygo?

Coygo’s cryptocurrency trading software offers everything investors need to stay up to date and gain a competitive advantage, including the ability to:

Launch Coygo Bots: Crypto Bots To Automate Your Day Trading & Arbitrage

Automated bots are the best way to master digital asset trading. Coygo offers nearly a dozen highly configurable crypto trading bot strategies via Coygo Bots. These evaluate market data on intervals as short as seconds or even milliseconds for things like arbitrage and grid trading.

Make a “Grid” crypto swing trading bot with Coygo

Coygo Bots take over the heavy lifting and 24/7 commitment of crypto day trading. Once you launch your bots, you just have to monitor the results, correct when necessary, and experiment with new ways to improve.

Manage Accounts & Track Your Portfolio On Coygo Terminal

Coygo Terminal is a downloadable application for Windows, Mac, and Linux that connects to all of your exchanges. Manage accounts on multiple exchanges, track your portfolio, access real-time data insights, and more right from this all-in-one crypto and Bitcoin trading platform:

Coygo says there’s near-zero latency. Real-time data feeds connect your machine directly to each exchange; their servers don’t act as a middleman.

Coygo’s also security-minded. API keys never leave your machine, and Coygo servers never have access to your accounts.

Stay In the Know with Coygo Mobile

Coygo Mobile is accessible via web browser on your phone or computer. It allows users to stay up-to-date while on the go with portfolio tracking, real-time charts, Coygo Screener, and robust data tools.

You can view charts for each asset with MACD, RSI, and Bollinger Bands indicators, powered by TradingView, right from your phone.

Tap Into Coygo Screener, a Trader-Focused Crypto Price Scanner

Coygo Screener is an alternative to CoinMarketCap. You can access Coygo Screener within Coygo Terminal or with your phone or laptop via Coygo Mobile.

Use the preset filters, such as “Daily high volume gainers” or “Possible daily bullish reversals,” to find the best assets to trade. Or compose your own custom filters by combining several comparisons against various data points.

Code Your Own Crypto Trading Bots with Javascript in Coygo Forge

Coygo provides an API for software and application developers to power multi-exchange cryptocurrency trading and analytics systems. Advanced traders can code their own fully custom crypto trading bot strategies using a simple Javascript API in Coygo Forge.

Forge is the underlying engine powering their Coygo Bots. These react to market changes in milliseconds, making them ideal for real-time strategies like arbitrage or scalping.

So if you’re interested in coding your own, check out their Javascript guides and search their comprehensive API documentation. You’ll find explanations and working code examples for everything your Bot Strategy can do.

You can also browse a number of pre-built Bot Strategies with complete working code examples for swing trading, market making, grid trading, and loads more.

Now that you know all the features Coygo developed for crypto traders, let’s take a peek at:

The Coygo Tech Stack

Here’s an overview of the Coygo tech stack:

  • Meteor for the back-end
  • Vue for the front-end
  • Electron 9 via meteor-desktop
  • MongoDB
  • A couple node.js lambdas in AWS

If you’re curious about reference architecture, check out this slightly-modified version of Coygo’s internal architecture diagram:

Coygo chose Meteor, an open-source framework for seamlessly building and deploying web, mobile, and desktop applications in Javascript, for their suite of crypto tools. Their team can use the same code, whether developing for web, iOS, Android, or desktop, to deliver a seamless update experience for its users.

But that perk is just one reason:

Why Coygo Builds With Meteor (+ Relies On Meteor Cloud)

Coygo has been building with Meteor since 2017, when the team started as a different company, Lunafi LLC. They initially began using Meteor because:

  • Meteor makes rapid prototyping simple with a zero-config build tool
  • The CLI command for free app hosting for testing in a live environment
  • “The great RPC system” using the ValidatedMethod package
  • The many community-supported Atmosphere packages

Coygo has seen Meteor continuously evolve its priorities over the years and noticed that its benefits have also changed. Though there are now alternatives for simple, rapid prototyping and zero-config build tools, those services can’t match Meteor Cloud. According to the Coygo team:

“We mostly remain with Meteor due to the full-service, hands-off hosting from Meteor Cloud. It allows us to focus on application development and not on DevOps.”

Meteor.js is an open-source project and is free to download and use. Sign up for Meteor Cloud, and you can build, deploy, monitor, and host your application on the only platform designed with your Meteor app in mind.

It’s the only full-service cloud solution engineered for Meteor apps, and it’s the most efficient way for developers to host and scale them. Plus, you’ll have a decade of Meteor R&D and in-house Meteor experts behind you.

Spend Less Time On DevOps and More Time Building

Meteor Cloud allows Coygo to have a pre-production and prod environment that they know they can rely on — without ever having to manage DevOps themselves. The crew says they’ve “never had downtime or hosting issues.”

“As a small team, we need to focus on the customer, and Meteor Cloud enables that. Galaxy provides us with what we need out of the box.”

The Coygo crew hasn’t done much customization, and they’re not using a special setup to see the benefits of Meteor Cloud. They’re simply utilizing basic Galaxy hosting with tiny containers for preprod and medium containers for prod.

Scaling with Meteor and Other Challenges Coygo Solved

The Coygo team mentioned that their user numbers are fairly consistent, so they’ve never had massive user spikes. However, they’ve done a number of things to improve scaling so they can serve more customers with fewer hosts. They find Galaxy’s autoscaling support gives them peace of mind when usage does spike.

This type of thinking may have helped Coygo solve a few technical challenges they’ve faced with ease, such as:

Backups in the server’s RPC queue

Coygo uses RPC Meteor methods for logging and analytics. The team says firing off lots of events at once would sometimes back up the server’s RPC queue. However, switching this to batching logs on an interval fixed the issue.

Lots of slow queries

Coygo explained that some Mongo queries joining data between collections were slow because they would query one at a time to get the record in Collection B associated with the record in Collection A.

Combining these into two queries, one for all in Collection A and one for all matching records in Collection B, massively reduced their number of queries and sped up response times.

Improving response times

Coygo noticed that there’s some data all clients will query on a polled interval every 60 seconds or so. Instead of querying from the database or APIs on each client request, Coygo changed the server to query the data on an interval and cache it in memory. Now all clients are served the cached result for increased response times.

Electron + Meteor

The Coygo team admitted that using Electron with Meteor has been “a major pain point” as its support has “never been great.” They described getting a continuous integration system for building Electron clients on every OS and supporting auto-updating by clients as a “huge challenge.”

So What’s Next for Coygo?

As wehighlighted earlier, the Coygo team recently released Coygo Forge, a platform and framework for coding custom crypto trading bots with a simple JavaScript API.

Coygo is now working on releasing a Forge Community Marketplace where traders can browse custom trading bot strategies built by others and share their own.

Advanced traders will be able to share their custom-built crypto trading bot strategies to collaborate with and get feedback from others. And less experienced traders will be able to access a catalog of different custom strategies for their trading needs.

We look forward to seeing the Forge Community Marketplace thrive! 🤖

Ready To See How Meteor Can Help Your Team?

You and your team can leverage Meteor’s open-source framework to seamlessly build and deploy web, mobile, and desktop applications with the same code in Javascript.

Add Meteor Cloud to the mix, and you’ll effectively reduce your DevOps expenses to zero and gain the peace of mind that your Meteor app is hosted with your unique specifications in mind.

Over 500k developers trust Meteor, and thousands of companies have migrated their Meteor deployments to our cloud platform, just like Coygo.

See what makes following their lead such a good move today.

--

--

Meteor is an open-source platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started.