Closed ali7sa closed 2 years ago
Can you explain please? which endpoint? what are the meanings of those numbers?
I think you are talking about examples on readme file. I've fixed it in v5.0.5 both https://github.com/burakoner/OKEx.Net/commit/638c68a00cb53a3f49472b27cb90c4aaf624463a and https://www.nuget.org/packages/OKEx.Net/5.0.5
tnx a lot. It's ok now. but could you plz tell me how to use this method? you can see my problem in this link. this is an image --> https://ibb.co/H2H2R8b which attribute should I use for reporting? for example something like as xlsx or CSV or something like that. there are lots of methods. it's complicated. is there any manual or paper sheet or guide? thanks in advanced
It returns WebCallResult<IEnumerable
var html = "<table>";
html +="<tr>";
html +="<td>Currency</td>";
html +="<td>Time </td>";
html +="<td>Instrument</td>";
html +="<td>InstrumentType</td>";
html +="<td>MarginMode</td>";
html +="<td>BillId </td>";
html +="<td>OrderId</td>";
html +="<td>Balance </td>";
html +="<td>BalanceChange </td>";
html +="<td>Quantity</td>";
html +="<td>Fee</td>";
html +="<td>FromAccount</td>";
html +="<td>ToAccount </td>";
html +="<td>Notes </td>";
html +="</tr>";
foreach(var bill in account_04.Data){
// Your action
// bill is a OkexAccountBill object. (https://github.com/burakoner/OKEx.Net/blob/a1cd2dbc1b51b9c9aca3ac47052d608e9260161a/Okex.Net/RestObjects/Account/OkexAccountBill.cs)
html +="<tr>";
html +="<td>"+bill.Currency+"</td>";
html +="<td>"+bill.Time +"</td>";
...
html +="</tr>";
}
html +="</table>";
I hope this sample will help you.
Notes: I didnt try it I've just written it here. Please fix if there is syntax error.
yes in the readme file. tnx a lot. but really I couldn't find
If you dont know where to go I cant help you. You need to check is there is rows in data as below.
if(account_04.Data.Count()>0)
is there any software that works the same as this code? finally, I couldn't understand code and couldn't use it!
in Account Endpoints, we have 19 accounts. all of them are true except numbers 4 and 5. why? 4 and 5 return false but other return true.