catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Margin Trading in Catalyst - Short Sells practically not possible

Open avolution opened this issue 7 years ago • 7 comments

At the Moment when I execute an order lets say

order_target_value(symbol('btc_usd'), -30.0)

It will be executed as an low level exchange order.

This is a problem because in this case Short Positions are not really possible because you have to have an amount of every currency which have pairs in your universe.

Otherwise you will get an exceptions like this: For example: catalyst.exchange.exchange_errors.ExchangeRequestError: Request failed: bitfinex {"message":"Invalid order: not enough exchange balance for -0.00367152 BTCUSD at 8170.0"}

So its not practically posible to use short sells(and related strategies in result).

Is it possible/ planed to switch to margin trading I think ccxt is able to do margin-trading

Margin Trading makes much more sense cause a lot of quant strategies are more related to margin trading with leverage as to low level exchange trading.


I have tested this on Bitfinex Catalyst Version 0.5.18

avolution avatar Jul 25 '18 10:07 avolution

according to issue #235, shorting is not yet possible. :(

SOGorman35 avatar Jul 25 '18 11:07 SOGorman35

@SOGorman35 Thanks for the link So its from 16 Feb

@catalyst-support @lenak25 How is the priority for implementing margin-trading? I can provide help for implementing it, if needed.

avolution avatar Jul 25 '18 12:07 avolution

@avolution, we haven't yet started addressing it and will appreciate any contribution. Thanks!

lenak25 avatar Jul 25 '18 13:07 lenak25

@catalyst-support Curious if this has been started and/or if myself or someone else should lend a hand to start work on it? Thanks!

richrines avatar Sep 25 '18 23:09 richrines

Hi @richrines , we still haven't started addressing it, any contribution will be very much appreciated.

lenak25 avatar Sep 26 '18 13:09 lenak25

Hi @richrines , we still haven't started addressing it, any contribution will be very much appreciated.

Hi, what's up with shorts now?

0xDmtri avatar Oct 06 '19 22:10 0xDmtri

@QuantDimension check out -> https://github.com/enigmampc/catalyst/issues/559

avolution avatar Oct 08 '19 13:10 avolution