Comments (7)
I think you are talking about examples on readme file. I've fixed it in v5.0.5 both 638c68a and https://www.nuget.org/packages/OKEx.Net/5.0.5
from okex.net.
Can you explain please? which endpoint? what are the meanings of those numbers?
from okex.net.
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
from okex.net.
It returns WebCallResult<IEnumerable> data type. So you have an IEnumerable object in "account_04.Data" in your picture. You can use it as a list or array. Try to loop with for or foreach as below
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.
from okex.net.
yes in the readme file. tnx a lot. but really I couldn't find as you saw that image. there is not exist. I don't know how to use . for and foreach didn't work cuz account_04.Data returns zero, and could contain the loop. could you plz sample code that how can I use this method. whatever you know is simple that I understand
from okex.net.
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)
from okex.net.
is there any software that works the same as this code?
finally, I couldn't understand code and couldn't use it!
from okex.net.
Related Issues (20)
- Can't connect to candles socket. HOT 1
- Dostum mükemmel kütüphaneler hazırlamışsın. Teşekkürler ! HOT 1
- OKX api doesnt respond account balance anymore
- Funds Transfer Error HOT 1
- SubscribeToOrderUpdates Failed to deserialize data HOT 3
- Please update CryptoExchange.Net up to version 5.3.0 HOT 1
- Please update CryptoExchange.Net up to version 5.3.0 HOT 1
- How to use stoploss and take profit? HOT 4
- Can't get list of deals sequentially
- error in calling UnitConvert HOT 1
- The parameter tag of the function PlaceOrder has been removed HOT 1
- Could you please add a new api: /api/v5/market/exchange-rate HOT 2
- Missing params in Place Order HOT 3
- Cyclic Error by WebSocket HOT 2
- Spot -> Market Emir Hatası HOT 3
- api.GetInstruments error Error setting value to 'state' HOT 2
- How can I calculate withdrawal fee automatically? HOT 4
- What password do I need to use? HOT 2
- how to create a new deposit address via api? HOT 1
- Sync with new CryptoExchange.Net v6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okex.net.