예제 #1
0
 public async Task SendOrderToWalletAsync(Guid userId, string symbol, decimal value, int amount, bool isCloseOrder, string orderType)
 {
     using (var client = new WalletClient())
     {
         var assetsRequestDto = new AssetRequestDto(symbol, value);
         var walletRequest    = new WalletRequest(userId, assetsRequestDto, amount, isCloseOrder, orderType);
         await client.SendOrderAsync(walletRequest);
     }
 }