ExchangeSharp icon indicating copy to clipboard operation
ExchangeSharp copied to clipboard

Shorting

Open Retcorp opened this issue 1 year ago • 1 comments

Hi folks,

Shorting. i.e. placing a sell of an asset that I don't own, but an exchange allows (they don't all allow it on all currency pairs) with some leverage in place. Can I do that? I'm looking at the Kraken API for example and it appears that an order placed with the correct selection of properties will allow a short sell, or a "short buy" when relinquishing the position. I wondered if there were an ExchangeSharp wrapper around that for some or all exchanges. Looking at the code, I don't think there is, but I just wanted to ask if there were any thoughts about it perhaps? (I'm guessing there has been thought maybe, but time or resource has not allowed it to be implemented?).

https://docs.kraken.com/rest/#tag/Trading/operation/addOrder

Would be happy to help if this were something we thought the project might benefit from?

Regards

Jon

Retcorp avatar Sep 21 '23 20:09 Retcorp

I'm guessing there has been thought maybe, but time or resource has not allowed it to be implemented

👍

Would be happy to help if this were something we thought the project might benefit from?

Certainly. We would be happy to accept a pull request that implements this

vslee avatar Sep 21 '23 21:09 vslee