Comments (7)
Didn't know OpenAPI since now, sounds very interesting but is a huge rework of the lib :/ so if anyone is interested in following this path, I encourage them, but I personally don't have the time to invest in this potential improvement
from coinnect.
There seems to already exist a swagger-codegen template for rust.
from coinnect.
This looks to me like it should be the top priority issue. Coinnect deals with (crypto)currencies, and as such reliability, stability and easiness of maintenance are very important. I'm probably going to start investigating this and maybe work on this first (before working on adding exchanges or futures).
from coinnect.
As you can probably see, I've pushed a PR with a first sketch of a GDAX OpenAPI specification, along with the instructions to generate the Rust API from it. Please don't hesitate to comment on how you feel about this.
from coinnect.
I certainly love that :) thank you
from coinnect.
I would suggest keeping those auto-generated clients in a crate, on this type safe clients we can then implement more general traits, general for all exchanges.
I think we would need to split the traits as much as possible, eq. Ticker
trait etc.
from coinnect.
I can recommend using editor.swagger.io for editing the spec, it catches all errors.
from coinnect.
Related Issues (20)
- Fix credentials format HOT 2
- Establish some workflows HOT 19
- Moving Currency and Pair to Types so all the types live under the same module HOT 5
- Use RustCrypto instead of rust-crypto HOT 4
- BTC fork HOT 3
- temporarily bypass the call rate limit in public query? HOT 10
- Prices in decimal instead of f64 HOT 8
- Replace the time library for chrono HOT 2
- block_or_continue doesn't wait the correct time
- Improve configuration and credentials system
- Docs on docs.rs do not work anymore HOT 9
- Proposal to implement async API (Futures) HOT 37
- Next exchange to include? HOT 15
- Bitstamp API methods that require POST parameters are broken HOT 2
- Update TravisCI Rust version HOT 1
- Order type for Poloniex HOT 1
- Return type of return_order_book should not be a Map HOT 4
- Poloniex returnChartData parse error HOT 2
- Error: hmac
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 coinnect.