429 lines
21 KiB
C#
429 lines
21 KiB
C#
namespace YLErp.Forms
|
|
{
|
|
partial class FormOption
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.btnCalcPv = new System.Windows.Forms.Button();
|
|
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
|
this.btnCalcMargin = new System.Windows.Forms.Button();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.btnViewTrade = new System.Windows.Forms.Button();
|
|
this.richTextBoxTrade = new System.Windows.Forms.RichTextBox();
|
|
this.cmbTradeDataSource = new System.Windows.Forms.ComboBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.btnPricing = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.menuGetUnderlyingPrice = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetCurUmPrice = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetEodClosePrice = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetEodSettlePrice = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetEodRefPrice = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetVol = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetPositionVol = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetHedgeVol = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuGetOpenVol = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.checkRealTime = new System.Windows.Forms.CheckBox();
|
|
this.btnViewPosition = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.tbVol = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.tbUnderlyingPrice = new System.Windows.Forms.TextBox();
|
|
this.richTextBoxLog = new System.Windows.Forms.RichTextBox();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.btnPricingV2 = new System.Windows.Forms.Button();
|
|
this.panel2.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnCalcPv
|
|
//
|
|
this.btnCalcPv.Location = new System.Drawing.Point(238, 154);
|
|
this.btnCalcPv.Name = "btnCalcPv";
|
|
this.btnCalcPv.Size = new System.Drawing.Size(109, 23);
|
|
this.btnCalcPv.TabIndex = 9;
|
|
this.btnCalcPv.Text = "计算日终PV";
|
|
this.btnCalcPv.UseVisualStyleBackColor = true;
|
|
this.btnCalcPv.Click += new System.EventHandler(this.btnCalcPv_Click);
|
|
//
|
|
// dateTimePicker1
|
|
//
|
|
this.dateTimePicker1.Location = new System.Drawing.Point(75, 82);
|
|
this.dateTimePicker1.Name = "dateTimePicker1";
|
|
this.dateTimePicker1.Size = new System.Drawing.Size(153, 21);
|
|
this.dateTimePicker1.TabIndex = 12;
|
|
//
|
|
// btnCalcMargin
|
|
//
|
|
this.btnCalcMargin.Location = new System.Drawing.Point(238, 119);
|
|
this.btnCalcMargin.Name = "btnCalcMargin";
|
|
this.btnCalcMargin.Size = new System.Drawing.Size(109, 23);
|
|
this.btnCalcMargin.TabIndex = 13;
|
|
this.btnCalcMargin.Text = "计算日终保证金";
|
|
this.btnCalcMargin.UseVisualStyleBackColor = true;
|
|
this.btnCalcMargin.Click += new System.EventHandler(this.btnCalcMargin_Click);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Controls.Add(this.groupBox2);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(387, 631);
|
|
this.panel2.TabIndex = 15;
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.btnViewTrade);
|
|
this.groupBox2.Controls.Add(this.richTextBoxTrade);
|
|
this.groupBox2.Controls.Add(this.cmbTradeDataSource);
|
|
this.groupBox2.Controls.Add(this.label6);
|
|
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.groupBox2.Location = new System.Drawing.Point(0, 0);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(387, 631);
|
|
this.groupBox2.TabIndex = 20;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "交易信息";
|
|
//
|
|
// btnViewTrade
|
|
//
|
|
this.btnViewTrade.Location = new System.Drawing.Point(256, 30);
|
|
this.btnViewTrade.Name = "btnViewTrade";
|
|
this.btnViewTrade.Size = new System.Drawing.Size(83, 26);
|
|
this.btnViewTrade.TabIndex = 10;
|
|
this.btnViewTrade.Text = "查看交易";
|
|
this.btnViewTrade.UseVisualStyleBackColor = true;
|
|
this.btnViewTrade.Click += new System.EventHandler(this.btnViewTrade_Click);
|
|
//
|
|
// richTextBoxTrade
|
|
//
|
|
this.richTextBoxTrade.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.richTextBoxTrade.Location = new System.Drawing.Point(18, 66);
|
|
this.richTextBoxTrade.Name = "richTextBoxTrade";
|
|
this.richTextBoxTrade.Size = new System.Drawing.Size(355, 548);
|
|
this.richTextBoxTrade.TabIndex = 9;
|
|
this.richTextBoxTrade.Text = "";
|
|
//
|
|
// cmbTradeDataSource
|
|
//
|
|
this.cmbTradeDataSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbTradeDataSource.FormattingEnabled = true;
|
|
this.cmbTradeDataSource.Items.AddRange(new object[] {
|
|
"交易ID",
|
|
"交易编号",
|
|
"表单数据(定价请求)",
|
|
"JSON数据(trade)",
|
|
"JSON数据(tradeFull)"});
|
|
this.cmbTradeDataSource.Location = new System.Drawing.Point(75, 33);
|
|
this.cmbTradeDataSource.Name = "cmbTradeDataSource";
|
|
this.cmbTradeDataSource.Size = new System.Drawing.Size(172, 20);
|
|
this.cmbTradeDataSource.TabIndex = 8;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(16, 36);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(53, 12);
|
|
this.label6.TabIndex = 7;
|
|
this.label6.Text = "数据来源";
|
|
//
|
|
// btnPricing
|
|
//
|
|
this.btnPricing.Location = new System.Drawing.Point(15, 21);
|
|
this.btnPricing.Name = "btnPricing";
|
|
this.btnPricing.Size = new System.Drawing.Size(109, 23);
|
|
this.btnPricing.TabIndex = 21;
|
|
this.btnPricing.Text = "定价计算";
|
|
this.btnPricing.UseVisualStyleBackColor = true;
|
|
this.btnPricing.Click += new System.EventHandler(this.btnPricing_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.menuStrip1);
|
|
this.groupBox1.Controls.Add(this.checkRealTime);
|
|
this.groupBox1.Controls.Add(this.btnViewPosition);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.btnCalcPv);
|
|
this.groupBox1.Controls.Add(this.btnCalcMargin);
|
|
this.groupBox1.Controls.Add(this.tbVol);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.dateTimePicker1);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.tbUnderlyingPrice);
|
|
this.groupBox1.Location = new System.Drawing.Point(15, 78);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(387, 195);
|
|
this.groupBox1.TabIndex = 19;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "持仓计算";
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(21, 21);
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.menuGetUnderlyingPrice,
|
|
this.menuGetVol});
|
|
this.menuStrip1.Location = new System.Drawing.Point(3, 17);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
|
|
this.menuStrip1.Size = new System.Drawing.Size(381, 25);
|
|
this.menuStrip1.TabIndex = 20;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// menuGetUnderlyingPrice
|
|
//
|
|
this.menuGetUnderlyingPrice.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.menuGetCurUmPrice,
|
|
this.menuGetEodClosePrice,
|
|
this.menuGetEodSettlePrice,
|
|
this.menuGetEodRefPrice});
|
|
this.menuGetUnderlyingPrice.Name = "menuGetUnderlyingPrice";
|
|
this.menuGetUnderlyingPrice.Size = new System.Drawing.Size(92, 21);
|
|
this.menuGetUnderlyingPrice.Text = "获取标的价格";
|
|
//
|
|
// menuGetCurUmPrice
|
|
//
|
|
this.menuGetCurUmPrice.Name = "menuGetCurUmPrice";
|
|
this.menuGetCurUmPrice.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetCurUmPrice.Text = "实时行情价";
|
|
this.menuGetCurUmPrice.Click += new System.EventHandler(this.menuGetCurUmPrice_Click);
|
|
//
|
|
// menuGetEodClosePrice
|
|
//
|
|
this.menuGetEodClosePrice.Name = "menuGetEodClosePrice";
|
|
this.menuGetEodClosePrice.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetEodClosePrice.Text = "日终收盘价";
|
|
this.menuGetEodClosePrice.Click += new System.EventHandler(this.menuGetEodClosePrice_Click);
|
|
//
|
|
// menuGetEodSettlePrice
|
|
//
|
|
this.menuGetEodSettlePrice.Name = "menuGetEodSettlePrice";
|
|
this.menuGetEodSettlePrice.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetEodSettlePrice.Text = "日终结算价";
|
|
this.menuGetEodSettlePrice.Click += new System.EventHandler(this.menuGetEodSettlePrice_Click);
|
|
//
|
|
// menuGetEodRefPrice
|
|
//
|
|
this.menuGetEodRefPrice.Name = "menuGetEodRefPrice";
|
|
this.menuGetEodRefPrice.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetEodRefPrice.Text = "日终结算价";
|
|
this.menuGetEodRefPrice.Click += new System.EventHandler(this.menuGetEodRefPrice_Click);
|
|
//
|
|
// menuGetVol
|
|
//
|
|
this.menuGetVol.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.menuGetPositionVol,
|
|
this.menuGetHedgeVol,
|
|
this.menuGetOpenVol});
|
|
this.menuGetVol.Name = "menuGetVol";
|
|
this.menuGetVol.Size = new System.Drawing.Size(80, 21);
|
|
this.menuGetVol.Text = "获取波动率";
|
|
//
|
|
// menuGetPositionVol
|
|
//
|
|
this.menuGetPositionVol.Name = "menuGetPositionVol";
|
|
this.menuGetPositionVol.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetPositionVol.Text = "持仓波动率";
|
|
this.menuGetPositionVol.Click += new System.EventHandler(this.menuGetPositionVol_Click);
|
|
//
|
|
// menuGetHedgeVol
|
|
//
|
|
this.menuGetHedgeVol.Name = "menuGetHedgeVol";
|
|
this.menuGetHedgeVol.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetHedgeVol.Text = "对冲波动率";
|
|
this.menuGetHedgeVol.Click += new System.EventHandler(this.menuGetHedgeVol_Click);
|
|
//
|
|
// menuGetOpenVol
|
|
//
|
|
this.menuGetOpenVol.Name = "menuGetOpenVol";
|
|
this.menuGetOpenVol.Size = new System.Drawing.Size(136, 22);
|
|
this.menuGetOpenVol.Text = "开仓波动率";
|
|
this.menuGetOpenVol.Click += new System.EventHandler(this.menuGetOpenVol_Click);
|
|
//
|
|
// checkRealTime
|
|
//
|
|
this.checkRealTime.AutoSize = true;
|
|
this.checkRealTime.Location = new System.Drawing.Point(75, 59);
|
|
this.checkRealTime.Name = "checkRealTime";
|
|
this.checkRealTime.Size = new System.Drawing.Size(72, 16);
|
|
this.checkRealTime.TabIndex = 22;
|
|
this.checkRealTime.Text = "实时风险";
|
|
this.checkRealTime.UseVisualStyleBackColor = true;
|
|
this.checkRealTime.CheckedChanged += new System.EventHandler(this.checkRealTime_CheckedChanged);
|
|
//
|
|
// btnViewPosition
|
|
//
|
|
this.btnViewPosition.Location = new System.Drawing.Point(238, 79);
|
|
this.btnViewPosition.Name = "btnViewPosition";
|
|
this.btnViewPosition.Size = new System.Drawing.Size(109, 26);
|
|
this.btnViewPosition.TabIndex = 21;
|
|
this.btnViewPosition.Text = "查看日终持仓";
|
|
this.btnViewPosition.UseVisualStyleBackColor = true;
|
|
this.btnViewPosition.Click += new System.EventHandler(this.btnViewPosition_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(28, 159);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(41, 12);
|
|
this.label4.TabIndex = 18;
|
|
this.label4.Text = "波动率";
|
|
//
|
|
// tbVol
|
|
//
|
|
this.tbVol.Location = new System.Drawing.Point(75, 156);
|
|
this.tbVol.Name = "tbVol";
|
|
this.tbVol.Size = new System.Drawing.Size(153, 21);
|
|
this.tbVol.TabIndex = 19;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(16, 86);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(53, 12);
|
|
this.label2.TabIndex = 15;
|
|
this.label2.Text = "计算日期";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(16, 123);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
|
this.label3.TabIndex = 16;
|
|
this.label3.Text = "标的价格";
|
|
//
|
|
// tbUnderlyingPrice
|
|
//
|
|
this.tbUnderlyingPrice.Location = new System.Drawing.Point(75, 119);
|
|
this.tbUnderlyingPrice.Name = "tbUnderlyingPrice";
|
|
this.tbUnderlyingPrice.Size = new System.Drawing.Size(153, 21);
|
|
this.tbUnderlyingPrice.TabIndex = 17;
|
|
//
|
|
// richTextBoxLog
|
|
//
|
|
this.richTextBoxLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.richTextBoxLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.richTextBoxLog.Location = new System.Drawing.Point(12, 290);
|
|
this.richTextBoxLog.Name = "richTextBoxLog";
|
|
this.richTextBoxLog.Size = new System.Drawing.Size(387, 331);
|
|
this.richTextBoxLog.TabIndex = 23;
|
|
this.richTextBoxLog.Text = "";
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.btnPricingV2);
|
|
this.panel1.Controls.Add(this.richTextBoxLog);
|
|
this.panel1.Controls.Add(this.btnPricing);
|
|
this.panel1.Controls.Add(this.groupBox1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Location = new System.Drawing.Point(387, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(423, 631);
|
|
this.panel1.TabIndex = 16;
|
|
//
|
|
// btnPricingV2
|
|
//
|
|
this.btnPricingV2.Location = new System.Drawing.Point(134, 21);
|
|
this.btnPricingV2.Name = "btnPricingV2";
|
|
this.btnPricingV2.Size = new System.Drawing.Size(109, 23);
|
|
this.btnPricingV2.TabIndex = 24;
|
|
this.btnPricingV2.Text = "定价计算V2";
|
|
this.btnPricingV2.UseVisualStyleBackColor = true;
|
|
this.btnPricingV2.Click += new System.EventHandler(this.btnPricingV2_Click);
|
|
//
|
|
// FormOption
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(810, 631);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.panel2);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Name = "FormOption";
|
|
this.Text = "期权交易";
|
|
this.Load += new System.EventHandler(this.FormOption_Load);
|
|
this.panel2.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button btnCalcPv;
|
|
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
|
private System.Windows.Forms.Button btnCalcMargin;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.TextBox tbUnderlyingPrice;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox tbVol;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Button btnViewTrade;
|
|
private System.Windows.Forms.RichTextBox richTextBoxTrade;
|
|
private System.Windows.Forms.ComboBox cmbTradeDataSource;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetUnderlyingPrice;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetCurUmPrice;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetEodClosePrice;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetEodSettlePrice;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetVol;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetPositionVol;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetHedgeVol;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetOpenVol;
|
|
private System.Windows.Forms.Button btnPricing;
|
|
private System.Windows.Forms.Button btnViewPosition;
|
|
private System.Windows.Forms.CheckBox checkRealTime;
|
|
private System.Windows.Forms.RichTextBox richTextBoxLog;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.ToolStripMenuItem menuGetEodRefPrice;
|
|
private System.Windows.Forms.Button btnPricingV2;
|
|
}
|
|
} |