market filter - source removed in favour of type and maker_order_id
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
a3c15365f2
commit
a2adce3670
@ -35,7 +35,8 @@ message CalcMarketReq {
|
|||||||
double amount = 4;
|
double amount = 4;
|
||||||
double unit_price = 5;
|
double unit_price = 5;
|
||||||
MarketParticipantType participant_type = 6;
|
MarketParticipantType participant_type = 6;
|
||||||
optional wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
|
optional wallet.v1.BuyAssetSide req_side =
|
||||||
|
7; // For Calculation : can be from asset or irt
|
||||||
}
|
}
|
||||||
|
|
||||||
message CalcMarketRes {
|
message CalcMarketRes {
|
||||||
@ -43,7 +44,8 @@ message CalcMarketRes {
|
|||||||
double calculated_asset_amount = 2;
|
double calculated_asset_amount = 2;
|
||||||
wallet.v1.EffectiveCommission commission = 3;
|
wallet.v1.EffectiveCommission commission = 3;
|
||||||
MarketParticipantType participant_type = 4;
|
MarketParticipantType participant_type = 4;
|
||||||
wallet.v1.BuyAssetSide req_side = 5; // For Calculation : can be from asset or irt
|
wallet.v1.BuyAssetSide req_side =
|
||||||
|
5; // For Calculation : can be from asset or irt
|
||||||
}
|
}
|
||||||
|
|
||||||
message MPHistoryFilter {}
|
message MPHistoryFilter {}
|
||||||
@ -76,7 +78,8 @@ message MarketOrder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message MarketAssetListReq {
|
message MarketAssetListReq {
|
||||||
optional auth.v1.InternalIAM iam = 1; // If not set, will returns only public orders which are limited by a
|
optional auth.v1.InternalIAM iam =
|
||||||
|
1; // If not set, will returns only public orders which are limited by a
|
||||||
optional uint32 page_no = 2;
|
optional uint32 page_no = 2;
|
||||||
optional uint32 page_size = 3;
|
optional uint32 page_size = 3;
|
||||||
}
|
}
|
||||||
@ -92,7 +95,8 @@ message PurchaseReq {
|
|||||||
auth.v1.InternalIAM iam = 1;
|
auth.v1.InternalIAM iam = 1;
|
||||||
uint64 order_id = 2;
|
uint64 order_id = 2;
|
||||||
double amount = 3;
|
double amount = 3;
|
||||||
wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
|
wallet.v1.BuyAssetSide req_side =
|
||||||
|
7; // For Calculation : can be from asset or irt
|
||||||
optional bool accepted_contract = 4;
|
optional bool accepted_contract = 4;
|
||||||
optional auth.v1.TFA tfa = 5;
|
optional auth.v1.TFA tfa = 5;
|
||||||
}
|
}
|
||||||
@ -151,8 +155,8 @@ message OrderListFilter {
|
|||||||
optional uint64 order_id = 11;
|
optional uint64 order_id = 11;
|
||||||
optional uint64 trx_id = 12;
|
optional uint64 trx_id = 12;
|
||||||
optional bool is_public = 13;
|
optional bool is_public = 13;
|
||||||
optional bool has_source = 14;
|
optional MarketParticipantType participant_type = 14;
|
||||||
optional uint64 source_order_id = 15;
|
optional uint64 maker_order_id = 15;
|
||||||
optional string from_date = 16;
|
optional string from_date = 16;
|
||||||
optional string to_date = 17;
|
optional string to_date = 17;
|
||||||
optional MarketOrdersSortBy sort_by = 18;
|
optional MarketOrdersSortBy sort_by = 18;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user