Click here to Login





                                                   Daily Beta Intraday

  0

0
Jason
2017-01-03 12:52:15


Hi,

Trying to be able to view the daily beta value but within an intraday chart/watchlist. With daily data it is:

Stock_Beta = beta(close, GetSeries('SPY', Close), 100);

But I cannot use GetSeries within TimeframeDecompress and TimeframeApply and instead I'm using TimeframeGetSeries1 to get the SPY time series. But I'm struggling with how to use TimeFrameApply and TimeFrameDecompress to get the 100 day beta while using TimeframeGetSeries1 . Can you please provide an example?

Thanks much.



QuantShare
2017-01-04 04:56:49

  0

Please try this:

spy = timeframecompress(TimeframeGetSeries1("SPY",1,close,LastData,1));
current = timeframecompress(TimeframeGetSeries1(name(),1,close,LastData,1));
bet = beta(current, spy, 100);
bet = timeframedecompress(bet);
plot(bet, "");



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
    To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










    QuantShare

    Trading Items
    Intraday Trading System with Daily Ranking
    Daily Historical Data - Alphavantage
    Intraday Historical Data - Alphavantage
    Intraday Data for Major Stock Exchanges
    NYSE Up-Down Volume Ratio - Historical & Intraday

    How-to Lessons
    How to speed up watchlist and screener plug-ins when working with...
    How to plot two different time frames in the same chart
    How to download new quotes when selecting a chart
    How to install the previous version of QuantShare
    How to display notes/commentaries on a chart

    Related Forum Threads
    Access intraday data while working on daily chart
    MM script: getting Daily prices of index from Intraday Interval
    Add daily values to intraday scan
    Adv. Money Management & Intraday data
    Loading Intraday Data

    Blog Posts
    Backtesting trading strategies using intraday data
    Day Trading: A trading system that combines intraday and EOD data
    How to Backtest an Intraday Stock Trading System with EOD Ranking
    Using Average True Range to Measure Intraday Volatility
    How to Adjust the Time Displayed in your Intraday Charts









    QuantShare
    Product
    QuantShare
    Features
    Create an account
    Affiliate Program
    Support
    Contact Us
    Trading Forum
    How-to Lessons
    Manual
    Company
    About Us
    Privacy
    Terms of Use

    Copyright © 2025 QuantShare.com
    Social Media
    Follow us on Facebook
    Twitter Follow us on Twitter
    Google+
    Follow us on Google+
    RSS Trading Items



    Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.