GET Market/GetCurrentMarket?stockNumber={stockNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
JsonResultModelOfIEnumerableOfKDayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errorcode | integer |
None. |
|
| msg | string |
None. |
|
| data | Collection of KDayModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errorcode": 2,
"msg": "sample string 3",
"data": [
{
"id": 1,
"basic_info_id": 2,
"day": "2025-12-13T02:52:31.9191543+08:00",
"open": 4.0,
"low": 5.0,
"high": 6.0,
"close": 7.0,
"volume": 8,
"amount": 9,
"ma5": 10.0,
"ma10": 11.0,
"ma20": 12.0,
"ma30": 13.0,
"dif": 14.0,
"dea": 15.0,
"macd": 16.0
},
{
"id": 1,
"basic_info_id": 2,
"day": "2025-12-13T02:52:31.9191543+08:00",
"open": 4.0,
"low": 5.0,
"high": 6.0,
"close": 7.0,
"volume": 8,
"amount": 9,
"ma5": 10.0,
"ma10": 11.0,
"ma20": 12.0,
"ma30": 13.0,
"dif": 14.0,
"dea": 15.0,
"macd": 16.0
}
]
}
application/xml, text/xml
Sample:
<JsonResultModelOfArrayOfKDayModelYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
<data>
<KDayModel>
<amount>9</amount>
<basic_info_id>2</basic_info_id>
<close>7</close>
<day>2025-12-13T02:52:31.9191543+08:00</day>
<dea>15</dea>
<dif>14</dif>
<high>6</high>
<id>1</id>
<low>5</low>
<ma10>11</ma10>
<ma20>12</ma20>
<ma30>13</ma30>
<ma5>10</ma5>
<macd>16</macd>
<open>4</open>
<volume>8</volume>
</KDayModel>
<KDayModel>
<amount>9</amount>
<basic_info_id>2</basic_info_id>
<close>7</close>
<day>2025-12-13T02:52:31.9191543+08:00</day>
<dea>15</dea>
<dif>14</dif>
<high>6</high>
<id>1</id>
<low>5</low>
<ma10>11</ma10>
<ma20>12</ma20>
<ma30>13</ma30>
<ma5>10</ma5>
<macd>16</macd>
<open>4</open>
<volume>8</volume>
</KDayModel>
</data>
<errorcode>2</errorcode>
<msg>sample string 3</msg>
<success>true</success>
</JsonResultModelOfArrayOfKDayModelYgFqSxnr>