-
-
Notifications
You must be signed in to change notification settings - Fork 2
Google Sheets Quote Sources
Use the following source parameters to update quote data from a Google Sheets spreadsheet containing values provided by the GOOGLEFINANCE security information function:
spreadsheetID range
For example, the following source parameters will update quote data using the msmquote sample Google Sheets spreadsheet as the source:
1ZKAT1tqY5dPTeEoAiRMwKPsET3xresyFZiDUtsyy-io sample!B1:Q17
You should copy the sample spreadsheet to your own Google Drive and modify as required. You must retain the column header names as in the sample spreadsheet but rows can be changed, added or deleted as necessary.
Use the following source parameters to update historical quote data for a single security with quote data from a Google Sheets spreadsheet containing values provided by the GOOGLEFINANCE security information function:
spreadsheetID "range"
The sheet name within the range parameter must be in the format "hist symbol currency quotetype", where:
-
histis a fixed string; -
symbolmatches the symbol in your Money file that you wish to update; -
currencyis the currency of the quote data; -
quotetypeis the quote type, currently one ofEQUITY,ETF,BOND,INDEXorMUTUALFUND.
For example, the following source parameters will update historical quote data for the equity symbol TSCO.L using the msmquote sample Google Sheets spreadsheet as the source:
1ZKAT1tqY5dPTeEoAiRMwKPsET3xresyFZiDUtsyy-io "hist TSCO.L GBX EQUITY!C1:D124"
You should copy the sample spreadsheet to your own Google Drive and modify as required. You must retain the column header names as in the sample spreadsheet but rows can be changed, added or deleted as necessary.
The spreadsheetID parameter can be found within the Google Sheets URL of the source spreadsheet as follows:
https://docs.google.com/spreadsheets/d/spreadsheetID/edit#gid=0
When you run msmquote for the first time with a Google Sheets spreadsheet as a quote source you will be prompted to authorise access to your Google Sheets spreadsheets. A browser window will open automatically and you will be prompted as follows:
-
Choose the Google account that you wish msmquote to be authorised to access
-
As msmquote is currently unverified by Google you will receive this message:
Google hasn't verified this app
From this page click Advanced and then Go to msmquote (unsafe)
-
Finally you will receive the message
msmquote wants access to your Google Account
From this page click continue.