alpacahq / alpaca-trade-api-csharp

C# SDK for Alpaca Trade API https://docs.alpaca.markets/
Apache License 2.0
247 stars 78 forks source link

Possible Broker API implementations #371

Open OlegRa opened 3 years ago

OlegRa commented 3 years ago

@tstraus13 The YAML file for the Alpaca Broker API. I'm still thinking about possible relationships between this SDK and Alpaca Broker API. Each solution (same package, separate independent package, extracting some interfaces into the shared package) has its own pros and cons.

I'll add a separate issue for discussing this problem with the community. But in any case, these changes will be part of version 6.0 and I will do it only after implementing most of the other tasks planned for this major release.

Originally posted by @OlegRa in https://github.com/alpacahq/alpaca-trade-api-csharp/issues/369#issuecomment-907669333

tstraus13 commented 3 years ago

Hello @OlegRa. I have just done a basic generation of the API using the YAML file with NSwag. I have attached the file to this post. Hopefully it is helpful as a starting point, if not feel free to not use it. openapiClient.cs.txt