The Easiest Programming Language for Traders
We know what you're thinking: "I'm a trader, not a programmer. I'm not even at the 'Programming for Dummies' level. Spinning my wheels learning a programming language eats into my time, which is better spent on trading."
Modulus introduced TradeScript just for you. Our powerful programming language allows traders to design trading systems without prior programming experience. It was developed for professionals like you who need to write their own trading strategies, expert advisors, and market screening systems, and do back-testing. You don't need to learn C or C++ to create scripts that will give your system all the features you want such as alerting when the price of a security (stock, futures, forex, cryptocurrency) reaches a new high, crosses over a moving average, or drops a set percentage, market scanning, trade signals generation, back-test trading strategies, and much more.
Really... it's as easy as 1-2-3.
Introducing TradeScript, our powerful new programming language which allows traders to design trading systems without prior programming experience.
With TradeScript, you can automatically place trades when the market hits a new high, crosses over a moving average, or drops a set percentage, though those are only a few examples. TradeScript can also scan the market, generate trade signals, back-test trading strategies, and much more.
Vector Programming Languages
Most popular trading applications such as MetaStock, TradeStation, NinjaTrader, MetaTrader and others provide their own programming languages (such as MQL4, MQL5, EasyLanguage, MetaStock's scripting language, etc.). Without a programming language, traders are unable to develop automated trading systems or perform back-testing of strategies.
A vector programming language offers extreme flexibility with a minimal learning curve. In fact, in just five minutes, you can start writing with TradeScript.
So what is a vector programming language, and why is it so easy to learn?
Vector programming languages (also known as array or multidimensional languages) generalize operations on scalars to apply transparently to vectors, matrices, and higher dimensional arrays. The idea behind vector programming is that operations apply at once to an entire set of values (a vector or field). This allows you to think and operate on whole aggregates of data, without resorting to explicit loops of individual scalar operations.
In other words, it's similar to the macro language found in Excel.
The easiest programming language for traders. The most powerful, too.
An example: to calculate a simple moving average based on the median price of a security over 30 days, in a traditional programming language such as BASIC, you would be required to write a program similar to the code shown in this block of code.
Several lines of code would be required to create the "MedianAverages" vector. But with TradeScript, you can accomplish the same thing using only one line of code as show below.
And now MedianAverage becomes a new vector which contains the 30-period simple moving average of the median price of the security.
It is not uncommon to find array programming language "one-liners" that require more than a couple of pages of BASIC, Java, or C++ code. The same holds true for creating trading systems for back testing and trade alerts.
TradeScript was originally designed as a high-performance programming language for high-frequency traders. It was designed to scan over 100,000 stocks based on complex technical criteria and return instantaneious results- in under five milliseconds. That was over ten years ago. Today it is even faster.
Back Test Statistics
In addition to an actual Trade Log, TradeScript back test results include over 24 statistical outputs: Total Number of Trades, Average Number of Trades per Period, Number of Profitable Trades, Number of Loosing Trades, Total Profit, Total Loss, Percent Profit, Largest Profit, Largest Loss, Maximum Drawdown, Maximum Drawdown (Monte Carlo), Value Added Monthly Index (VAMI), Compound Monthly ROR, Standard Deviation, Annualized Standard Deviation, Downside Deviation, Sharpe Ratio, Annualized Sharpe Ratio, Sortino Ratio, Calmar Ratio, and Sterling Ratio.
Quick & Easy Development Solution
If you're a software developer, you'll be surprised to know that it only takes about 30 minutes to implement TradeScript into your trading application. TradeScript comes with context-sensitive help, and our Programmer's Guide can be shipped with your application. Adding a scripting language to your trading application couldn't be any easier.
Get Started with TradeScript >
Available in C++ and in C# Versions
TradeScript is available in both C++ (x64 for best performance) and C# for developing web applications. It comes with over 30 example projects and extensive developer support to help you implement the library into your project.
Common Development Scenarios
TradeScript is most commonly used in one of three scenarios. It is often used inside desktop trading applications, where it is embedded on the client side. It is also commonly used on the server side, where it runs strategies for thin clients, such as mobile and web applications. Another common scenario is where TradeScript is run on the server side in order to provide real time scanning results to web and mobile users.
A genetic algorithm can be integrated into TradeScript to create an autonomous trading system creation engine. Check our Evo2 genetic algorithm engine which comes with TradeScript examples.
Why Choose Modulus?
Modulus is a financial technology company. While that may not sound like a real differentiator, it is. It means that our solutions come from our years of experience in the financial technology industry. Our products and services are provided by developers and engineers who have first-hand trading experience. Everyone here at Modulus speaks your language.
Read more about us.