Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS issue #2

Open
davidpr opened this issue Jan 12, 2023 · 5 comments
Open

macOS issue #2

davidpr opened this issue Jan 12, 2023 · 5 comments

Comments

@davidpr
Copy link

davidpr commented Jan 12, 2023

I've run it on macOS by installing powershell and using pwsh command in terminal, but there's an error arising:

ParserError: /Users/david/Documents/marketsScripts/net-liquidity.ps1:209
Line |
209 | … t="true" class="Header-link js-details-target btn-link"> <svg aria …
| ~
| The '<' operator is reserved for future use.

@dharmatech
Copy link
Owner

Hey @davidpr!

Thanks for testing it out.

Open the file and take a look at it. It sounds like maybe an HTML page somehow got downloaded instead of the PowerShell script.

See the instructions here for downloading the script:

https://github.com/dharmatech/net-liquidity.ps1#downloading-the-script

Let me know how it goes.

@davidpr
Copy link
Author

davidpr commented Jan 12, 2023

yes, it was that. I just copied the code with the raw option. It's a very good piece of work.

I was thinking that the model captures well the SP500 movement. However, buying low doesn't warranty the the index not going more down as a result of quantitative tightening. It would be great to anticipate or at least try to anticipate to a QT for example and potentially price that also. Is there any way to include those data?

@dharmatech
Copy link
Owner

Glad you got it sorted out!

@dharmatech
Copy link
Owner

As far as anticipating QT, John Comiskey had been publishing the weekly QT projection. So you could factor that in.

Until QT policy changes, you can count on $60B drop in USTS per month. The MBS drop has had been variable.

https://twitter.com/Johncomiskey77/status/1612937600485974018?t=lIDABCckuHrxjr3TYlzrfg&s=19

@davidpr
Copy link
Author

davidpr commented Jan 13, 2023

I see the posts of how the balance sheets works here: https://johncomiskey.substack.com/ It's a bit complex but the point would be to automate a prediction for let's say next 3 months. The automation would include also some reliable source to know the rate of QE/QT but as fas as I've been checking it seems not to be something it's disclosed very precisely in the FOMC meetings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants