mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-30 23:16:52 +00:00
exchanges/account: add UpdatedAt field to Balance and ProtectedBalance (#1827)
* add updatedAt for account balance Signed-off-by: Ye Sijun <junnplus@gmail.com> * add nil pointer test for load Signed-off-by: Ye Sijun <junnplus@gmail.com> * account: set default updatedAt to balance for Update Signed-off-by: Ye Sijun <junnplus@gmail.com> * engine: add UpdatedAt for account info Signed-off-by: Ye Sijun <junnplus@gmail.com> * account: force updatedAt for load balance Signed-off-by: Ye Sijun <junnplus@gmail.com> * minor change for test Signed-off-by: Ye Sijun <junnplus@gmail.com> --------- Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
@@ -181,6 +181,7 @@ message AccountCurrencyInfo {
|
||||
double free = 4;
|
||||
double free_without_borrow = 5;
|
||||
double borrowed = 6;
|
||||
google.protobuf.Timestamp updated_at = 7;
|
||||
}
|
||||
|
||||
message GetAccountInfoResponse {
|
||||
|
||||
Reference in New Issue
Block a user