PINE LIBRARY
ที่อัปเดต: NetLiquidityLibrary

Library "NetLiquidityLibrary"
The Net Liquidity Library provides daily values for net liquidity. Net liquidity is measured as Fed Balance Sheet - Treasury General Account - Reverse Repo. Time series for each individual component included too.
get_net_liquidity_for_date(t)
Function takes date in timestamp form and returns the Net Liquidity value for that date. If date is not present, 0 is returned.
Parameters:
t: The timestamp of the date you are requesting the Net Liquidity value for.
Returns: The Net Liquidity value for the specified date.
get_net_liquidity()
Gets the Net Liquidity time series from Dec. 2021 to current. Dates that are not present are represented as 0.
Returns: The Net Liquidity time series.
The Net Liquidity Library provides daily values for net liquidity. Net liquidity is measured as Fed Balance Sheet - Treasury General Account - Reverse Repo. Time series for each individual component included too.
get_net_liquidity_for_date(t)
Function takes date in timestamp form and returns the Net Liquidity value for that date. If date is not present, 0 is returned.
Parameters:
t: The timestamp of the date you are requesting the Net Liquidity value for.
Returns: The Net Liquidity value for the specified date.
get_net_liquidity()
Gets the Net Liquidity time series from Dec. 2021 to current. Dates that are not present are represented as 0.
Returns: The Net Liquidity time series.
เอกสารเผยแพร่
v2 - Return na for dates that don't have a valueเอกสารเผยแพร่
v3Update documentation
เอกสารเผยแพร่
v4Experimenting with switch statement
เอกสารเผยแพร่
v5Update to switch statement
Removed:
get_net_liquidity_for_date(t)
Function takes date in timestamp form and returns the Net Liquidity value for that date. If date is not present, na is returned.
เอกสารเผยแพร่
v6Add TGA time series
Added:
get_tga()
Gets the Treasury General Account time series from Dec. 2021 to current. Dates that are not present are represented as 0.
Returns: The Treasury General Account time series.
เอกสารเผยแพร่
v7Updated:
get_net_liquidity(component)
Gets the Net Liquidity time series from Dec. 2021 to current. Dates that are not present are represented as na.
Parameters:
component: The component of the Net Liquidity function to return. Possible values: 'fed', 'tga', and 'rrp'. (`Net Liquidity` is returned if no argument is supplied).
Returns: The Net Liquidity time series or a component of the Net Liquidity function.
Removed:
get_tga()
Gets the Treasury General Account time series from Dec. 2021 to current. Dates that are not present are represented as 0.
เอกสารเผยแพร่
v8Update to retrieve values for trailing 250 trading days
เอกสารเผยแพร่
v9Update for 11/11/2022
เอกสารเผยแพร่
v1011/14/2022 Update
Added:
get_sm_metric(The)
Gets either the DIX or GEX time series for the last 250 trading days. Dates that are not present are represented as na.
Parameters:
The: metric to return. Possible values: 'dix' and 'gex'. (`DIX` is returned if no argument is supplied).
Returns: The specified SqueezeMetrics time series.
เอกสารเผยแพร่
v1111/15/2022 Update
เอกสารเผยแพร่
v1211/16/2022 update
เอกสารเผยแพร่
v1311/16/2022 Update #2
เอกสารเผยแพร่
v1411/17/2022 Update
เอกสารเผยแพร่
v1511/18/2022 Update
เอกสารเผยแพร่
v1611/21/2022 update
เอกสารเผยแพร่
v1711/22/2022 update
เอกสารเผยแพร่
v1811/23/2022 update
เอกสารเผยแพร่
v1911/25/2022 update
เอกสารเผยแพร่
v2011/28/2022 update
เอกสารเผยแพร่
v2111/29/2022 update
เอกสารเผยแพร่
v2211/30/2022 update
เอกสารเผยแพร่
v2312/1/2022 update
เอกสารเผยแพร่
v2612/2/2022 update
เอกสารเผยแพร่
v2712/5/2022 update
เอกสารเผยแพร่
v2812/6/2022
เอกสารเผยแพร่
v2912/7/2022 update
เอกสารเผยแพร่
v3012/8/2022 update
เอกสารเผยแพร่
v3112/9/2022 update
เอกสารเผยแพร่
v3212/12/2022 update
เอกสารเผยแพร่
v3312/13/2022 update
เอกสารเผยแพร่
v3412/14/2022 update
เอกสารเผยแพร่
v3512/16/2022 update
เอกสารเผยแพร่
v3612/20/2022 update
เอกสารเผยแพร่
v3712/28/2022 update
เอกสารเผยแพร่
v3812/30/2022 update
เอกสารเผยแพร่
v39Updated to provide the trailing 400 trading days
Removed:
get_sm_metric(component)
Gets either the DIX or GEX time series for the last 250 trading days. Dates that are not present are represented as na.
เอกสารเผยแพร่
v40Testing
เอกสารเผยแพร่
v41Testing 2
เอกสารเผยแพร่
v421/18/2018 update
Now includes trailing 400 trading days
เอกสารเผยแพร่
v431/19/2023 update
เอกสารเผยแพร่
v441/20/2023 update
เอกสารเผยแพร่
v451/23/2023 update
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน