Tampilkan postingan dengan label Automated trading platforms. Tampilkan semua postingan
Tampilkan postingan dengan label Automated trading platforms. Tampilkan semua postingan
Rabu, 27 Mei 2020
Webinar On Algorithmic Trading System
Recently I participated inwards a webinar on using an algorithmic trading arrangement called Alphacet Discovery. H5N1 link to the webinar tin endure establish here.
Rabu, 20 Mei 2020
Algorithmic Trading Technology Scientific Discipline Update
Lately a release of novel (at to the lowest degree to me) technologies useful to the algorithmic trader came to my attention:
1) Matlab2IB API
I said inwards my majority that it is hard to utilization Matlab every minute an execution platform. As Max has pointed out, this is no longer true. This cheap API connects Matlab to your Interactive Brokers' account. It allows y'all to think historical data, acquire real-time quotes, as well as post orders. In other words, all the basic functions y'all postulate to practice your ain execution engine.
2) R
Many people (hat tip: Steve H.) know that R is an open-source (i.e. free) choice to Matlab. I respect that at that topographic point is likewise an API that connects R to Interactive Brokers, though I convey non tried it myself.
3) Trade Ideas
Trade Ideas (hat tip: Russell M.) is a consummate automated trading platform that provides connections to dissimilar brokerages (scottrade, IB, TD Ameritrade, etc.)
4) Amazon EC2 cloud computing platform
Running out of PC's to run your myriad strategies? Try Amazon's Here is another surgery benchmarks.
1) Matlab2IB API
I said inwards my majority that it is hard to utilization Matlab every minute an execution platform. As Max has pointed out, this is no longer true. This cheap API connects Matlab to your Interactive Brokers' account. It allows y'all to think historical data, acquire real-time quotes, as well as post orders. In other words, all the basic functions y'all postulate to practice your ain execution engine.
2) R
Many people (hat tip: Steve H.) know that R is an open-source (i.e. free) choice to Matlab. I respect that at that topographic point is likewise an API that connects R to Interactive Brokers, though I convey non tried it myself.
3) Trade Ideas
Trade Ideas (hat tip: Russell M.) is a consummate automated trading platform that provides connections to dissimilar brokerages (scottrade, IB, TD Ameritrade, etc.)
4) Amazon EC2 cloud computing platform
Running out of PC's to run your myriad strategies? Try Amazon's Here is another surgery benchmarks.
Kamis, 14 Mei 2020
A Reader Comments On Trading Using Excel Vba As Well As Ingredient Model
Thoughtful comments from a reader John S. from the Great Britain on his sense alongside trading technology scientific discipline as well as models:
"I convey been developing my ain personal automatic trading systems using Excel VBA as well as based on rules I convey developed over the years every bit an active individual trader investor using both technical as well as cardinal information analysis.
One of the key merits inwards adopting an automatic trading arrangement approach that has helped me is to avoid the temptation for manual interference as well as thereby improving profitability yesteryear maintaining consistency. I convey institute the challenge of developing a successful arrangement really rewarding from a personal perspective every bit I recognise that in that place are many that convey tried as well as failed. However i employment I convey encountered is my ongoing wishing to regularly modify as well as ameliorate the arrangement which I convey institute tin larn counter productive every bit in that place is a existent danger that arrangement evolution becomes an goal inwards itself! I merely can't seem to halt tinkering every bit presently every bit I come upwards up alongside a novel stance or feature!
One payoff of using Excel VBA that I convey institute is that it is inherently flexible every bit it facilitates the processing of information which tin hold upwards of import particularly when using cardinal information every bit purpose of the system. In this honor I recognise that every trader is trying to construct inwards an border that volition brand the arrangement to a greater extent than profitable. I convey noticed that many traders seem to alone focus on cost yesteryear trying to seek an border yesteryear looking at special indicators or combination of indicators etc. Combining cost information analysis alongside a Factor Model approach is a challenge which is ideally suited Excel VBA every bit it tin hold upwards easily used to procedure both cardinal as well as macroeconomic information into a bird that tin hold upwards integrated alongside cost information analysis.
I recognise from your mass that Matlab is to a greater extent than powerful than Excel VBA as well as may hold upwards merely every bit flexible inwards integrating cardinal as well as macroeconomic information but I merely wanted to depict your attending to benefits I convey institute using Excel VBA which may suit those who similar myself are to a greater extent than comfortable inwards using Excel VBA as well as are reluctant to change. Other features that tin hold upwards exploited that I convey institute helpful when dorsum testing are automatically producing Price Charts that comprise Entry as well as Exit points which provides visual reassurance that the arrangement is working every bit intended every bit good every bit generating automatic Word reports recording key output for futurity reference.
I am sad if I audio likewise much similar an cite for Microsoft!"
"I convey been developing my ain personal automatic trading systems using Excel VBA as well as based on rules I convey developed over the years every bit an active individual trader investor using both technical as well as cardinal information analysis.
One of the key merits inwards adopting an automatic trading arrangement approach that has helped me is to avoid the temptation for manual interference as well as thereby improving profitability yesteryear maintaining consistency. I convey institute the challenge of developing a successful arrangement really rewarding from a personal perspective every bit I recognise that in that place are many that convey tried as well as failed. However i employment I convey encountered is my ongoing wishing to regularly modify as well as ameliorate the arrangement which I convey institute tin larn counter productive every bit in that place is a existent danger that arrangement evolution becomes an goal inwards itself! I merely can't seem to halt tinkering every bit presently every bit I come upwards up alongside a novel stance or feature!
One payoff of using Excel VBA that I convey institute is that it is inherently flexible every bit it facilitates the processing of information which tin hold upwards of import particularly when using cardinal information every bit purpose of the system. In this honor I recognise that every trader is trying to construct inwards an border that volition brand the arrangement to a greater extent than profitable. I convey noticed that many traders seem to alone focus on cost yesteryear trying to seek an border yesteryear looking at special indicators or combination of indicators etc. Combining cost information analysis alongside a Factor Model approach is a challenge which is ideally suited Excel VBA every bit it tin hold upwards easily used to procedure both cardinal as well as macroeconomic information into a bird that tin hold upwards integrated alongside cost information analysis.
I recognise from your mass that Matlab is to a greater extent than powerful than Excel VBA as well as may hold upwards merely every bit flexible inwards integrating cardinal as well as macroeconomic information but I merely wanted to depict your attending to benefits I convey institute using Excel VBA which may suit those who similar myself are to a greater extent than comfortable inwards using Excel VBA as well as are reluctant to change. Other features that tin hold upwards exploited that I convey institute helpful when dorsum testing are automatically producing Price Charts that comprise Entry as well as Exit points which provides visual reassurance that the arrangement is working every bit intended every bit good every bit generating automatic Word reports recording key output for futurity reference.
I am sad if I audio likewise much similar an cite for Microsoft!"
Sabtu, 09 Mei 2020
Matlab Every Minute An Automated Execution System
I only published an article "MATLAB equally an Automated Execution System". (It is available to readers of my mass as well as subscribers to my Premium Content website.) It comes amongst example MATLAB codes executing a unproblematic Bollinger-band high-frequency E-mini trading strategy.
As I mentioned before, I straight off notice MATLAB to endure a skilful platform non only for backtesting, but for automated execution equally well. Of course, non all brokerages direct keep API's that connect to MATLAB. My representative codes are for submitting orders automatically to an Interactive Brokers account.
In general, I notice that writing execution programs inwards MATLAB is a breeze compared to C++, Java or fifty-fifty C#. It takes almost 1/5 the evolution fourth dimension of a C++ program. Any surgical operation limitations volition in all likelihood non endure due to MATLAB, but to the latency of your brokerage inwards updating positions as well as lodge status.
As I mentioned before, I straight off notice MATLAB to endure a skilful platform non only for backtesting, but for automated execution equally well. Of course, non all brokerages direct keep API's that connect to MATLAB. My representative codes are for submitting orders automatically to an Interactive Brokers account.
In general, I notice that writing execution programs inwards MATLAB is a breeze compared to C++, Java or fifty-fifty C#. It takes almost 1/5 the evolution fourth dimension of a C++ program. Any surgical operation limitations volition in all likelihood non endure due to MATLAB, but to the latency of your brokerage inwards updating positions as well as lodge status.
Rabu, 06 Mei 2020
A Gratis Matlab-To-Interactive Brokers Api
For readers who create non desire to pay for a commercial Matlab2IB API, Max Dama has position together a costless alternative. Domenic has provided or together with thence additional sample Matlab codes for trading.
Influenza A virus subtype H5N1 user of the commercial product that I previously mentioned reports that "My work amongst the matlab2ib production was that it did non accept a business office for all the Active X methods. ( for event the Market Scanners, Real fourth dimension Bars together with Fundamental Data methods are missing). I every minute good had issues when I tried to steam inwards trades data(I'm non certain if the matlab2ib production allows y'all to fifty-fifty create this?)." Apparently Max's API has included these methods, though I accept non personally tried them.
Influenza A virus subtype H5N1 user of the commercial product that I previously mentioned reports that "My work amongst the matlab2ib production was that it did non accept a business office for all the Active X methods. ( for event the Market Scanners, Real fourth dimension Bars together with Fundamental Data methods are missing). I every minute good had issues when I tried to steam inwards trades data(I'm non certain if the matlab2ib production allows y'all to fifty-fifty create this?)." Apparently Max's API has included these methods, though I accept non personally tried them.
Sabtu, 16 Juni 2007
Pair Trading Technologies Update
Pair trading was invented 2 decades ago, simply automating its implementation has solely of late boot the bucket stylish alongside independent traders. But i time the spotlight is on, innovations come upwards fast as well as furious. Here are a expose of recent developments that I notice interesting:
1. I mentioned previously the software called quant2ib. It is an API which allows us to acquire marketplace information as well as post orders from a Matlab programme to Interactive Brokers (IB). I possess got used it extensively for our trading, as well as it is every bit reliable every bit IB's native API. Their latest version straightaway includes functions for constructing a "combo" security. This combo safety tin strength out move pairs of stocks, ETF's, futures, etc. (with the notable exception of currencies), as well as the API allows y'all to acquire marketplace information every bit good every bit to submit orders on a combo. This is a huge improvement because y'all tin strength out straightaway automatically merchandise a yoke of securities every bit i unit of measurement yesteryear submitting limit orders on the combo. (Previously, y'all would possess got had to submit marketplace social club on at to the lowest degree i side of the pair, as well as this would possess got required your programme to continuously monitor the marketplace prices as well as post orders when appropriate. Or else y'all had to surrender using the API as well as manually come inward a "generic combo" boundary social club inward IB's TWS.)
2. Alphacet Discovery likewise has the mightiness to post boundary orders on pairs, due to its partnership alongside Knight Trading. Besides, based on a present that I possess got of late seen, they likewise straightaway possess got cracking pairs portfolio as well as execution reporting functionality. (Full disclosure: I used to consult for them.)
3. IB itself has released a "Scale Trader" algorithm that tin strength out move applied to combos (see 1. above. Hat tip: Mohamed.) I can't explicate this improve than their press release: "... ScaleTrader algorithm allows clients to exercise weather nether which a long seat inward i stock is built spell simultaneously creating an offsetting curt seat inward the other. The ScaleTrader is named because investors tin strength out 'scale-in' to marketplace weakness yesteryear setting orders to purchase every bit the marketplace moves lower. Similarly, sell orders tin strength out move 'scaled' into when a marketplace is rising. The ScaleTrader algorithm tin strength out move programmed to purchase the spread as well as afterwards possess got lucre yesteryear selling the spread if the deviation reaches predetermined levels ready yesteryear the user." In other words, it allows us to automatically implement the "parameterless trading" or the "averaging-in" strategy that I blogged well-nigh previously without whatsoever programming on our part!
Speaking of yoke trading, I volition move pedagogy my begin New York workshop inward October. (My editor inevitably picks touristy locations for these workshops. My London workshop takes house across the street from the Tower of London, my New York workshop is across from the novel World Trade Center, as well as my Hong Kong workshop is inward the "Golden Mile" shopping district of Tsim Sha Tsui.)
1. I mentioned previously the software called quant2ib. It is an API which allows us to acquire marketplace information as well as post orders from a Matlab programme to Interactive Brokers (IB). I possess got used it extensively for our trading, as well as it is every bit reliable every bit IB's native API. Their latest version straightaway includes functions for constructing a "combo" security. This combo safety tin strength out move pairs of stocks, ETF's, futures, etc. (with the notable exception of currencies), as well as the API allows y'all to acquire marketplace information every bit good every bit to submit orders on a combo. This is a huge improvement because y'all tin strength out straightaway automatically merchandise a yoke of securities every bit i unit of measurement yesteryear submitting limit orders on the combo. (Previously, y'all would possess got had to submit marketplace social club on at to the lowest degree i side of the pair, as well as this would possess got required your programme to continuously monitor the marketplace prices as well as post orders when appropriate. Or else y'all had to surrender using the API as well as manually come inward a "generic combo" boundary social club inward IB's TWS.)
2. Alphacet Discovery likewise has the mightiness to post boundary orders on pairs, due to its partnership alongside Knight Trading. Besides, based on a present that I possess got of late seen, they likewise straightaway possess got cracking pairs portfolio as well as execution reporting functionality. (Full disclosure: I used to consult for them.)
3. IB itself has released a "Scale Trader" algorithm that tin strength out move applied to combos (see 1. above. Hat tip: Mohamed.) I can't explicate this improve than their press release: "... ScaleTrader algorithm allows clients to exercise weather nether which a long seat inward i stock is built spell simultaneously creating an offsetting curt seat inward the other. The ScaleTrader is named because investors tin strength out 'scale-in' to marketplace weakness yesteryear setting orders to purchase every bit the marketplace moves lower. Similarly, sell orders tin strength out move 'scaled' into when a marketplace is rising. The ScaleTrader algorithm tin strength out move programmed to purchase the spread as well as afterwards possess got lucre yesteryear selling the spread if the deviation reaches predetermined levels ready yesteryear the user." In other words, it allows us to automatically implement the "parameterless trading" or the "averaging-in" strategy that I blogged well-nigh previously without whatsoever programming on our part!
Speaking of yoke trading, I volition move pedagogy my begin New York workshop inward October. (My editor inevitably picks touristy locations for these workshops. My London workshop takes house across the street from the Tower of London, my New York workshop is across from the novel World Trade Center, as well as my Hong Kong workshop is inward the "Golden Mile" shopping district of Tsim Sha Tsui.)
Rabu, 06 Juni 2007
A Platform, A Shareware Site, As Well As Roughly Courses For Quant Traders
I mentioned inwards diverse places that Alphacet Discovery is an industrial trace integrated platform for backtesting in addition to implementing quantitative trading strategies. But of course, it has many competitors, 1 of which is a relatively novel fellowship called Deltix. Deltix has the distinction of offering a amount Matlab interface, which is convenient if you lot are already a Matlab programmer. (Full disclosure: I previously convey a consulting human relationship alongside Alphacet, simply convey none alongside Deltix.)
There is too a novel website for sharing trading strategy software called Quantonomics. In the words of its founder Joshua, the destination is to "connect programmers in addition to stock traders". Joshua too told me that he volition practise a custom application on his site for whatsoever of you lot readers every bit a gift!
Influenza A virus subtype H5N1 colleague of mine inwards Singapore, medico Li Haksun, who was previously a quant alongside UBS in addition to BNP Paribas, is offering a course on quantitative trading strategy in July. It covers to a greater extent than theoretical concepts than my ain courses: e.g. hidden markov model, stochastic control, in addition to Kalman filters are included.
And of course, my ain workshops on Backtesting in addition to Statistical Arbitrage volition move offered in 1 trial again inwards London side past times side week.
There is too a novel website for sharing trading strategy software called Quantonomics. In the words of its founder Joshua, the destination is to "connect programmers in addition to stock traders". Joshua too told me that he volition practise a custom application on his site for whatsoever of you lot readers every bit a gift!
Influenza A virus subtype H5N1 colleague of mine inwards Singapore, medico Li Haksun, who was previously a quant alongside UBS in addition to BNP Paribas, is offering a course on quantitative trading strategy in July. It covers to a greater extent than theoretical concepts than my ain courses: e.g. hidden markov model, stochastic control, in addition to Kalman filters are included.
And of course, my ain workshops on Backtesting in addition to Statistical Arbitrage volition move offered in 1 trial again inwards London side past times side week.
Jumat, 01 Juni 2007
More On Automated Trading Platforms
The ideal software platform for automating backtesting too executing your algorithmic trading strategies depends mainly on your degree of programming expertise too your budget. If you lot are a competent programmer in, say, Java or C#, at that spot is goose egg to preclude you lot from utilizing the API offered (usually for free) past times many brokerages to automate execution. And of course, it is too slow for you lot to write a sort backtesting programme utilizing historical data. However, fifty-fifty for programmer-traders, at that spot are a couplet of inconveniences inwards developing these programs from scratch:
A) Every fourth dimension nosotros alter brokerages, nosotros stimulate got to re-write parts of the low-level functions that utilize the brokerage's API;
B) The automated trading programme cannot endure used to backtest unless a simulator is built to feed the historical information into the programme every bit if they were live. To bring down bugs, it is amend to stimulate got the same code that both backtests too trades live.
This is where a reveal of open-source algorithmic trading evolution platforms come upward in. These platforms all assume that the user is a Java programmer. But they eliminate the hassles A) too B) higher upward every bit they serve every bit the layer that shield you lot from the details of the brokerage's API, too allow you lot larn from backtesting to alive trading fashion amongst a figurative plough of a key. I stimulate got taken a tour of ane such platforms Marketcetera, too volition highlight around features here:
1) It has a trading GUI amongst features like to that of IB's TWS. This volition endure useful if your ain brokerage's GUI is dysfunctional.
2) Complex Event Processing (CEP) is available every bit a module. CEP is essentially a agency for you lot to easily specify what sort of market/pricing events should trigger a trading action. For e.g., "BUY if inquire toll is below 20-min moving average." Of course, you lot could stimulate got written this trading dominion inwards a callback function, only to shout out upward the 20-min MA on-demand could endure quite messy. CEP solves that information retrieval occupation for you lot past times storing exclusively those information that is needed past times your registered trading rules.
3) It tin utilisation either FIX or a brokerage's API for connection. Available brokerage connectors include Interactive Brokers too Lime Brokerage.
4) It offers a intelligence feed, which tin endure used past times your trading algorithms to trigger trading actions if you lot utilisation Java's string processing utilities to parse the stories properly.
5) The monthly cost ranges from $3,500 - $4,500.
If Marketcera is beyond your budget, you lot tin banking concern lucifer out AlgoTrader. It has advantages 1)-3) only non 4) listed above, too is completely free. I invite readers who stimulate got tried these or other like automated trading platforms to comment their user sense here.
P.S. For those of us who utilisation Matlab to automate our executions, a reader pointed out at that spot is a novel production MATTICK that allows you lot to mail gild via the FIX protocol which should allow us merchandise amongst a slap-up diversity of brokerages.
A) Every fourth dimension nosotros alter brokerages, nosotros stimulate got to re-write parts of the low-level functions that utilize the brokerage's API;
B) The automated trading programme cannot endure used to backtest unless a simulator is built to feed the historical information into the programme every bit if they were live. To bring down bugs, it is amend to stimulate got the same code that both backtests too trades live.
This is where a reveal of open-source algorithmic trading evolution platforms come upward in. These platforms all assume that the user is a Java programmer. But they eliminate the hassles A) too B) higher upward every bit they serve every bit the layer that shield you lot from the details of the brokerage's API, too allow you lot larn from backtesting to alive trading fashion amongst a figurative plough of a key. I stimulate got taken a tour of ane such platforms Marketcetera, too volition highlight around features here:
1) It has a trading GUI amongst features like to that of IB's TWS. This volition endure useful if your ain brokerage's GUI is dysfunctional.
2) Complex Event Processing (CEP) is available every bit a module. CEP is essentially a agency for you lot to easily specify what sort of market/pricing events should trigger a trading action. For e.g., "BUY if inquire toll is below 20-min moving average." Of course, you lot could stimulate got written this trading dominion inwards a callback function, only to shout out upward the 20-min MA on-demand could endure quite messy. CEP solves that information retrieval occupation for you lot past times storing exclusively those information that is needed past times your registered trading rules.
3) It tin utilisation either FIX or a brokerage's API for connection. Available brokerage connectors include Interactive Brokers too Lime Brokerage.
4) It offers a intelligence feed, which tin endure used past times your trading algorithms to trigger trading actions if you lot utilisation Java's string processing utilities to parse the stories properly.
5) The monthly cost ranges from $3,500 - $4,500.
If Marketcera is beyond your budget, you lot tin banking concern lucifer out AlgoTrader. It has advantages 1)-3) only non 4) listed above, too is completely free. I invite readers who stimulate got tried these or other like automated trading platforms to comment their user sense here.
P.S. For those of us who utilisation Matlab to automate our executions, a reader pointed out at that spot is a novel production MATTICK that allows you lot to mail gild via the FIX protocol which should allow us merchandise amongst a slap-up diversity of brokerages.
Kamis, 31 Mei 2007
Trading Platform In Addition To Ec2 Revisited
Recently I opened a discussion on the diverse software platforms which allow the programmers with us to construct trading strategies easily. Here is 1 other addition: Quantopian. It is exclusively inwards alpha stage, simply I did acquire a preview of its features:
1) You tin code inwards Python, which is an easier linguistic communication to larn than Java, simply no less powerful. In fact, I know of a superb programmer who uses Python to backtest HF strategies.
2) It is web-based, which agency you lot tin accept wages of collocation on a server much to a greater extent than stable than your ain desktops. (For those who worry well-nigh the confidentiality of your strategies, the founder indicated to me that they tin run an icon of the software on an Amazon EC2 concern human relationship that you lot owned then they won't induce got access to your codes. As for the confidentiality of codes residing on EC2 itself, delight encounter below*.)
3) It is event-driven (or for those who similar the latest jargon: CEP-enabled), similar all the Java API's that I discussed inwards the previous article.
4) They induce got 1-min U.S.A. equities information for backtesting. Tick-level information volition live available soon.
5) Toolboxes for mutual technical indicators, mathematical algorithms, etc. volition live available soon.
6) They volition run a contest for trading models which makes it easier for independent traders to run past times away trading advisers to others, or to heighten coin for their ain funds.
Unfortunately, alive walk-forward testing is non yet available.
* Some readers induce got wondered whether it is prophylactic to run their trading models on Amazon's EC2. Won't Amazon's employees induce got access to their wildly profitable strategies? The respond is no: Amazon's security policy:
1) You tin code inwards Python, which is an easier linguistic communication to larn than Java, simply no less powerful. In fact, I know of a superb programmer who uses Python to backtest HF strategies.
2) It is web-based, which agency you lot tin accept wages of collocation on a server much to a greater extent than stable than your ain desktops. (For those who worry well-nigh the confidentiality of your strategies, the founder indicated to me that they tin run an icon of the software on an Amazon EC2 concern human relationship that you lot owned then they won't induce got access to your codes. As for the confidentiality of codes residing on EC2 itself, delight encounter below*.)
3) It is event-driven (or for those who similar the latest jargon: CEP-enabled), similar all the Java API's that I discussed inwards the previous article.
4) They induce got 1-min U.S.A. equities information for backtesting. Tick-level information volition live available soon.
5) Toolboxes for mutual technical indicators, mathematical algorithms, etc. volition live available soon.
6) They volition run a contest for trading models which makes it easier for independent traders to run past times away trading advisers to others, or to heighten coin for their ain funds.
Unfortunately, alive walk-forward testing is non yet available.
* Some readers induce got wondered whether it is prophylactic to run their trading models on Amazon's EC2. Won't Amazon's employees induce got access to their wildly profitable strategies? The respond is no: Amazon's security policy:
Guest Operating System: Virtual instances are completely controlled past times the customer. Customers induce got sum origin access
or administrative command over accounts, services, as well as applications. AWS does non induce got whatsoever access rights to customer
instances as well as cannot log into the invitee OS....
Thanks to a reader OL from French Republic who provided me with this info. He likewise told me that:
"So, I lastly deployed my momentum strategy on a Linux trial of EC2 (which is gratuitous btw).
I wrote it based on the coffee present application provided past times Interactive Brokers as well as about parts of Algoquant.
So far, I role a European trial of EC2 which alas doesn't induce got the best latency to IB U.S.A. servers (90 ms) simply nevertheless ameliorate than my sleeping accommodation connection.
Influenza A virus subtype H5N1 examination ping from a U.S.A. trial to IB U.S.A. servers results inwards exclusively fifteen ms ..."
So at that topographic point you lot go: Java+Algoquant+IB+EC2=profit.
Senin, 21 Mei 2007
Order Period Of Time Every Moment A Predictor Of Return
Order period of time is signed transaction volume: if an companionship is executed at the enquire price, the incremental companionship period of time is +(order size); if executed at the bid price, it is -(order size). In for certain markets where traders tin plough over notice only purchase in addition to sell from marketplace makers but non from each other, a positive companionship period of time way that traders are cyberspace buyers of a security. But fifty-fifty inwards markets where everyone tin plough over notice house in addition to fill upwards orders on a mutual companionship book, a positive companionship period of time indicates that informed traders (those willing to aggressively locomote inwards a position) are eagerly acquiring a security.
The bang-up affair almost companionship period of time is that it has proven to last a proficient momentum indicator. That is to say, a positive period of time predicts a positive futurity return. This mightiness appear trivially obvious, but y'all convey think that to a greater extent than frequently than non speaking, a positive past times provide past times no way predicts a positive futurity return. That FX companionship period of time possesses this predictive ability was shown past times Evans in addition to Lyons inwards a serial of papers, but this indicator is useful inwards many other markets, in addition to at many dissimilar fourth dimension scales. For example, inwards a paper past times Coval in addition to Stafford, it was shown that if y'all tin plough over notice tease out the companionship period of time of a stock due to mutual funds' trading alone, y'all tin plough over notice also predict its futurity provide upwards to, say, a quarter. This newspaper non only shows that companionship period of time is predictive, but that sometimes a specific sort of companionship period of time (in this case, that of mutual funds only) is sometimes to a greater extent than predictive than full general companionship flow. In many cases, traders notice that past times counting only companionship period of time due to institutional traders, or companionship period of time due to large orders, they tin plough over notice ameliorate predict futurity returns. (No wonder institutional traders are trying their darnedest to interruption upwards their orders into pocket-size chunks, or to merchandise inwards nighttime pools!) I of late also heard that companionship period of time into sector ETFs tin plough over notice last predictive of that sector's return. If whatever reader has read papers or has sense amongst this type of sector rotation model, delight acquire out a comment!
Despite the proven usefulness of companionship flow, non besides many retail traders utilize it. The argue is simple: it tin plough over notice last difficult to measure. In FX inwards particular, many markets exercise non written report merchandise information, or they written report amongst a sufficient delay such that the information has no predictive utility. Even for markets that written report instantaneous merchandise information, y'all would demand a proficient slice of software to capture every bid, ask, trade, in addition to merchandise size, in addition to shop them inwards an array, inwards companionship to compute companionship flow, an functioning that most retail trading software cannot accomplish. However, this barrier to entry may but hateful that at that topographic point are nonetheless decent alpha to last extracted from this indicator.
Now, a bunch of world service announcements ...
===
Influenza A virus subtype H5N1 novel algorithmic trading platform called Rizm designed for retail traders is forthwith available. You tin plough over notice sign upwards for their beta trial here.
===
gold/gold-miners arb strategy with origin codes in addition to analysis available. I notice that the performance metrics clear in addition to useful: ameliorate than the output from my ain backtest programs! (Quantopian is a platform where y'all tin plough over notice portion backtest results in addition to codes amongst other traders.)
===
Arbmaker is a platform for duo traders, in addition to it incorporates software for cointegration tests, has integrated information feed from many vendors, in addition to allows automated companionship submission to Interactive Brokers. Neural networks in addition to Kalman filter are also included.
===
Finally, I volition last giving a speak titled "Backtesting in addition to Its Pitfalls" at the World MoneyShow at the Metro Toronto Convention Centre on Saturday, Oct 20. Interested readers tin plough over notice register here.
The bang-up affair almost companionship period of time is that it has proven to last a proficient momentum indicator. That is to say, a positive period of time predicts a positive futurity return. This mightiness appear trivially obvious, but y'all convey think that to a greater extent than frequently than non speaking, a positive past times provide past times no way predicts a positive futurity return. That FX companionship period of time possesses this predictive ability was shown past times Evans in addition to Lyons inwards a serial of papers, but this indicator is useful inwards many other markets, in addition to at many dissimilar fourth dimension scales. For example, inwards a paper past times Coval in addition to Stafford, it was shown that if y'all tin plough over notice tease out the companionship period of time of a stock due to mutual funds' trading alone, y'all tin plough over notice also predict its futurity provide upwards to, say, a quarter. This newspaper non only shows that companionship period of time is predictive, but that sometimes a specific sort of companionship period of time (in this case, that of mutual funds only) is sometimes to a greater extent than predictive than full general companionship flow. In many cases, traders notice that past times counting only companionship period of time due to institutional traders, or companionship period of time due to large orders, they tin plough over notice ameliorate predict futurity returns. (No wonder institutional traders are trying their darnedest to interruption upwards their orders into pocket-size chunks, or to merchandise inwards nighttime pools!) I of late also heard that companionship period of time into sector ETFs tin plough over notice last predictive of that sector's return. If whatever reader has read papers or has sense amongst this type of sector rotation model, delight acquire out a comment!
Despite the proven usefulness of companionship flow, non besides many retail traders utilize it. The argue is simple: it tin plough over notice last difficult to measure. In FX inwards particular, many markets exercise non written report merchandise information, or they written report amongst a sufficient delay such that the information has no predictive utility. Even for markets that written report instantaneous merchandise information, y'all would demand a proficient slice of software to capture every bid, ask, trade, in addition to merchandise size, in addition to shop them inwards an array, inwards companionship to compute companionship flow, an functioning that most retail trading software cannot accomplish. However, this barrier to entry may but hateful that at that topographic point are nonetheless decent alpha to last extracted from this indicator.
Now, a bunch of world service announcements ...
===
Influenza A virus subtype H5N1 novel algorithmic trading platform called Rizm designed for retail traders is forthwith available. You tin plough over notice sign upwards for their beta trial here.
===
gold/gold-miners arb strategy with origin codes in addition to analysis available. I notice that the performance metrics clear in addition to useful: ameliorate than the output from my ain backtest programs! (Quantopian is a platform where y'all tin plough over notice portion backtest results in addition to codes amongst other traders.)
===
Arbmaker is a platform for duo traders, in addition to it incorporates software for cointegration tests, has integrated information feed from many vendors, in addition to allows automated companionship submission to Interactive Brokers. Neural networks in addition to Kalman filter are also included.
===
Finally, I volition last giving a speak titled "Backtesting in addition to Its Pitfalls" at the World MoneyShow at the Metro Toronto Convention Centre on Saturday, Oct 20. Interested readers tin plough over notice register here.
Rabu, 16 Mei 2007
An Integrated Evolution Environs For High Frequency Strategies
I bring come upward across many software platforms that allow traders to outset specify too backtest a strategy too then, alongside the force of a button, plough the backtest strategy into a alive trading programme that tin automatically submit orders to their favorite broker. (See all my articles on this topic here.) I called these platforms "Integrated Development Environment" (IDE) inwards my new book, too they arrive at from the familiar too retail-oriented (e.g. MetaTrader, NinjaTrader, TradeStation), to the professional person but skills-demanding (e.g. ActiveQuant, Marketcetera, TradeLink), and lastly to the comprehensive too industrial-strength (e.g. Deltix, Progress Apama, QuantHouse, RTD Tango). Some of these ask no programming skills at all, allowing you lot to build strategies yesteryear dragging-and-dropping, others run some uncomplicated scripting languages similar Python, too yet others need full-blown programming abilities inwards Java, C#, or C++. But which of these allow us to backtest too execute high frequency strategies?
To land the obvious: backtesting HFstrategies is quite hard. The mass of information is i issue. But inwards addition, the execution details are really of import to such strategies: details such as the exact exchange/venue to which nosotros are routing our orders, the precise land of the companionship mass that triggers our orders, the companionship types nosotros are using, too lastly the probability of getting filled if nosotros run non-marketable orders. Messing upward i of these details too the backtest volition live far from realistic. I oftentimes say people that it is easier to newspaper merchandise a HF strategy than to backtest one. While many of the platforms I reported to a higher house create allow backtesting using tick data, I don't know that they enable backtesting using the amount companionship mass too selection of execution venue. With this background, I am happy to study I bring lately come upward across but such a platform called Lime Strategy Studio.
First, the bad news. LimeTrader is useful alone to traders who merchandise alongside Lime Brokerage, equally it is configured to post alive orders to Lime only. [UPDATE: I bring since learned that at that spot are adapters available for third political party brokers.] However, if you lot are going to merchandise HF stocks too futures strategies, why non acquire alongside Lime, since they supply you lot alongside a comprehensive API, straight ultra-low latency feeds from the exchanges, too allow (nay, insist on) colocation either at the exchanges or at their information center at a reasonable fee? (Full Disclosure: I bring no electrical flow invoice alongside Lime, though I was a customer.) Another slice of bad news: the specification of the strategy must live inwards C++.
But i time you lot acquire over these two hurdles, the benefits are manifold. Every special that you lot tin specify for a alive trading strategy tin live specified for the backtest too newspaper trading. As I said, these details may include companionship type, trading venue, land of companionship book, too fifty-fifty statistics of the companionship book, non to advert primal information such equally earnings, corporate actions, too other user-provided information such equally news. Influenza A virus subtype H5N1 fill upward simulator is included for your non-marketable orders. As alongside other IDEs, i time you lot backtested a strategy inwards its every special too are satisfied alongside the surgical operation metrics, you lot tin acquire alive (either for newspaper or production trading) alongside the force of a button.
If whatever reader know of other IDEs that bring similar features too useful for backtesting HF strategies, delight allow us know!
===
Speaking of HF strategies, traders oftentimes lament the ultra-high secrecy some them too the difficulty of gathering noesis inwards this field. Influenza A virus subtype H5N1 friend (hat tip: Dave) referred me to this paper yesteryear Prof. Dragos Bozdog et. al. that gives a flavour of what assort of modeling may live involved. I abide by it really readable too thought-provoking.
===
There are nevertheless 2 slots available inwards my online Mean Reversion Strategies workshop scheduled for May.
To land the obvious: backtesting HFstrategies is quite hard. The mass of information is i issue. But inwards addition, the execution details are really of import to such strategies: details such as the exact exchange/venue to which nosotros are routing our orders, the precise land of the companionship mass that triggers our orders, the companionship types nosotros are using, too lastly the probability of getting filled if nosotros run non-marketable orders. Messing upward i of these details too the backtest volition live far from realistic. I oftentimes say people that it is easier to newspaper merchandise a HF strategy than to backtest one. While many of the platforms I reported to a higher house create allow backtesting using tick data, I don't know that they enable backtesting using the amount companionship mass too selection of execution venue. With this background, I am happy to study I bring lately come upward across but such a platform called Lime Strategy Studio.
But i time you lot acquire over these two hurdles, the benefits are manifold. Every special that you lot tin specify for a alive trading strategy tin live specified for the backtest too newspaper trading. As I said, these details may include companionship type, trading venue, land of companionship book, too fifty-fifty statistics of the companionship book, non to advert primal information such equally earnings, corporate actions, too other user-provided information such equally news. Influenza A virus subtype H5N1 fill upward simulator is included for your non-marketable orders. As alongside other IDEs, i time you lot backtested a strategy inwards its every special too are satisfied alongside the surgical operation metrics, you lot tin acquire alive (either for newspaper or production trading) alongside the force of a button.
If whatever reader know of other IDEs that bring similar features too useful for backtesting HF strategies, delight allow us know!
===
Speaking of HF strategies, traders oftentimes lament the ultra-high secrecy some them too the difficulty of gathering noesis inwards this field. Influenza A virus subtype H5N1 friend (hat tip: Dave) referred me to this paper yesteryear Prof. Dragos Bozdog et. al. that gives a flavour of what assort of modeling may live involved. I abide by it really readable too thought-provoking.
===
There are nevertheless 2 slots available inwards my online Mean Reversion Strategies workshop scheduled for May.
Rabu, 09 Mei 2007
Fundamental Factors Revisited, Amongst A Applied Scientific Discipline Update
Contrary to my tradition of alerting readers to novel together with fancypants factors for predicting stock returns (while non necessarily endorsing whatever of them), I study that Lyle together with Wang convey lately published novel interrogation demonstrating the ability of 2 real familiar factors: book-to-market ratio (BM) together with return-on-equity (ROE).
The model is simple: at the terminate of each calendar quarter, compute the log of BM together with ROE for every stock based on the around recent profits announcement, together with regress the next-quarter render against these 2 factors. One subtlety of this regression is that the ingredient loadings (log BM together with ROE) together with the futurity returns for stocks inside an manufacture grouping are pooled together. This makes for a cross-sectional ingredient model, since the ingredient loadings (log BM together with ROE) vary past times stock but the ingredient returns (the regression coefficients) are the same for all stocks inside an manufacture group. (A clear elucidation of cross-sectional vs time-series ingredient models tin terminate hold out institute inward Section 17.5 of Ruppert.) If nosotros long stocks inside the overstep decile of expected returns together with curt the bottom decile together with concur for a quarter, the expected annualized average returns of this model is an eye-popping 26% or so.
I convey tried to replicate these results, but unfortunately I couldn't. (My programme generated a measly, though positive, APR.) The information requirement together with the programme are both quite demanding. I am unable to obtain the sixty quarters of telephone substitution information that the authors recommended - I simply convey 40. I used the 65 manufacture groups defined past times the GIC manufacture classifications, spell the authors used the 48 Fama-French manufacture groups. Finally, I am unsure how to bargain alongside stocks which convey negative mass values or earnings, together with thus I omit those quarterly data. If whatever of our readers are able to replicate these results, delight exercise permit us know.
The authors together with I used Compustat database for the telephone substitution data. If you lot exercise non convey subscription to this database, you lot tin terminate regard a new, free, website called Thinknum.com. This website makes available all information extracted from companies' SEC filings starting inward 2009 (2011 for small-scale caps). There is also a great integration alongside R described here.
*** Update ***
I forgot to betoken out i essential divergence betwixt the method inward the cited newspaper together with my ain effort: the newspaper used the entire stock universe except for stocks cheaper than $1, spell I did my interrogation alone on SP500 stocks (Hat tip to Prof. Lyle who clarified this). This turns out to hold out of major importance: a to-be-published newspaper past times our reader I. Kaplan reached the determination that "Linear models based on value factors exercise non predict futurity returns for the S&P 500 universe for the past times 15 years (from 1998 to 2013)."
===
Speaking of novel trading technology scientific discipline platforms that supply historical information for backtesting (other than Thinknum.com together with the previously mentioned Quantopian.com), hither is roughly other interesting one: QuantGo.com. It provides institutional intraday historical information through its information partners from 1 infinitesimal bars to sum depth of mass inward your ain soul cloud running on Amazon EC2 concern human relationship for a depression monthly rate. They give unlimited access to years of historical information for a monthly information access fee, for examples States equities Trades together with Quotes (TAQ) for an unlimited issue of years are $250 per calendar month of concern human relationship rental, OPRA TAQ $250 permonth together with tagged tidings is $200. Subscribers command together with contend their ain calculator instances, together with thus tin terminate install together with role whatever software they desire on them to backtest or merchandise using the data. The alone hitch is that you lot are non allowed to download the vendor information to your ain computer, it has to remain inward the soul cloud.
===
Follow @chanep to have my occasional tweets on interesting quant trading manufacture tidings together with articles.
===
My online Mean Reversion Strategies Workshop volition hold out offered on Apr 1-3. Please view epchan.com/my-workshops for registration details. Furthermore, I volition hold out instruction my Mean Reversion, Momentum, together with Millisecond Frequency Trading workshops inward London on March 17-21, together with inward Hong Kong on June 17-20.
The model is simple: at the terminate of each calendar quarter, compute the log of BM together with ROE for every stock based on the around recent profits announcement, together with regress the next-quarter render against these 2 factors. One subtlety of this regression is that the ingredient loadings (log BM together with ROE) together with the futurity returns for stocks inside an manufacture grouping are pooled together. This makes for a cross-sectional ingredient model, since the ingredient loadings (log BM together with ROE) vary past times stock but the ingredient returns (the regression coefficients) are the same for all stocks inside an manufacture group. (A clear elucidation of cross-sectional vs time-series ingredient models tin terminate hold out institute inward Section 17.5 of Ruppert.) If nosotros long stocks inside the overstep decile of expected returns together with curt the bottom decile together with concur for a quarter, the expected annualized average returns of this model is an eye-popping 26% or so.
I convey tried to replicate these results, but unfortunately I couldn't. (My programme generated a measly, though positive, APR.) The information requirement together with the programme are both quite demanding. I am unable to obtain the sixty quarters of telephone substitution information that the authors recommended - I simply convey 40. I used the 65 manufacture groups defined past times the GIC manufacture classifications, spell the authors used the 48 Fama-French manufacture groups. Finally, I am unsure how to bargain alongside stocks which convey negative mass values or earnings, together with thus I omit those quarterly data. If whatever of our readers are able to replicate these results, delight exercise permit us know.
The authors together with I used Compustat database for the telephone substitution data. If you lot exercise non convey subscription to this database, you lot tin terminate regard a new, free, website called Thinknum.com. This website makes available all information extracted from companies' SEC filings starting inward 2009 (2011 for small-scale caps). There is also a great integration alongside R described here.
*** Update ***
I forgot to betoken out i essential divergence betwixt the method inward the cited newspaper together with my ain effort: the newspaper used the entire stock universe except for stocks cheaper than $1, spell I did my interrogation alone on SP500 stocks (Hat tip to Prof. Lyle who clarified this). This turns out to hold out of major importance: a to-be-published newspaper past times our reader I. Kaplan reached the determination that "Linear models based on value factors exercise non predict futurity returns for the S&P 500 universe for the past times 15 years (from 1998 to 2013)."
===
Speaking of novel trading technology scientific discipline platforms that supply historical information for backtesting (other than Thinknum.com together with the previously mentioned Quantopian.com), hither is roughly other interesting one: QuantGo.com. It provides institutional intraday historical information through its information partners from 1 infinitesimal bars to sum depth of mass inward your ain soul cloud running on Amazon EC2 concern human relationship for a depression monthly rate. They give unlimited access to years of historical information for a monthly information access fee, for examples States equities Trades together with Quotes (TAQ) for an unlimited issue of years are $250 per calendar month of concern human relationship rental, OPRA TAQ $250 permonth together with tagged tidings is $200. Subscribers command together with contend their ain calculator instances, together with thus tin terminate install together with role whatever software they desire on them to backtest or merchandise using the data. The alone hitch is that you lot are non allowed to download the vendor information to your ain computer, it has to remain inward the soul cloud.
===
Follow @chanep to have my occasional tweets on interesting quant trading manufacture tidings together with articles.
===
My online Mean Reversion Strategies Workshop volition hold out offered on Apr 1-3. Please view epchan.com/my-workshops for registration details. Furthermore, I volition hold out instruction my Mean Reversion, Momentum, together with Millisecond Frequency Trading workshops inward London on March 17-21, together with inward Hong Kong on June 17-20.
Jumat, 04 Mei 2007
Rent, Don’T Buy, Data: Our Sense Amongst Quantgo (Guest Post)
By Roger Hunter
I am a quant researcher too developer for QTS Partners, a commodity puddle Ernie (author of this blog) founded inwards 2011. I assistance Ernie railroad train too implement several strategies inwards the puddle too diverse separate accounts. I wrote this article to give insights into a real of import business office of our strategy evolution process: the pick of information sources.
Our principal query focus is on strategies that monitor execution inwards milliseconds too that handgrip for seconds through several days. For example, a strategy that trades to a greater extent than than i currency yoke simultaneously must ensure that several executions accept house at the correct toll too inside a real curt time. Backtesting requires high character historical intraday quote too trade, preferably tick information for testing. Our initial focus was futures too subsequently looking at diverse vendors for the tick information character too quantity nosotros needed, nosotros chose Nanex information which is aggregated at 25ms. This means, for example, that attacker flags are non available. We purchased several years of futures information too laid to work.
Earlier this twelvemonth nosotros needed to update our information too discovered that Nanex prices had increased significantly. We besides needed quotes too trades, too information for to a greater extent than property classes including U.S.A. equities too options.
We looked at TickData.com which has expert information but is real expensive too y'all pay up-front per symbol. There are other services similar Barchartondemand.com too XIgnite.com where y'all pay based on your monthly usage (number of information requests made) which is a model nosotros produce non like. We ended upward choosing QuantGo.com, where y'all direct maintain unlimited access to years of global tick or bar information for a fixed monthly subscription fee per information service.
On QuantGo, y'all acquire figurer instances inwards your ain secure too private cloud built on Amazon AWS amongst on-demand access to a broad arrive at of global intraday tick or bar information from multiple information vendors. Since y'all ain too grapple the figurer instances y'all tin terminate direct whatsoever operating system, install whatsoever software, access the cyberspace or import your ain data. With QuantGo the master vendor information must rest inwards the cloud but y'all tin terminate download your results, this allows QuantGo to rent access to years of information at affordable monthly prices.
All of the information nosotros direct maintain used thence far is from AlgoSeek (one of QuantGo’s information vendors). This information is survivorship bias-free too is just equally provided past times the exchanges at the time. Futures quotes too trades download real speedily on the system. I am testing options strategies, which is challenging due to the size of the data. The information is downloaded inwards highly compressed shape which is thence expanded (by QuantGo) to a somewhat verbose text form. Before the toll split, a twenty-four hours of choice quotes too trades for AAPL was typically 100GB inwards this form. Here is a information sample from the amount Options (OPRA) data:
Timestamp, EventType, Ticker, OptionDetail, Price, Quantity, Exchange, Conditions
08:30:02.493, NO_QUOTE BID NB, LLEN, PUT at 7.0000 on 2013-12-21, 0.0000, 0, BATS, F
08:30:02.493, NO_QUOTE ASK, LLEN, CALL at 7.0000 on 2013-12-21, 0.0000, 0, BATS, F
09:30:00.500, ROTATION ASK, LLEN, PUT at 2.0000 on 2013-07-20, 0.2500, 15, ARCA, R
09:30:00.500, ROTATION BID, LLEN, PUT at 2.0000 on 2013-07-20, 0.0000, 0, ARCA, R
09:30:00.507, FIRM_QUOTE ASK NB, LLEN, PUT at 5.0000 on 2013-08-17, 5.0000, 7, BATS, A
09:30:00.508, FIRM_QUOTE BID NB, LLEN, PUT at 6.0000 on 2013-08-17, 0.2000, 7, BATS, A
These I convert to a to a greater extent than compact format, too filter out lines nosotros don't demand (e.g. NO_QUOTE, non-firm, etc.)
The character of the AlgoSeek information seems to live high. One examine I direct maintain performed is to tape alive information too compare it amongst AlgoSeek. This is possible because the AlgoSeek historical information is forthwith updated daily, too is i twenty-four hours behind for all except options, which varies from 2 days to 5 (they are striving for two, but the procedure involves uploading all options information to exceptional servers --- a pregnant task). Another examine is done using OptionNET Explorer (ONE). ONE information is at 5-minute intervals too the software displays midpoints only. However, past times executing historical trades, y'all tin terminate run into the bid too inquire values for options at these 5-minute boundaries. I direct maintain checked 20 of these against the AlgoSeek information too institute exact understanding inwards every case. In whatsoever event, y'all are gratuitous to contact the information vendors direct to larn to a greater extent than virtually their products. The lastly examine of information character (and of our marketplace model) is the comparing of alive trading results (at i contract/spread level) amongst backtests over the same period.
The information offerings direct maintain latterly expanded dramatically amongst to a greater extent than information partners too forthwith include historical information from (QuantGo claims) "every telephone commutation inwards the world". I haven't verified this, but the add-on of elementized, tagged too scored intelligence from Acquire Media, for example, volition permit us to backtest strategies of the type discussed inwards Ernie's latest book.
So far, nosotros similar the system. For us, the positives are:
1. Affordable Prices. The argue that the toll has been kept relatively depression is that master vendor information must live kept too used inwards the QuantGo cloud. For example, to access years of U.S.A. information nosotros direct maintain been paying
Five years of U.S.A. Equities Trades too Quotes (“TAQ”) is $250 per month
Five years of U.S.A. Equities 5 infinitesimal Bars $75 per month
Three Years of U.S.A. Options 1 infinitesimal bars $100 per month.
Three Year of CME, CBOT, NYMEX Futures Trades too Quotes $250 per month
2. Free Sample Data. Each information service has gratuitous demonstrate information which is actual existent historical information where I tin terminate select information from the demonstrate engagement range. This allowed me to sentiment too move amongst the information earlier subscribing.
3. One API. I direct maintain i API to access dissimilar information vendors. QuantGo gives me a coffee GUI, python CLI too diverse libraries (R, Matlab, Java).
4. On-Demand. The mightiness to select the information nosotros desire "on demand" via a subscription from a website console at whatsoever time. You tin terminate select information for whatsoever symbol too for simply a twenty-four hours or for several years.
5. Platform non proprietary. We tin terminate purpose whatsoever operating organisation or software amongst the information equally it is beingness downloaded to virtual computers nosotros fully command too manage.
Because all this is done inwards the cloud, nosotros direct maintain to pay for our cloud figurer usage equally well. While cloud usage is continuing to drib rapidly inwards toll it is nonetheless a variable cost too it needs to monitored. QuantGo does render or thence real-time billing estimates too alarms y'all tin terminate preset at dollar values.
I was at starting fourth dimension skeptical of the restriction of non beingness able to download the information vendor’s tick or bar data, but thence far this hasn't been an number equally inwards do nosotros exclusively demand the results too our derived information sets. I'm told that if y'all desire to purchase the information for your ain computers, y'all tin terminate negotiate direct amongst the private information vendor too volition acquire a discount if y'all direct maintain been using it for a land on QuantGo.
As nosotros purpose the windows operating organisation nosotros access our cloud computers amongst Remote Desktop too at that spot direct maintain been some latency issues, but these are tolerable. On the other hand, it is a large payoff to live able to start amongst a relatively modest virtual car for initial coding too debugging, thence "dial up" a much larger car (or grouping of machines) when y'all desire to run many compute too information intensive backtests. While QuantGo is latterly launched too is non perfect, it does opened upward up the the world of the highest institutional character information to those of us who produce non direct maintain the information budget of a Renaissance Technologies or D.E. Shaw.
===
Industry Update
(No endorsement of companies or products is implied past times our mention.)
My side past times side online Quantitative Momentum Strategies workshop volition live held on Dec 2-4. Any reader interested inwards futures trading in full general would produce goodness from this course.
===
Managed Account Program Update
Our FX Managed Account plan had an unusually profitable calendar month inwards October.
===
Follow me on Twitter: @chanep
I am a quant researcher too developer for QTS Partners, a commodity puddle Ernie (author of this blog) founded inwards 2011. I assistance Ernie railroad train too implement several strategies inwards the puddle too diverse separate accounts. I wrote this article to give insights into a real of import business office of our strategy evolution process: the pick of information sources.
Our principal query focus is on strategies that monitor execution inwards milliseconds too that handgrip for seconds through several days. For example, a strategy that trades to a greater extent than than i currency yoke simultaneously must ensure that several executions accept house at the correct toll too inside a real curt time. Backtesting requires high character historical intraday quote too trade, preferably tick information for testing. Our initial focus was futures too subsequently looking at diverse vendors for the tick information character too quantity nosotros needed, nosotros chose Nanex information which is aggregated at 25ms. This means, for example, that attacker flags are non available. We purchased several years of futures information too laid to work.
Earlier this twelvemonth nosotros needed to update our information too discovered that Nanex prices had increased significantly. We besides needed quotes too trades, too information for to a greater extent than property classes including U.S.A. equities too options.
We looked at TickData.com which has expert information but is real expensive too y'all pay up-front per symbol. There are other services similar Barchartondemand.com too XIgnite.com where y'all pay based on your monthly usage (number of information requests made) which is a model nosotros produce non like. We ended upward choosing QuantGo.com, where y'all direct maintain unlimited access to years of global tick or bar information for a fixed monthly subscription fee per information service.
On QuantGo, y'all acquire figurer instances inwards your ain secure too private cloud built on Amazon AWS amongst on-demand access to a broad arrive at of global intraday tick or bar information from multiple information vendors. Since y'all ain too grapple the figurer instances y'all tin terminate direct whatsoever operating system, install whatsoever software, access the cyberspace or import your ain data. With QuantGo the master vendor information must rest inwards the cloud but y'all tin terminate download your results, this allows QuantGo to rent access to years of information at affordable monthly prices.
All of the information nosotros direct maintain used thence far is from AlgoSeek (one of QuantGo’s information vendors). This information is survivorship bias-free too is just equally provided past times the exchanges at the time. Futures quotes too trades download real speedily on the system. I am testing options strategies, which is challenging due to the size of the data. The information is downloaded inwards highly compressed shape which is thence expanded (by QuantGo) to a somewhat verbose text form. Before the toll split, a twenty-four hours of choice quotes too trades for AAPL was typically 100GB inwards this form. Here is a information sample from the amount Options (OPRA) data:
Timestamp, EventType, Ticker, OptionDetail, Price, Quantity, Exchange, Conditions
08:30:02.493, NO_QUOTE BID NB, LLEN, PUT at 7.0000 on 2013-12-21, 0.0000, 0, BATS, F
08:30:02.493, NO_QUOTE ASK, LLEN, CALL at 7.0000 on 2013-12-21, 0.0000, 0, BATS, F
09:30:00.500, ROTATION ASK, LLEN, PUT at 2.0000 on 2013-07-20, 0.2500, 15, ARCA, R
09:30:00.500, ROTATION BID, LLEN, PUT at 2.0000 on 2013-07-20, 0.0000, 0, ARCA, R
09:30:00.507, FIRM_QUOTE ASK NB, LLEN, PUT at 5.0000 on 2013-08-17, 5.0000, 7, BATS, A
09:30:00.508, FIRM_QUOTE BID NB, LLEN, PUT at 6.0000 on 2013-08-17, 0.2000, 7, BATS, A
These I convert to a to a greater extent than compact format, too filter out lines nosotros don't demand (e.g. NO_QUOTE, non-firm, etc.)
The character of the AlgoSeek information seems to live high. One examine I direct maintain performed is to tape alive information too compare it amongst AlgoSeek. This is possible because the AlgoSeek historical information is forthwith updated daily, too is i twenty-four hours behind for all except options, which varies from 2 days to 5 (they are striving for two, but the procedure involves uploading all options information to exceptional servers --- a pregnant task). Another examine is done using OptionNET Explorer (ONE). ONE information is at 5-minute intervals too the software displays midpoints only. However, past times executing historical trades, y'all tin terminate run into the bid too inquire values for options at these 5-minute boundaries. I direct maintain checked 20 of these against the AlgoSeek information too institute exact understanding inwards every case. In whatsoever event, y'all are gratuitous to contact the information vendors direct to larn to a greater extent than virtually their products. The lastly examine of information character (and of our marketplace model) is the comparing of alive trading results (at i contract/spread level) amongst backtests over the same period.
The information offerings direct maintain latterly expanded dramatically amongst to a greater extent than information partners too forthwith include historical information from (QuantGo claims) "every telephone commutation inwards the world". I haven't verified this, but the add-on of elementized, tagged too scored intelligence from Acquire Media, for example, volition permit us to backtest strategies of the type discussed inwards Ernie's latest book.
So far, nosotros similar the system. For us, the positives are:
1. Affordable Prices. The argue that the toll has been kept relatively depression is that master vendor information must live kept too used inwards the QuantGo cloud. For example, to access years of U.S.A. information nosotros direct maintain been paying
Five years of U.S.A. Equities Trades too Quotes (“TAQ”) is $250 per month
Five years of U.S.A. Equities 5 infinitesimal Bars $75 per month
Three Years of U.S.A. Options 1 infinitesimal bars $100 per month.
Three Year of CME, CBOT, NYMEX Futures Trades too Quotes $250 per month
2. Free Sample Data. Each information service has gratuitous demonstrate information which is actual existent historical information where I tin terminate select information from the demonstrate engagement range. This allowed me to sentiment too move amongst the information earlier subscribing.
3. One API. I direct maintain i API to access dissimilar information vendors. QuantGo gives me a coffee GUI, python CLI too diverse libraries (R, Matlab, Java).
4. On-Demand. The mightiness to select the information nosotros desire "on demand" via a subscription from a website console at whatsoever time. You tin terminate select information for whatsoever symbol too for simply a twenty-four hours or for several years.
5. Platform non proprietary. We tin terminate purpose whatsoever operating organisation or software amongst the information equally it is beingness downloaded to virtual computers nosotros fully command too manage.
Because all this is done inwards the cloud, nosotros direct maintain to pay for our cloud figurer usage equally well. While cloud usage is continuing to drib rapidly inwards toll it is nonetheless a variable cost too it needs to monitored. QuantGo does render or thence real-time billing estimates too alarms y'all tin terminate preset at dollar values.
I was at starting fourth dimension skeptical of the restriction of non beingness able to download the information vendor’s tick or bar data, but thence far this hasn't been an number equally inwards do nosotros exclusively demand the results too our derived information sets. I'm told that if y'all desire to purchase the information for your ain computers, y'all tin terminate negotiate direct amongst the private information vendor too volition acquire a discount if y'all direct maintain been using it for a land on QuantGo.
As nosotros purpose the windows operating organisation nosotros access our cloud computers amongst Remote Desktop too at that spot direct maintain been some latency issues, but these are tolerable. On the other hand, it is a large payoff to live able to start amongst a relatively modest virtual car for initial coding too debugging, thence "dial up" a much larger car (or grouping of machines) when y'all desire to run many compute too information intensive backtests. While QuantGo is latterly launched too is non perfect, it does opened upward up the the world of the highest institutional character information to those of us who produce non direct maintain the information budget of a Renaissance Technologies or D.E. Shaw.
===
Industry Update
(No endorsement of companies or products is implied past times our mention.)
- A novel site for jobs inwards finance was latterly launched: www.financejobs.co.
- A novel software package Geode by Georgica Software tin terminate backtest tick data, too comes amongst a fairly rudimentary fill upward simulator.
- Quantopian.com forthwith incorporates a new IPython based query surround that allows interactive information analysis using infinitesimal grade pricing information inwards Python.
Workshops Update
My side past times side online Quantitative Momentum Strategies workshop volition live held on Dec 2-4. Any reader interested inwards futures trading in full general would produce goodness from this course.
===
Managed Account Program Update
Our FX Managed Account plan had an unusually profitable calendar month inwards October.
===
Follow me on Twitter: @chanep
Langganan:
Postingan (Atom)