-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross Margin ? #5
Comments
It's mainly a risk concern. Wicks do happen. If what you meant by "cross margin usdt" is "Single currency margin" mode with cross margin positions, you only get "P&L offset" when you open margin long with USDT and perpetual short. If you want to use spot cryptos as margin, you have to use "Multi-currency margin" mode and cross margin positions. It only increases capital efficiency by at most 33% compared to 3x leverage in isolated margin mode. And to keep position value in USD relatively the same you have to dynamically leverage and deleverage, which is already done in isolated margin mode. |
I'm using single currency margin. I dont get why they wouldn't be the same usd value. I'm still newbie at this and maybe this is horribly wrong but it has proven itself for 2 weeks. Also wicks could be a problem thats right. |
I don't understand your question. What should have the same usd value? If
you are talking about the PL, the exchange might count your margin interest
in the PL. To net profit in this trade the net funding rate should be
positive.
…On Tue, Mar 15, 2022, 05:50 Kroissan ***@***.***> wrote:
I'm using single currency margin.
I'm opening my positions like so and i'm earning money somehow:
Here is looks-usdt-swap long x5
and looks-usdt margin sell x5 where i'm borowing looks, the only thing
being that loan fees are incresing my liabilty so i need to repay(reduce)
my position to get it the same size as my perp position.
[image: image]
<https://user-images.githubusercontent.com/66138267/158359885-c5fff65c-c3d4-4463-ae02-3163298cd0b3.png>
I dont get why they wouldn't be the same usd value. I'm still newbie at
this and maybe this is horribly wrong but it has proven itself for 2 weeks.
Maybe it's taking funding account as collateral because i have plenty of
crypto on their too ?
Also wicks could be a problem thats right.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPXLOMEMW2LLIUHNMO27PDVABTN7ANCNFSM5QUY4QTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
I did a proof of concept doing funding arbitrage on okx, while i was trying to make a production version i found your project which is exactly what i was trying to do. This really is great work.
But I was wondering why wouldnt you go cross margin usdt. It's very unlikely you will get a margin call considering the spread on okx. Like when your short position loose money, your long will gain some anyway. Doing isolated need stoplosses whereas cross shouldnt need any.
Is my thought wrong or please would you clarify on that ?
Thanks you for your work
The text was updated successfully, but these errors were encountered: