pub struct AccountApiTradingStatusResponse {
pub data: AccountApiTradingStatusResponseData,
}
Expand description
AccountApiTradingStatusResponse
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"indicators",
"isLocked",
"plannedRecoverTime",
"triggerCondition",
"updateTime"
],
"properties": {
"indicators": {
"description": "The indicators updated every 30 seconds",
"type": "object",
"required": [
"BTCUSDT"
],
"properties": {
"BTCUSDT": {
"type": "array",
"items": {
"type": "object",
"required": [
"c",
"i",
"t",
"v"
],
"properties": {
"c": {
"description": "Count of all orders",
"examples": [
20
],
"type": "integer",
"format": "int64"
},
"i": {
"description": "Unfilled Ratio (UFR)",
"examples": [
"UFR"
],
"type": "string"
},
"t": {
"description": "Trigger UFR value",
"examples": [
0.99
],
"type": "number",
"format": "float"
},
"v": {
"description": "Current UFR value",
"examples": [
0.05
],
"type": "number",
"format": "float"
}
}
}
}
}
},
"isLocked": {
"description": "API trading function is locked or not",
"examples": [
false
],
"type": "boolean"
},
"plannedRecoverTime": {
"description": "If API trading function is locked, this is the planned recover time",
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"triggerCondition": {
"type": "object",
"required": [
"GCR",
"IFER",
"UFR"
],
"properties": {
"GCR": {
"description": "Number of GTC orders",
"examples": [
150
],
"type": "integer",
"format": "int64"
},
"IFER": {
"description": "Number of FOK/IOC orders",
"examples": [
150
],
"type": "integer",
"format": "int64"
},
"UFR": {
"description": "Number of orders",
"examples": [
300
],
"type": "integer",
"format": "int64"
}
}
},
"updateTime": {
"examples": [
1547630471725
],
"type": "integer",
"format": "int64"
}
}
}
}
}
Fields§
§data: AccountApiTradingStatusResponseData
Trait Implementations§
Source§impl Clone for AccountApiTradingStatusResponse
impl Clone for AccountApiTradingStatusResponse
Source§fn clone(&self) -> AccountApiTradingStatusResponse
fn clone(&self) -> AccountApiTradingStatusResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for AccountApiTradingStatusResponse
impl<'de> Deserialize<'de> for AccountApiTradingStatusResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AccountApiTradingStatusResponse> for AccountApiTradingStatusResponse
impl From<&AccountApiTradingStatusResponse> for AccountApiTradingStatusResponse
Source§fn from(value: &AccountApiTradingStatusResponse) -> Self
fn from(value: &AccountApiTradingStatusResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountApiTradingStatusResponse
impl RefUnwindSafe for AccountApiTradingStatusResponse
impl Send for AccountApiTradingStatusResponse
impl Sync for AccountApiTradingStatusResponse
impl Unpin for AccountApiTradingStatusResponse
impl UnwindSafe for AccountApiTradingStatusResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more