Skip to content

Commit

Permalink
update EODHistoricalData.com -> eodhd.com
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Aug 31, 2023
1 parent fdc1546 commit 7c8bfc9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Pages/FAQ.razor
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ See <a href="/updating-portfolio">3 ways to update portfolios</a>.</p>
<li>You can delete each profile's data at any point via the "del" command in <a href="/profiles">/profiles</a></li>
<li>You can send a copy of a profile and its data to another device via the "CopyTo..." command in <a href="/profiles">/profiles</a></li>
<li>
If you choose to have the site <a href=/updating-portfolio>update stock/etf/fund prices via EODHistoricalData.com</a>, your API key and stock ticker list will be sent to api.bogle.tools.
api.bogle.tools will make the request to EODHistoricalData.com on your behalf.
If you choose to have the site <a href=/updating-portfolio>update stock/etf/fund prices via eodhd.com</a>, your API key and stock ticker list will be sent to api.bogle.tools.
api.bogle.tools will make the request to eodhd.com on your behalf.
bogle.tools and api.bogle.tools servers won't store your API key or stock tickers in any way.
See <a target=_new href=https://eodhistoricaldata.com/financial-apis/privacy-policy>EODHistoricalData.com's privacy policy</a>↗️.
See <a target=_new href=https://eodhd.com/financial-apis/privacy-policy>eodhd.com's privacy policy</a>↗️.
</li>
</ul>
</p>
Expand Down
10 changes: 5 additions & 5 deletions Pages/Updating-portfolio.razor
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,18 @@
</p>

<p><b>bogle.tools Can Update</b><br/>
If you provide an <a target=_new href="https://eodhistoricaldata.com?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle">EODHistoricalData.com</a>
If you provide an <a target=_new href="https://eodhd.com?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle">eodhd.com</a>
↗️ API key, bogle.tools can use it to get 15min delayed quotes whenever you ask. Bogle.tools will attempt to update investment and RSU grant prices.
<ol>
<li>
<a href="https://eodhistoricaldata.com/register?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle" target=_new>Register</a>↗️
for free account for updated quotes at <a target=_new href="https://eodhistoricaldata.com?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle">EODHistoricalData.com</a>↗️. You will receive a short code (called an API key) via email.
<a href="https://eodhd.com/register?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle" target=_new>Register</a>↗️
for free account for updated quotes at <a target=_new href="https://eodhd.com?utm_source=bogle_tool&utm_medium=app&utm_campaign=friendly_bogle">EODHD.com</a>↗️. You will receive a short code (called an API key) via email.
That API key will enable 20 free quotes a day. (When you need more, $5 buys 100,000 quotes.)
</li>
<li>To enable app to use, enter here:</li>
<li>To enable app to use, enter the API Key here, and then navigate back to pages you'd like to use in the site:</li>
<label>API key:</label> <input type=text @bind-Value=appData.EODHistoricalDataApiKey @bind-Value:event=oninput placeholder='apikey' />
</ol>
<p>Note: these links to EODHistoricalData.com, let EODHistoricalData.com that bogle.tools sent you to them. They track how many users are from bogle.tools. Feel free to navigate to their site without using these links if this concerns you in any way.</p>
<p>Note: these links to eodhd.com, let eodhd.com know that bogle.tools sent you to them. They track how many users are from bogle.tools. Feel free to navigate to their site without using these links if this concerns you in any way.</p>
</p>
<p></p>
}
Expand Down
2 changes: 1 addition & 1 deletion api/GetQuotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task<IActionResult> Run(
ticker = ticker ?? data?.ticker;
apikey = apikey ?? data?.apikey;

string url = $"https://eodhistoricaldata.com/api/real-time/{ticker}?fmt=json&api_token={apikey}";
string url = $"https://eodhd.com/api/real-time/{ticker}?fmt=json&api_token={apikey}";
var httpClient = new HttpClient();
try {
var quoteDataJson = await httpClient.GetStringAsync(url);
Expand Down
2 changes: 1 addition & 1 deletion api/SearchTicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task<IActionResult> Run(
ticker = ticker ?? data?.ticker;
apikey = apikey ?? data?.apikey;

string url = $"https://eodhistoricaldata.com/api/search/{ticker}?api_token={apikey}";
string url = $"https://eodhd.com/api/search/{ticker}?api_token={apikey}";
var httpClient = new HttpClient();
try {
var quoteDataJson = await httpClient.GetStringAsync(url);
Expand Down

0 comments on commit 7c8bfc9

Please sign in to comment.