推薦這個部落格: 212
檢視方式: 列表 摘要
July 8, 2011
pulli 在天空部落發表於 14:36:41
今天台股的交易商品多了 牛熊權證~
什麼是牛熊權證呢?? 看這裡~~ 看這裡~~
--
牛熊證在國外已行之有年,以香港為例.
香港第一批牛熊證於2006/6/12上市掛牌
2007年香港牛熊證全年度累積成交金額達71,379.93百萬港元,佔當年度香港主板總成交金額0.33%
2010年香港牛熊證全年度累積成交金額達1,455,404.29百萬港元,佔當年度香港主板總成交金額8.52%
從以上成長數字就可發現這樣的金融商品深得投資人青睞.
牛熊證能夠在香港大行其道一定有其原因,接下來就好好認識一下囉!!
什麼是牛熊證?
1.牛熊證類似權證的結構性商品,能夠緊貼標的資產表現而無須支付相關標的資產全部金額

什麼是牛熊權證呢?? 看這裡~~ 看這裡~~
--
牛熊證在國外已行之有年,以香港為例.
香港第一批牛熊證於2006/6/12上市掛牌
2007年香港牛熊證全年度累積成交金額達71,379.93百萬港元,佔當年度香港主板總成交金額0.33%
2010年香港牛熊證全年度累積成交金額達1,455,404.29百萬港元,佔當年度香港主板總成交金額8.52%
從以上成長數字就可發現這樣的金融商品深得投資人青睞.
牛熊證能夠在香港大行其道一定有其原因,接下來就好好認識一下囉!!
什麼是牛熊證?
1.牛熊證類似權證的結構性商品,能夠緊貼標的資產表現而無須支付相關標的資產全部金額
- 發行時通常為「深度價內」
2.主要分為牛證及熊證
- 設有「限制價格」,可自動停損
- 牛證:down-and-out call
3.牛熊證發行條件有贖回機制,如在到期前,相關標的價格觸及 「限制價」時,發行商將收回權證,該權證將提早到期並終止買賣
- 熊證:up-and-out put

觀看全文...
May 14, 2010
pulli 在天空部落發表於 10:29:22
引用 using Microsoft.Win32;
///
/// 讀取 Regedit
///
/// 機碼路徑
/// key name
///string
public static string ReadReg(string SubKeyPath, string keyName)
{
string strkeyValue = "";
try
{
RegistryKey rootkey = Registry.CurrentUser; //Registry參數
RegistryKey subKey = rootkey.OpenSubKey(SubKeyPath);
strkeyValue = subKey.GetValue(keyName).ToString();
subKey.Close();
rootkey.Close();
}
catch (Exception)
{
//throw;
}
return strkeyValue;
}
///
/// 判斷 Regedit 是否存在
///
/// 機碼路徑
///bool
public static bool HaveReg(string SubKeyPath)
{
bool bolReturnValue = false;
try
{
RegistryKey rootKey = Registry.CurrentUser;
RegistryKey subKey = rootKey.OpenSubKey(@SubKeyPath);
//不存在
if (subKey == null)
{
bolReturnValue = false;
}
else
{
bolReturnValue = true;
}
subKey.Close();
rootKey.Close();
}
catch (Exception)
{
//throw;
}
return bolReturnValue;
}
///
/// 寫入 Regedit
///
/// 機碼路徑
/// key名稱
/// key值
///bool
public static bool WriteReg(string SubKeyPath, string keyName, string keyValue)
{
bool bolReturnValue = false;
try
{
RegistryKey rootKey = Registry.CurrentUser;
RegistryKey subKey = rootKey.OpenSubKey(@SubKeyPath);
//不存在,Create
if (subKey == null)
{
rootKey.CreateSubKey(SubKeyPath);
}
//寫入資料
subKey = rootKey.OpenSubKey(SubKeyPath, true);
subKey.SetValue(keyName, keyValue);
bolReturnValue = true;
subKey.Close();
rootKey.Close();
}
catch (Exception)
{
//throw;
}
return bolReturnValue;
}
------------------------------------------------------------------------------------------------------------------------------
測試讀取:
private void button2_Click(object sender, EventArgs e)
{
string strSubKeyPath = "SOFTWARE\\Polaris\\B2CAPI_Pulli";
string strKeyName = "Test";
if (HaveReg(strSubKeyPath))
{
MessageBox.Show(ReadReg(strSubKeyPath, strKeyName));
}
else
{
MessageBox.Show(strSubKeyPath +" -> 路徑不存在!!");
}
}
------------------------------------------------------------------------------------------------------------------------------
測試寫入:
private void button1_Click(object sender, EventArgs e)
{
string strSubKeyPath = "SOFTWARE\\Polaris\\B2CAPI_Pulli";
string strKeyName="Test";
string strKeyValue="Hello";
if (WriteReg(strSubKeyPath,strKeyName,strKeyValue ))
MessageBox.Show("Success");
else
MessageBox.Show("fail");
}
///
/// 讀取 Regedit
///
/// 機碼路徑
/// key name
///
public static string ReadReg(string SubKeyPath, string keyName)
{
string strkeyValue = "";
try
{
RegistryKey rootkey = Registry.CurrentUser; //Registry參數
RegistryKey subKey = rootkey.OpenSubKey(SubKeyPath);
strkeyValue = subKey.GetValue(keyName).ToString();
subKey.Close();
rootkey.Close();
}
catch (Exception)
{
//throw;
}
return strkeyValue;
}
///
/// 判斷 Regedit 是否存在
///
/// 機碼路徑
///
public static bool HaveReg(string SubKeyPath)
{
bool bolReturnValue = false;
try
{
RegistryKey rootKey = Registry.CurrentUser;
RegistryKey subKey = rootKey.OpenSubKey(@SubKeyPath);
//不存在
if (subKey == null)
{
bolReturnValue = false;
}
else
{
bolReturnValue = true;
}
subKey.Close();
rootKey.Close();
}
catch (Exception)
{
//throw;
}
return bolReturnValue;
}
///
/// 寫入 Regedit
///
/// 機碼路徑
/// key名稱
/// key值
///
public static bool WriteReg(string SubKeyPath, string keyName, string keyValue)
{
bool bolReturnValue = false;
try
{
RegistryKey rootKey = Registry.CurrentUser;
RegistryKey subKey = rootKey.OpenSubKey(@SubKeyPath);
//不存在,Create
if (subKey == null)
{
rootKey.CreateSubKey(SubKeyPath);
}
//寫入資料
subKey = rootKey.OpenSubKey(SubKeyPath, true);
subKey.SetValue(keyName, keyValue);
bolReturnValue = true;
subKey.Close();
rootKey.Close();
}
catch (Exception)
{
//throw;
}
return bolReturnValue;
}
------------------------------------------------------------------------------------------------------------------------------
測試讀取:
private void button2_Click(object sender, EventArgs e)
{
string strSubKeyPath = "SOFTWARE\\Polaris\\B2CAPI_Pulli";
string strKeyName = "Test";
if (HaveReg(strSubKeyPath))
{
MessageBox.Show(ReadReg(strSubKeyPath, strKeyName));
}
else
{
MessageBox.Show(strSubKeyPath +" -> 路徑不存在!!");
}
}
------------------------------------------------------------------------------------------------------------------------------
測試寫入:
private void button1_Click(object sender, EventArgs e)
{
string strSubKeyPath = "SOFTWARE\\Polaris\\B2CAPI_Pulli";
string strKeyName="Test";
string strKeyValue="Hello";
if (WriteReg(strSubKeyPath,strKeyName,strKeyValue ))
MessageBox.Show("Success");
else
MessageBox.Show("fail");
}
系統公告
熱情贊助
yam揪便宜
人氣指數
當日人次:
累積人次:
累積人次:
yam今日我最殺
最新的回應
- nsvtzhitt:
訊連 ... - sbluo:
連結失效了呀... ...
其他資訊
本部落所刊登之內容,皆由作者個人所提供,不代表 yam天空部落 本身立場。








