# Outright transactions of government bonds (v4)

> API Name: /Bond/GetBondOutrightV4

<table><thead><tr><th width="212.23828125">Field name</th><th width="107.48046875">Data type</th><th width="73">Data length</th><th width="243.83203125">Description (VN)</th><th width="234.87890625">Description (EN)</th></tr></thead><tbody><tr><td>RecordId</td><td>int</td><td></td><td>Khóa chính của bảng auto-generated IDENTITY(1,1)</td><td>Primary key of table, auto-generated IDENTITY (1,1)</td></tr><tr><td>BondId</td><td>int</td><td></td><td>Mã xác định trái phiếu từ bảng FGFB_COIN_DR_Bond</td><td>Bond identification code from FGFB_COIN_DR_Bond table</td></tr><tr><td>TradingDateId</td><td>date</td><td></td><td>Ngày giao dịch</td><td>Trading Date</td></tr><tr><td>CurrencyId</td><td>tinyint</td><td></td><td>Mã loại tiền tệ từ bảng FGFB_CMMS_DM_Currency</td><td>Currency code from FGFB_CMMS_DM_Currency table</td></tr><tr><td>BondTradingTypeId</td><td>tinyint</td><td></td><td>Phương thức giao dịch ( thỏa thuận thông thường, điện tử…) từ bảng FGFB_BOTV_DM_BondTradingType</td><td>Transaction method (conventional, electronic, etc.) from the FGFB_BOTV_DM_BondTradingType table</td></tr><tr><td>UnitId</td><td>tinyint</td><td></td><td>Đơn vị của thời gian tới ngày đáo hạn (RemainLength) từ bảng FGFB_CMMS_DM_Unit</td><td>Unit of time to maturity (RemainLength) from table FGFB_CMMS_DM_Unit</td></tr><tr><td>GroupId</td><td>int</td><td></td><td>sàn giao dịch trái phiếu FGFB_COIN_DR_Group</td><td>bond exchange FGFB_COIN_DR_Group</td></tr><tr><td>RemainLength</td><td>smallint</td><td></td><td>Kỳ hạn còn lại (ngày)</td><td>Remaining term (days)</td></tr><tr><td>QuotePrice</td><td>int</td><td></td><td>Giá yết</td><td>Price quoted</td></tr><tr><td>OpenPrice</td><td>int</td><td></td><td>Giá mở cửa</td><td>Opening price</td></tr><tr><td>OpenRate</td><td>decimal</td><td>(9,8)</td><td>Lợi suất mở cửa</td><td>Open rate</td></tr><tr><td>HighPrice</td><td>int</td><td></td><td>Giá cao nhất</td><td>Highest price</td></tr><tr><td>LowRate</td><td>decimal</td><td>(9,8)</td><td>Lợi suất thấp nhất</td><td>Lowest rate</td></tr><tr><td>LowPrice</td><td>int</td><td></td><td>Giá thấp nhất</td><td>Lowest price</td></tr><tr><td>HighRate</td><td>decimal</td><td>(9,8)</td><td>Lợi suất cao nhất</td><td>The highest rate</td></tr><tr><td>AveragePrice</td><td>int</td><td></td><td>Giá thực hiện bình</td><td>Average price</td></tr><tr><td>AverageRate</td><td>decimal</td><td>(9,8)</td><td>Lãi suất thực hiện trung bình</td><td>Average rate</td></tr><tr><td>ClosePrice</td><td>int</td><td></td><td>Giá đóng cửa</td><td>Close Price</td></tr><tr><td>CloseRate</td><td>decimal</td><td>(9,8)</td><td>Lợi suất đóng cửa</td><td>Close Rate</td></tr><tr><td>YeildToMaturity</td><td>decimal</td><td>(9,8)</td><td>Lợi suất đáo hạn</td><td>Yeild to Maturity</td></tr><tr><td>TotalVolume</td><td>bigint</td><td></td><td>Tổng KLGD</td><td>Total volume</td></tr><tr><td>TotalValue</td><td>bigint</td><td></td><td>Tổng GTGD</td><td>Total value</td></tr><tr><td>BidVolume</td><td>bigint</td><td></td><td>Tổng KL chào mua</td><td>Total volume bid</td></tr><tr><td>OfferVolume</td><td>bigint</td><td></td><td>Tổng KL chào bán</td><td>Total volume offered</td></tr><tr><td>ForeignBuyVolume</td><td>bigint</td><td></td><td>KLGD mua Nước ngoài</td><td>Buying volume overseas</td></tr><tr><td>ForeignBuyValue</td><td>bigint</td><td></td><td>GTGD  mua nước ngoài</td><td>The trading value is foreign</td></tr><tr><td>PercentForeignBuyValue</td><td>decimal</td><td>(9,8)</td><td>Tỷ trọng GTGD mua (%) của nước ngoài</td><td>The percentage of trading value (%) of foreign investors</td></tr><tr><td>ForeignSellVolume</td><td>bigint</td><td></td><td>KLGD bán của nước ngoài</td><td>Foreign trading volume</td></tr><tr><td>ForeignSellValue</td><td>bigint</td><td></td><td>GTGD bán của nước ngoài</td><td>Foreign trading value</td></tr><tr><td>PercentForeignSellValue</td><td>decimal</td><td>(9,8)</td><td>Tỷ trọng GTGD Bán (%) của nước ngoài</td><td>Proportion of trading value (%) of foreign investors</td></tr><tr><td>ModificationId</td><td>bigint</td><td></td><td>Khóa ngoài sang bảng FGFB_BOTV_DR_Modification, lưu trữ các thông tin thay đổi của bảng ghi</td><td>Foreign key linked to  FGFB_BOTV_DR_Modification table, storing changes of record</td></tr><tr><td>RecordStatusId</td><td>tinyint</td><td></td><td>0: record khóa; 1: record mở; 2: record đã xóa </td><td>The record status: 0: Locked; 1: Open; 2: Deleted</td></tr><tr><td>IsHistory</td><td>bit</td><td></td><td>Lịch sử: 0: bản ghi hiện tại, 1 là bản ghi lịch sử</td><td>History. 0: current, 1: history</td></tr><tr><td>VersionDateId</td><td>date</td><td></td><td>Phiên bản lưu lịch sử (ngày ghi chép bản ghi lịch sử này vd: ngày công bố thông tin khi nhập lại thông tin lịch sử).</td><td>History record version (Record Date of this history record)</td></tr><tr><td>Status</td><td>bit</td><td></td><td>Status</td><td>Status</td></tr><tr><td>CreateDate</td><td>datetime</td><td></td><td>CreateDate</td><td>Creation date</td></tr><tr><td>UpdateDate</td><td>datetime</td><td></td><td>UpdateDate</td><td>Update date</td></tr></tbody></table>

<table><thead><tr><th width="115">CurrencyId</th><th width="144">CurrencyName</th><th width="157">en_CurrencyName</th><th width="134">CurrencyCode</th></tr></thead><tbody><tr><td>6</td><td>Đồng Euro</td><td>EURO</td><td>EUR</td></tr><tr><td>21</td><td>Đô la Mỹ</td><td>US Dollar</td><td>USD</td></tr><tr><td>22</td><td>Đồng Việt Nam</td><td>Vietnam Dong</td><td>VND</td></tr><tr><td></td><td>….</td><td></td><td></td></tr></tbody></table>

<table><thead><tr><th width="162.375">BondTradingTypeId</th><th width="189.08203125">BondTradingTypeName</th><th width="205.234375">en_BondTradingTypeName</th><th width="180.9921875">BondTradingTypeLevel</th></tr></thead><tbody><tr><td>1</td><td>Thỏa Thuận Thông thường</td><td>Normal Deal</td><td>1</td></tr><tr><td>2</td><td>Thỏa Thuận điện tử</td><td>Electric Deal</td><td>1</td></tr></tbody></table>

<table><thead><tr><th width="91.25">GroupId</th><th width="206.21875">IssueMethodName</th><th width="199.62109375">en_IssueMethodName</th><th width="153.171875">IssueMethodLevel</th></tr></thead><tbody><tr><td>11</td><td>VNINDEX</td><td>VNINDEX</td><td>4</td></tr><tr><td>46</td><td>HNXIndex</td><td>HNXIndex</td><td>4</td></tr><tr><td>47</td><td>UPCoMIndex</td><td>UPCoMIndex</td><td>4</td></tr><tr><td>65</td><td>OTC</td><td>OTC</td><td>4</td></tr><tr><td>64</td><td>Trái phiếu chuyên biệt</td><td>Specialized Government bonds</td><td>4</td></tr><tr><td>128</td><td>Trái phiếu riêng lẻ</td><td>Privately - Placed corporate bond</td><td>4</td></tr></tbody></table>

<table><thead><tr><th width="115">UnitId</th><th width="144">UnitName</th><th width="157">en_UnitName</th><th width="134">UnitLevel</th></tr></thead><tbody><tr><td>1</td><td>Ngày</td><td>Days  </td><td>1</td></tr><tr><td></td><td>…</td><td></td><td></td></tr></tbody></table>
