GrznarAi.Trading.ReadOnly – A C# NuGet Package for the eToro API
I have released a new NuGet package GrznarAi.Trading.ReadOnly, which enables working with the public eToro API from C#.
The package is currently available as an alpha (pre-release) version and is focused purely on read-only scenarios.
What the package currently provides
The current version covers basic data operations:
- market data (instruments, search)
- watchlists
- basic account calculations (e.g. derived values based on available data)
- GET endpoints only
It does not yet support any write operations or trading.
Why it was created
There were essentially two main reasons:
1) Personal need
The primary motivation was purely practical.
I wanted better tools for:
- custom dashboards
- working with historical data
- gradually more advanced scenarios (e.g. automation)
Without a dedicated abstraction layer over the API, this was unnecessarily complicated.
2) Lack of a .NET solution
If a solid NuGet package for .NET already existed, I likely wouldn’t have built this.
However, since no usable solution was available, the first version was created — and it makes sense to share it.
Notes on the API (practical observations)
During implementation, I encountered several inconsistencies between the documentation and actual API behavior.
Nothing critical, but something to be aware of.
Market data
pageSizeis not always deterministic
→ with higher values, it may return varying result countssortparameter
→ in some cases results in404 Not FoundpageNumber
→ may have no effect on paginationparameter combinations
→ some combinations are not accepted by the API
Watchlist
itemsPerPagehas no observable effect- overlaps in meaning with
itemsLimit - documentation and actual behavior partially differ
Current status
The package is in alpha, which means:
- the API wrapper is not complete
- bugs may occur
- some scenarios are not yet covered
On the other hand:
- core functionality works
- behavior is more consistent and predictable than direct API usage
- the project was partially developed using modern AI-assisted coding tools
Roadmap
Further development will focus on:
- stabilizing existing endpoints
- gradually expanding API coverage
- better abstraction of inconsistent API behavior
- potentially extending beyond read-only scenarios
Feedback
If you are working with the eToro API or building trading tools in C#,
any feedback or ideas are welcome.
Project available on GitHub:
https://github.com/Michal1609/grznarai-trading-readonly
⚠️ Disclaimer
This project is not affiliated with or officially supported by eToro.
The package is intended for informational and development purposes only. It does not provide financial advice and should not be used as the sole basis for trading decisions.
Data retrieved from the API may be inaccurate or incomplete. Use of this library is at your own risk.