<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CkINSX09eCp7ImA9WhRRFEk.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002</id><updated>2011-11-28T08:36:38.360+08:00</updated><category term="函數資料" /><category term="程式交易" /><category term="心情記事" /><category term="精選文集" /><category term="寶典總匯" /><category term="影音分享" /><category term="指標程式" /><category term="[C#]Performance" /><category term="當沖程式" /><category term="[Linux][Ubuntu]11.04" /><category term="學業日誌" /><category term="趣聞分享" /><category term="交易軟體" /><category term="函數程式" /><title>小達人 - 程式生活</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://chunikuo.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>178</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/chunikuo" /><feedburner:info uri="chunikuo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0YCRXoyeip7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-2415343807482667384</id><published>2011-10-04T15:44:00.000+08:00</published><updated>2011-10-04T15:59:24.492+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T15:59:24.492+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[Linux][Ubuntu]11.04" /><title>[Ubuntu] 安裝 Sun Java 6 (JRE/JDK)</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/2415343807482667384/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/10/ubuntu-sun-java-6-jrejdk.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2415343807482667384?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2415343807482667384?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/h1zG1I7zg48/ubuntu-sun-java-6-jrejdk.html" title="[Ubuntu] 安裝 Sun Java 6 (JRE/JDK)" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mPZSbszaMTOf3NEhd5FM0lJVNU8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mPZSbszaMTOf3NEhd5FM0lJVNU8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mPZSbszaMTOf3NEhd5FM0lJVNU8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mPZSbszaMTOf3NEhd5FM0lJVNU8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;在終端機的畫面執行下面的指令


sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-bin


 
若無 add-apt-repository 則需先執行

sudo apt-get install python-software-properties


安裝 JRE (Java Runtime Environment)

sudo apt-get install sun-java6-jre sun-java6-plugin

安裝 JDK (Java Development Kit)
sudo apt-get install sun-java6-jdk

 
&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/h1zG1I7zg48" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/10/ubuntu-sun-java-6-jrejdk.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YARX86fSp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-6572590375655016633</id><published>2011-09-28T15:41:00.000+08:00</published><updated>2011-10-04T15:59:04.115+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T15:59:04.115+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 用 checked 來避免溢位</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/6572590375655016633/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-checked.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6572590375655016633?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6572590375655016633?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/TvJk-3ssp9c/c-checked.html" title="[C#] 用 checked 來避免溢位" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XU5b9qF_Rn9PRN3G2fxmINAbo7U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XU5b9qF_Rn9PRN3G2fxmINAbo7U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XU5b9qF_Rn9PRN3G2fxmINAbo7U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XU5b9qF_Rn9PRN3G2fxmINAbo7U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;當進行強制轉換時，容易因為長短不同而造成溢位（overflow）

// Bad 
short shortNum;
int i = 32768;
shortNum = (short) i; 
// problem after statment excution
// the shortNum variable has an uninitialized value,


// Good
try {
  shortNum = checked((short)i); // solution 
}
catch(OverflowException efx) {}
&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/TvJk-3ssp9c" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-checked.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YDRX08cCp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-7589698990097749185</id><published>2011-09-28T15:27:00.002+08:00</published><updated>2011-10-04T15:59:34.378+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T15:59:34.378+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 用 as 取代強制型態轉換</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/7589698990097749185/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-as.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/7589698990097749185?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/7589698990097749185?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/bPzFh_y5sic/c-as.html" title="[C#] 用 as 取代強制型態轉換" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><georss:featurename>Taiwan</georss:featurename><georss:point>23.69781 120.960515</georss:point><georss:box>19.977947 115.906804 27.417673 126.01422600000001</georss:box><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6SkNvGy62EmFW31Hjot5nl5Cvtc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SkNvGy62EmFW31Hjot5nl5Cvtc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6SkNvGy62EmFW31Hjot5nl5Cvtc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SkNvGy62EmFW31Hjot5nl5Cvtc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;as 並不會回傳 exception，當無法轉換時會回傳 null


// Bad 
object o = 1.3; 
try
{
  string str = (string)o; 
} 
catch(InvalidCastException ex){...}

// Good
string str = o as string;
if(null != str){...}
&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/bPzFh_y5sic" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UGRXY4fCp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-2454033264711146285</id><published>2011-09-28T13:31:00.005+08:00</published><updated>2011-10-04T16:00:24.834+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T16:00:24.834+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 善用 foreach 與 for</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/2454033264711146285/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-foreach-for.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2454033264711146285?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2454033264711146285?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/mN3FxYz4yP4/c-foreach-for.html" title="[C#] 善用 foreach 與 for" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7s9qsIc4Jy8jPkkB2YhjzXSOGts/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7s9qsIc4Jy8jPkkB2YhjzXSOGts/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7s9qsIc4Jy8jPkkB2YhjzXSOGts/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7s9qsIc4Jy8jPkkB2YhjzXSOGts/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;foreach 和 for 具有相同的目標：在一個區塊內反覆執行。
主要的不同點在於 foreach 不需要處理結束回圈的條件，此外，foreach 主要是設計於找尋全部的的資料，因此 foreach 可以是 for 方法中的一個例子。
在 .NET 1.0 之前 foreach 的效率較差，在 .NET 1.1 之後 foreach 與 for 效能差不多，但是MSDN的建議：對於處理大量的資料下 for 的效能會比 foreach 來的好。


// foreach 
int[] arrayOfInts= new int[5]; 
int sum= 0;
foreach(int i arrayOfInts)
{
sum+= i;
}

// for
int[] arrayOfInts= new int[5];
int sum= 0;
for(int i = 0; i &amp;lt; &lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/mN3FxYz4yP4" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-foreach-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UFSX8-cSp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-2899231140960992615</id><published>2011-09-28T10:51:00.001+08:00</published><updated>2011-10-04T16:00:18.159+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T16:00:18.159+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 用 nGen.exe 來提升初始化效能</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/2899231140960992615/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-ngenexe.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2899231140960992615?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/2899231140960992615?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/VLKPWh5BE4Q/c-ngenexe.html" title="[C#] 用 nGen.exe 來提升初始化效能" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BSMEsvStImPFR-PoLur2wi9Iigw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BSMEsvStImPFR-PoLur2wi9Iigw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BSMEsvStImPFR-PoLur2wi9Iigw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BSMEsvStImPFR-PoLur2wi9Iigw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;
一般來說，Managed 可執行檔內的方法都會經過 Just-In-Time  (JIT) 編譯。而一旦有了執行執行檔的處理序之後，JIT  編譯器所產生的機器碼就被棄置，所以下回再度執行應用程式時，就必須再次編譯方法。此外，所產生的程式碼和建立它的處理序之間關係緊密，其他執行同一個應 用程式的處理序並無法共用這些程式碼。
上述這些 .NET JIT 的編譯特色可能會導致效能方面的缺失，不過幸好有 NGen (原生影像產生)，有助問題的化解。NGen 指的是將 Microsoft® Intermediate Language (MSIL) 可執行檔在執行前先行編譯成機器碼的這個過程，如此能在兩方面大幅提昇效能。首先，這樣可縮減應用程式的啟動時間，避免在執行階段編譯程式碼；其次，它可以改善記憶體的使用，允許跨多個處理序共用字碼頁。
乍看之下，NGen  似乎跟傳統的靜態末端編譯十分類似，&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/VLKPWh5BE4Q" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-ngenexe.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UFQHs7eCp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-8040228617312357785</id><published>2011-09-28T01:59:00.004+08:00</published><updated>2011-10-04T16:00:11.500+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T16:00:11.500+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 用 String.Equal 方法取代 == 運算子</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/8040228617312357785/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-stringequal.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8040228617312357785?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8040228617312357785?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/gBM0zmCTMWI/c-stringequal.html" title="[C#] 用 String.Equal 方法取代 == 運算子" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JUb8yyUwK9x75mARAIFbXZD8uTQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUb8yyUwK9x75mARAIFbXZD8uTQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JUb8yyUwK9x75mARAIFbXZD8uTQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUb8yyUwK9x75mARAIFbXZD8uTQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;當字串相似時，使用 string.Equals 方法將會比較快速
因此，如果能預期在某一特定型態下，且預期大部分
的字串會相同的話，請使用 Equals
string s1= "code"; 
string s2 = "code1"; 

// Bad
if(s1 == s2){...}

// Good
if(s1.Equals(s2)){...}
&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/gBM0zmCTMWI" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-stringequal.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UEQHw7eSp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-5635612813998256330</id><published>2011-09-28T00:49:00.005+08:00</published><updated>2011-10-04T16:00:01.201+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T16:00:01.201+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 盡量避免用 Boxing 和 Unboxing</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/5635612813998256330/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/c-boxing-unboxing.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5635612813998256330?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5635612813998256330?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/ARdXa0c6L8g/c-boxing-unboxing.html" title="[C#] 盡量避免用 Boxing 和 Unboxing" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HnhhqNgDUInN6eWPKE0Xie3LXcs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HnhhqNgDUInN6eWPKE0Xie3LXcs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HnhhqNgDUInN6eWPKE0Xie3LXcs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HnhhqNgDUInN6eWPKE0Xie3LXcs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Boxing 某個型態的數值時會包含下列兩個行程

分配一個物件
將該型態的資料複製於物件

根據上述，應該儘量避免使用 Boxing
當使用 ArrayList 時，儘量避免使用 struct 的型態，因為 ArrayList 將會使用
object 來置換 struct 的型態；當程序在迴圈內執行時，Boxing 將會一直發生

而在 Unboxing 時，也會執行下列兩個行程

建置型態
複製資料

// Badstruct st
{
public Int i;
}
Arraylist arr = new ArrayList();
for (int i=0 ; i&amp;lt; 4; i++)
{ 
st s;
s.i = 4; 
arr.add(st) ; // Boxing 
}
st obj = (st ) arr[0]; // Unboxing 

// Good
Class st
{&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/ARdXa0c6L8g" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/c-boxing-unboxing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YNQnk_cCp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-8110668231200303869</id><published>2011-09-27T19:58:00.006+08:00</published><updated>2011-10-04T15:59:53.748+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T15:59:53.748+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 用 StringBuilder 取代 string 的字串連接</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/8110668231200303869/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8110668231200303869?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8110668231200303869?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/cXxd6tda3io/blog-post.html" title="[C#] 用 StringBuilder 取代 string 的字串連接" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/otAvDCt0ww01RZqzm4nHN4BgsfM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/otAvDCt0ww01RZqzm4nHN4BgsfM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/otAvDCt0ww01RZqzm4nHN4BgsfM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/otAvDCt0ww01RZqzm4nHN4BgsfM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;C#中使用 string 是不可改變的，即不能更改當你改變一個字符串，你實際上是在創建一個新的字符串，導致：

程式碼將會使用更多而不必要的記憶體
將會有更多的垃圾需要回收（GC）
執行速度將會變慢

請用 StringBuilder 取代 string 的字串連接


// Bad 
String strConcat;
ArrayList arrayOfStrings = new ArrayList();
arrayOfStrings.Add("a");
arrayOfStrings.Add("b");foreach (string s in stringContainer)
{
strConcat += s;
}

// Good
StringBuilder sbConcat = new StringBuilder ();
foreach (string s in &lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/cXxd6tda3io" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YMR38yeyp7ImA9WhdUF0w.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-3348670164229079587</id><published>2011-09-27T19:36:00.015+08:00</published><updated>2011-10-04T15:59:46.193+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-04T15:59:46.193+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="[C#]Performance" /><title>[C#] 當檢查字串長度時，使用Length</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/3348670164229079587/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2011/09/length.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/3348670164229079587?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/3348670164229079587?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/O5KvCXssoQU/length.html" title="[C#] 當檢查字串長度時，使用Length" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iw6eZ8vTUSeL3V1K2PfAnSpwTaI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iw6eZ8vTUSeL3V1K2PfAnSpwTaI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iw6eZ8vTUSeL3V1K2PfAnSpwTaI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iw6eZ8vTUSeL3V1K2PfAnSpwTaI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;

字串比較容易造成不必要的負擔

若要判定字串是否是空的長度，請使用 Length 屬性

.Net 2.0 之後的版本亦可使用 string.IsNullOrEmpty() 

// Bad if ( str != ""){...} // Goodif ( str.Length &amp;gt; 0){...}



&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/O5KvCXssoQU" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2011/09/length.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EGSXozcSp7ImA9WxNSEEo.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-6624451845641731216</id><published>2009-08-24T08:59:00.000+08:00</published><updated>2009-08-24T09:00:28.489+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-24T09:00:28.489+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 伺服器修復</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/6624451845641731216/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/08/blog-post_24.html#comment-form" title="1 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6624451845641731216?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6624451845641731216?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/7DZIQWzsHGA/blog-post_24.html" title="[公告] 伺服器修復" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>1</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qXq8zZi4kPkzZpwAzCdIs60YUTk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qXq8zZi4kPkzZpwAzCdIs60YUTk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qXq8zZi4kPkzZpwAzCdIs60YUTk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qXq8zZi4kPkzZpwAzCdIs60YUTk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;伺服器已經修復請使用者重新連線&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/7DZIQWzsHGA" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/08/blog-post_24.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4CSH09eyp7ImA9WxNSEEo.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-5606921853456848826</id><published>2009-08-24T08:48:00.001+08:00</published><updated>2009-08-24T08:49:29.363+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-24T08:49:29.363+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 伺服器停機</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/5606921853456848826/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/08/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5606921853456848826?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5606921853456848826?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/J7DLVC4wfoA/blog-post.html" title="[公告] 伺服器停機" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MVkhE6sSjYcbDxZ613-T2m5Amaw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MVkhE6sSjYcbDxZ613-T2m5Amaw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MVkhE6sSjYcbDxZ613-T2m5Amaw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MVkhE6sSjYcbDxZ613-T2m5Amaw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;伺服器無法正常開啟設定會造成今日早上交易不正常現在處理中&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/J7DLVC4wfoA" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/08/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMFQ3Y5eyp7ImA9WxJVE0s.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-9131974538634983286</id><published>2009-06-30T21:08:00.002+08:00</published><updated>2009-06-30T21:10:12.823+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-30T21:10:12.823+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 伺服器斷線</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/9131974538634983286/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/06/blog-post_30.html#comment-form" title="2 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/9131974538634983286?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/9131974538634983286?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/hnMlrNazHiU/blog-post_30.html" title="[公告] 伺服器斷線" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>2</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BnTPqgGuEAX4fttHtNrYTzSHM14/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BnTPqgGuEAX4fttHtNrYTzSHM14/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BnTPqgGuEAX4fttHtNrYTzSHM14/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BnTPqgGuEAX4fttHtNrYTzSHM14/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;抱歉, 由於早上伺服器主機斷線舊版本的使用者今天早上無法正常連線現在伺服器已經設定好&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/hnMlrNazHiU" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/06/blog-post_30.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04AQXc9eSp7ImA9WxJQF0U.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-6253605068674685691</id><published>2009-06-01T01:01:00.002+08:00</published><updated>2009-06-01T01:12:20.961+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-01T01:12:20.961+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>[公告] 資料庫已經更新</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/6253605068674685691/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/06/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6253605068674685691?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6253605068674685691?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/ItkzhFpETGQ/blog-post.html" title="[公告] 資料庫已經更新" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EqB-W5PYRa1B_78LapHMABQRxto/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EqB-W5PYRa1B_78LapHMABQRxto/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EqB-W5PYRa1B_78LapHMABQRxto/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EqB-W5PYRa1B_78LapHMABQRxto/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;對各位使用者抱歉...由於我這兩天去打比賽剛剛回來已經對伺服器做更新的動作軟體部分可以正常使用不會影響盤中軟體的運作請大家安心&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/ItkzhFpETGQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/06/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQGQHg6eip7ImA9WxJQFkw.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-423396692208109590</id><published>2009-05-30T00:54:00.002+08:00</published><updated>2009-05-30T00:58:41.612+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-30T00:58:41.612+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>[公告] 小達人系列六月號</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/423396692208109590/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/05/blog-post_30.html#comment-form" title="4 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/423396692208109590?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/423396692208109590?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/pxb6jzIfkho/blog-post_30.html" title="[公告] 小達人系列六月號" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>4</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GxMSMDyn86CoGUMtIFWWl7rs4Vk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GxMSMDyn86CoGUMtIFWWl7rs4Vk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GxMSMDyn86CoGUMtIFWWl7rs4Vk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GxMSMDyn86CoGUMtIFWWl7rs4Vk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;小達人系列進入六月號了近期將會再度延長使用日期請使用者別慌張^^有什麼建議請來信告知唷另外小達人軟體將會翻新版本近期希望有使用軟體的人儘快來信索取新版本非常感謝大家的使用&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/pxb6jzIfkho" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/05/blog-post_30.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcASXcyfCp7ImA9WxJSFkw.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-4894993043946214046</id><published>2009-05-06T21:35:00.002+08:00</published><updated>2009-05-06T21:37:28.994+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-06T21:37:28.994+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 部分新註冊使用者注意</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/4894993043946214046/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/05/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4894993043946214046?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4894993043946214046?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/jSh9hjjn8xE/blog-post.html" title="[公告] 部分新註冊使用者注意" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/K8egDYGk1y2FSHha82SxU1PCnNY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K8egDYGk1y2FSHha82SxU1PCnNY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/K8egDYGk1y2FSHha82SxU1PCnNY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K8egDYGk1y2FSHha82SxU1PCnNY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;由於部分資料庫未更新完全所以新註冊使用者這幾天無法使用下單機剛剛已經更新資料庫請無法啟動下單機的使用者在此測試看看前幾天在比賽全大運, 所以沒有注意到這個問題深感抱歉&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/jSh9hjjn8xE" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/05/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkACR3YyeSp7ImA9WxJTGEU.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-4246908754203865404</id><published>2009-04-28T11:18:00.000+08:00</published><updated>2009-04-28T11:19:26.891+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-28T11:19:26.891+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 盤中升級</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/4246908754203865404/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/04/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4246908754203865404?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4246908754203865404?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/wtw0Fkx9UU8/blog-post.html" title="[公告] 盤中升級" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RUEySyTsG7bEqabVvj7b3uBr3nE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RUEySyTsG7bEqabVvj7b3uBr3nE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RUEySyTsG7bEqabVvj7b3uBr3nE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RUEySyTsG7bEqabVvj7b3uBr3nE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;由於日盛又將API改回舊版本盤中再度改回造成不變請見諒&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/wtw0Fkx9UU8" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/04/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMDQ38-fip7ImA9WxJTGEs.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-4155009125355019079</id><published>2009-04-28T04:59:00.002+08:00</published><updated>2009-04-28T05:07:52.156+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-28T05:07:52.156+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>[公告] 小達人下單機 - 日盛API 全面更新</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/4155009125355019079/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/04/api.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4155009125355019079?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4155009125355019079?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/zcyQd2tQDVY/api.html" title="[公告] 小達人下單機 - 日盛API 全面更新" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/71b2cry5iNMfinkv4I_2RtXrCng/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/71b2cry5iNMfinkv4I_2RtXrCng/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/71b2cry5iNMfinkv4I_2RtXrCng/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/71b2cry5iNMfinkv4I_2RtXrCng/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;由於此次日盛API系統, 官方更新檔案不完整啟動API檔案時，下單機時會造成出現錯誤訊息請將日盛Jihsun的程式資料夾1. Jihsun/HTS2/rtl70.bpl2. Jihsun/HTS2/vcl70.bpl這兩個檔案複製到下面的目錄下Windows/system32/下單機部分全面更新單帳號單策略 - 日盛API - 1.8單帳號多策略 - 日盛API - 1.5多帳號多策略 - 日盛API - 1.3&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/zcyQd2tQDVY" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/04/api.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUFQnY7fyp7ImA9WxVaEUw.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-5254401418278107937</id><published>2009-03-25T19:46:00.003+08:00</published><updated>2009-04-07T23:13:33.807+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-07T23:13:33.807+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>小達人下單機 - 單帳號 - 多策略 - V2.0</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/5254401418278107937/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/v20_25.html#comment-form" title="12 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5254401418278107937?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5254401418278107937?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/WJ2qf86hc4Y/v20_25.html" title="小達人下單機 - 單帳號 - 多策略 - V2.0" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>12</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ljm82kfUFSJUfQmcyiY69bVHl7c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ljm82kfUFSJUfQmcyiY69bVHl7c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ljm82kfUFSJUfQmcyiY69bVHl7c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ljm82kfUFSJUfQmcyiY69bVHl7c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;V2.0 @ 提升下單機處理速度@ 新增康和API下單（人工下單不支援） 使用注意：請將自己的康和API內物件覆蓋過下單機內檔案，並執行[註冊元件]將自己的康和API註冊到主機內，未執行此動作無法使用此功能更新方法：暫時無提供自動更新，使用者下載後請執行資料夾內的[註冊元件]之後會加入XP系統自動更新部分。軟體名稱：小達人下單機支援類別：單帳號多策略發行版本：V 2.0發行日期：2009/03/25支援商品：國內期貨：台股指數期貨　　　　　小型台股指數期貨　　　　　　　　　　　　　　　電子期貨　　　　　　　金融期貨　　　　　　　　　　軟體下載：本地下載必要軟件：Microsoft .NET Framework 3.5　　　　　　　　　　本地下載　　官方下載次要軟件：Microsoft Visual C++ 2005 可轉散發套件 (x86)　　　　　　　　　　本地下載　　官方下載 &lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/WJ2qf86hc4Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/v20_25.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YMRXc7eip7ImA9WxVUFkk.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-5793068049453906116</id><published>2009-03-21T21:05:00.002+08:00</published><updated>2009-03-21T21:13:04.902+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-21T21:13:04.902+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><title>[公告] 小達人下單機系列 - 使用期限延長</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/5793068049453906116/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/blog-post_21.html#comment-form" title="3 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5793068049453906116?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/5793068049453906116?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/RLLiqF2R3Ns/blog-post_21.html" title="[公告] 小達人下單機系列 - 使用期限延長" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>3</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UkFT7sl0LqkO9I5q0kQUUv3rV_8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UkFT7sl0LqkO9I5q0kQUUv3rV_8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UkFT7sl0LqkO9I5q0kQUUv3rV_8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UkFT7sl0LqkO9I5q0kQUUv3rV_8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;由於近期在對三個程式做合併規劃，加上最近課業比較忙開發進度也比較慢，希望使用者見諒使用期限繼續延長，請使用者安心使用近期會陸續將其他不同卷商加入下單機將會做一次重大改版屆時希望使用者配合，如有不便敬請見諒&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/RLLiqF2R3Ns" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/blog-post_21.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ENQ3syfip7ImA9WxVUGE0.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-4311898460530913665</id><published>2009-03-19T15:15:00.008+08:00</published><updated>2009-03-23T20:01:32.596+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-23T20:01:32.596+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>進場交易後的絕對點數停損或停利</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/4311898460530913665/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/blog-post_19.html#comment-form" title="8 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4311898460530913665?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/4311898460530913665?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/DyUnZDiDgbo/blog-post_19.html" title="進場交易後的絕對點數停損或停利" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bhByBNvAUAU/ScH_EYgfIOI/AAAAAAAAAPI/7CQBVeeVD44/s72-c/1.jpg" height="72" width="72" /><thr:total>8</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_m1kztnaLP1jj0_B7zFWG7NUtPQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_m1kztnaLP1jj0_B7zFWG7NUtPQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_m1kztnaLP1jj0_B7zFWG7NUtPQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_m1kztnaLP1jj0_B7zFWG7NUtPQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;不論在使用HTS或TS的時候，很多人都不知道如何停損停利其實，只要知道進場價位就可以去計算出停損點數entryprice(0)函數是一個很重要的關鍵沒有單在手上的時候，entryprice(0)是0手上有單的時候，entryrpice(0)是入手價位如此一來，假設停利點數20點多單停利可以寫成　exitlong next bar at entryprice(0)+20 limit空單停利可以寫成　exitshort next bar at entryprice(0)-20 limit但是常見的錯誤寫法如下（TS語法）進場後，20點停利（錯誤寫法）if condition then    buy this bar on close;if marketposition &amp;gt; 0 then    exitlong next bar at entryprice(0)+20 limit;&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/DyUnZDiDgbo" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/blog-post_19.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUDQnk6cCp7ImA9WxVUEUo.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-8598014879158242678</id><published>2009-03-16T10:43:00.006+08:00</published><updated>2009-03-16T11:14:33.718+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-16T11:14:33.718+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>程式交易 - 消失的信號</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/8598014879158242678/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/blog-post_1273.html#comment-form" title="1 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8598014879158242678?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8598014879158242678?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/S-tZ1D7jmRE/blog-post_1273.html" title="程式交易 - 消失的信號" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bhByBNvAUAU/Sb3BQwnC-2I/AAAAAAAAAO4/VyEPr6GtnT4/s72-c/7.jpg" height="72" width="72" /><thr:total>1</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dVJ8Dxsi63zza6j9VtAvnBFkfFs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dVJ8Dxsi63zza6j9VtAvnBFkfFs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dVJ8Dxsi63zza6j9VtAvnBFkfFs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dVJ8Dxsi63zza6j9VtAvnBFkfFs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;在寫程式交易時，很多小細節都是許多人沒有注意的地方如此一來常常造成寫的程式出現一堆無法預期的錯誤信號消失想必是最嚴重的，也是最沒辦法接受的通常會造成這個因素都是因為部分的邏輯錯誤與信號在同一跟衝突Ａ說：這應該是this bar才會出現的錯誤吧？Ｂ說：我都是用next bar應該不會有問題吧？其實邏輯錯誤跟this bar與next bar一點關係也沒有用next bar也是會有信號消失在這裡舉個例子：以下這段應該很多人都會使用這個消失的訊號常見於上下過度震盪的Ｋ線（TS語法）if codition then    buy next bar at value1 stop;if marketposition &amp;gt; 0 then begin    exitlong next bar at entryprice(0)+30 limit;    exitlong next bar at &lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/S-tZ1D7jmRE" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/blog-post_1273.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UARXY6eip7ImA9WxVUEUs.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-1186777553369551647</id><published>2009-03-16T08:59:00.001+08:00</published><updated>2009-03-16T09:00:44.812+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-16T09:00:44.812+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>[公告] 多帳號多策略使用者注意</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/1186777553369551647/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/blog-post_16.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/1186777553369551647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/1186777553369551647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/21lO7e7e5Sk/blog-post_16.html" title="[公告] 多帳號多策略使用者注意" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-5rQ6VrUaQL_O4n-RoenQ4mY6j4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-5rQ6VrUaQL_O4n-RoenQ4mY6j4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-5rQ6VrUaQL_O4n-RoenQ4mY6j4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-5rQ6VrUaQL_O4n-RoenQ4mY6j4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;此次升級後, 請注意系統設定的地方API下單密碼是否正確並緊急做修正造成不便請見諒&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/21lO7e7e5Sk" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/blog-post_16.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkENR3Y8fip7ImA9WxVUEEk.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-7832561991458176229</id><published>2009-03-15T00:10:00.003+08:00</published><updated>2009-03-15T00:38:16.876+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T00:38:16.876+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>小達人下單機 - 單帳號 - 單策略 - V2.0</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/7832561991458176229/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/v20.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/7832561991458176229?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/7832561991458176229?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/Dwp2kvbC9qg/v20.html" title="小達人下單機 - 單帳號 - 單策略 - V2.0" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X9ilJO8kHnC3C1obUWY-3GzvtQw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X9ilJO8kHnC3C1obUWY-3GzvtQw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X9ilJO8kHnC3C1obUWY-3GzvtQw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X9ilJO8kHnC3C1obUWY-3GzvtQw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;V2.0@ 新增康和API下單（人工下單不支援） 使用注意：請將自己的康和API內物件覆蓋過下單機內檔案，並執行[註冊元件]將自己的康和API註冊到主機內，未執行此動作無法使用此功能更新方法：暫時無提供自動更新，使用者下載後請執行資料夾內的[註冊元件]之後會加入XP系統自動更新部分。軟體名稱：小達人下單機支援類別：單帳號單策略發行版本：V 2.0發行日期：2009/03/10支援商品：國內期貨：台股指數期貨　　　　　小型台股指數期貨　　　　　　　　　　　　　　　電子期貨　　　　　　　金融期貨　　　　　　　　　　軟體下載：本地下載必要軟件：Microsoft .NET Framework 2.0 以上即可　　　　　　　　　Microsoft .NET Framework 3.5　　　　　　　　　　本地下載　　官方下載次要軟件：Microsoft Visual C++ 2005 可轉散發套件&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/Dwp2kvbC9qg" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/v20.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MDQHk8eip7ImA9WxVbFE4.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-6808215354855279892</id><published>2009-03-14T23:44:00.003+08:00</published><updated>2009-03-31T01:51:11.772+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-31T01:51:11.772+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>小達人下單機 - 日盛API - 單帳號 - 多策略 - V1.4</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/6808215354855279892/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/api-v14.html#comment-form" title="2 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6808215354855279892?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/6808215354855279892?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/b1432zsJBwU/api-v14.html" title="小達人下單機 - 日盛API - 單帳號 - 多策略 - V1.4" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>2</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ymm24fXxrCCzUissi2SFxL-gzTI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ymm24fXxrCCzUissi2SFxL-gzTI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ymm24fXxrCCzUissi2SFxL-gzTI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ymm24fXxrCCzUissi2SFxL-gzTI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;V1.4@ 修正商品設定時開啟時，會顯示錯誤訊息更新方法：執行下單機時會啟動自動更新（Update.exe）程式自動更新時會自動升級資料庫，已經設定資料不會遺失，不需重新設定請使用者不要延用舊的資料庫若要備份，請升級軟體版本後自行備份軟體名稱：小達人下單機 - 日盛API支援類別：單帳號多策略發行版本：V 1.3發行日期：2009/03/08支援商品：國內期貨：台股指數期貨　　　　　小型台股指數期貨　　　　　　　　　　電子期貨　　　　　　　金融期貨　　　　　　　　　　非金電期貨　　　　　　櫃買期貨　　　　　　　　　　台灣五十期貨　　　　　台幣黃金期貨軟體下載：本地下載必要軟件：Microsoft .NET Framework 2.0 以上即可　　　　　Microsoft .NET Framework 3.5　　　　　本地下載　　官方下載次要軟件：Microsoft Visual C++ &lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/b1432zsJBwU" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/api-v14.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MEQnk4fCp7ImA9WxVUEEk.&quot;"><id>tag:blogger.com,1999:blog-5875566475653956002.post-8332950166333342121</id><published>2009-03-14T23:33:00.002+08:00</published><updated>2009-03-14T23:43:23.734+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-14T23:43:23.734+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="交易軟體" /><category scheme="http://www.blogger.com/atom/ns#" term="程式交易" /><title>小達人下單機 - 日盛API - 多帳號 - 多策略 - V1.2</title><link rel="replies" type="application/atom+xml" href="http://chunikuo.blogspot.com/feeds/8332950166333342121/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://chunikuo.blogspot.com/2009/03/api-v12.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8332950166333342121?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5875566475653956002/posts/default/8332950166333342121?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/chunikuo/~3/2RS-uyGtfoI/api-v12.html" title="小達人下單機 - 日盛API - 多帳號 - 多策略 - V1.2" /><author><name>小達人 - ChunI.Kuo@Gmail.Com</name><uri>http://www.blogger.com/profile/10404886113679058355</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="21" height="32" src="http://2.bp.blogspot.com/_bhByBNvAUAU/SM_mVmLeQHI/AAAAAAAAAA8/t6ZGrTxhnrQ/S220/4pn3b6b.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uJ9TsdD3EpTp4zC2jwziUgd7APc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uJ9TsdD3EpTp4zC2jwziUgd7APc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uJ9TsdD3EpTp4zC2jwziUgd7APc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uJ9TsdD3EpTp4zC2jwziUgd7APc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;V1.2@ 新增自動轉倉功能@ 修正[系統設定] 功能無法自動儲存@ 修正商品資料無設定時，按下自動下單會出現錯誤視窗@ 修正部份Vista版本申請跟登入問題以下信箱因為Vista版本註冊錯誤資訊, 資料庫資料已經刪除, 請重新註冊 BMW530ANDY@YAHOO.COM.TWCYS13579TW@HOTMAIL.COM更新方法：重新啟動下單機即可使用說明：　　第一次使用下單機或不熟悉者請務必詳細閱讀軟體名稱：小達人下單機 - 日盛API支援類別：多帳號多策略發行版本：V 1.2發行日期：2009/03/14注意：此版本資料庫與單帳號架構不同　　　請使用者勿將單帳戶的資料庫直接轉移使用支援商品：國內期貨：台股指數期貨　　　　　小型台股指數期貨　　　　　　　　　　電子期貨　　　　　　　金融期貨　　　　　　　　　　非金電期貨　　　　　　櫃買期貨　　　　　　　　　　台灣五十期貨　　　　　&lt;img src="http://feeds.feedburner.com/~r/chunikuo/~4/2RS-uyGtfoI" height="1" width="1"/&gt;</content><feedburner:origLink>http://chunikuo.blogspot.com/2009/03/api-v12.html</feedburner:origLink></entry></feed>

