gateio / gateapi-go

100 stars 32 forks source link

problem with structured-products in the API #33

Open almqq opened 1 year ago

almqq commented 1 year ago

Hello,

The API call "GET /wallet/total_balance" does not show the structured-products balance. This is what I get when I call it:

{Total:
  {Amount:1234 Currency:USDT}        
           Details:map[             
              cbbc:{Amount:0 Currency:USDT}             
              cross_margin:{Amount:0 Currency:USDT}             
              delivery:{Amount:0 Currency:USDT}             
              finance:{Amount:1234 Currency:USDT}             
              futures:{Amount:5 Currency:USDT}             
              margin:{Amount:0 Currency:USDT}             
              quant:{Amount:0 Currency:USDT}             
              spot:{Amount:1234 Currency:USDT}        
         ]
}

Where is the spructured-products balance?

revilwang commented 1 year ago

Structured products are not contained at the moment.