# 11. 國內委託改價ModifyPriceOrder ( )
## 函式
```
ModifyPriceOrder (
string oIbno,
string oAccount,
string oBS,
string oClientOrdNo,
string oMarket,
string oOrderIP,
string oOrderNo,
string oSymbol,
double oPrice,
string oPriceflag = "1",
string oSub_Account = null,
string strSign = null,
string CA = null,
string b2bID = null,
string check_code = null,
string total_account = null,
string order_source = "0" )
```
## 輸入
oIbno:分公司代碼
oAccount:帳戶
oBS:買賣別<font color="#FF5353">(1-買、2-賣)</font>
oClientOrdNo:自訂序號<font color="#FF5353">(預設為空值)</font>
oMarket:商品別<font color="#FF5353">(1-期貨、2-選擇權、3-複式選擇權、4-期貨價差)</font>
oOrderIP:委託IP位置
oOrderNo:委託單號
oSymbol:商品
oPrice:委託價格<font color="#FF5353">(市價、範圍市價請帶0)</font>
oPriceflag:價格條件<font color="#FF5353">(1:限價、2:市價、3:市價停損(國外)、4:限價停損(國外)、5:範圍市價,預設為1)</font>
oSymbol:商品
oSubAccount:子帳號<font color="#FF5353">(預設為空值)</font>
strSign:簽章內容<font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font>
CA:憑證值<font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font>
b2bID:客戶之ID <font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font>
check_code:驗證碼<font color="#FF5353">(B2B使用者需自行填入由web登入所取得的值,一般使用者無須理會,預設為空值)</font>
total_account:驗證帳號<font color="#FF5353">(B2B使用者需自行填入由web登入所取得的值,一般使用者無須理會,預設為空值)</font>
order_source:下單來源別<font color="#FF5353">(0-同登入來源別、1-MultiCharts)</font>
## 回傳
1. 透過Report事件通知結果
2. 若送單失敗透過Error事件送出錯誤內容
## 說明
執行國內委託改價
---
###### tags: `下單API技術文件`