Check exchange name and remove redundant code, use IOC orders for OANDA
This commit is contained in:
@@ -179,40 +179,6 @@ AccountDetailsSchema = {
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
"account": {
|
||||
"marginCloseoutNAV": "35454.4740",
|
||||
"marginUsed": "10581.5000",
|
||||
"currency": "EUR",
|
||||
"resettablePL": "-13840.3525",
|
||||
"NAV": "35454.4740",
|
||||
"marginCloseoutMarginUsed": "10581.5000",
|
||||
"marginCloseoutPositionValue": "211630.0000",
|
||||
"openTradeCount": 2,
|
||||
"id": "101-004-1435156-001",
|
||||
"hedgingEnabled": False,
|
||||
"marginCloseoutPercent": "0.14923",
|
||||
"marginCallMarginUsed": "10581.5000",
|
||||
"openPositionCount": 1,
|
||||
"positionValue": "211630.0000",
|
||||
"pl": "-13840.3525",
|
||||
"lastTransactionID": "2123",
|
||||
"marginAvailable": "24872.9740",
|
||||
"marginRate": "0.05",
|
||||
"marginCallPercent": "0.29845",
|
||||
"pendingOrderCount": 0,
|
||||
"withdrawalLimit": "24872.9740",
|
||||
"unrealizedPL": "0.0000",
|
||||
"alias": "hootnotv20",
|
||||
"createdByUserID": 1435156,
|
||||
"marginCloseoutUnrealizedPL": "0.0000",
|
||||
"createdTime": "2016-06-24T21:03:50.914647476Z",
|
||||
"balance": "35454.4740",
|
||||
},
|
||||
"lastTransactionID": "2123",
|
||||
}
|
||||
|
||||
|
||||
class AccountSummaryNested(BaseModel):
|
||||
marginCloseoutNAV: str
|
||||
marginUsed: str
|
||||
|
||||
Reference in New Issue
Block a user