Comments (3)
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.
from futures-spot-arbitrage-okex-v5.
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.
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.
from futures-spot-arbitrage-okex-v5.
from futures-spot-arbitrage-okex-v5.
Related Issues (16)
- 你好,我用了你的代码,非常棒,输入币的时候,有个问题,可以解答一下吗?不胜感激 HOT 23
- 资金汇率 和资金费率 计算问题 HOT 1
- Parameter accountid is not passed when creating FundingRate object HOT 1
- Questions on src/monitor.py HOT 1
- local variable 'json_res' referenced before assignment HOT 4
- Move away from MongoDB
- Project refactor and overhaul HOT 5
- Telegram Group Chat HOT 1
- 谢谢,大佬,还有一个问题想请教一下,就是我点击记录行情的时候,总是报错,是因为我的timeout设置的过小吗? HOT 7
- 新版本执行后异常报错 HOT 3
- 点击记录行情,pymongo报连接池异常 HOT 2
- Monitoring existing position give this warning HOT 10
- 关于数据库的问题 HOT 3
- looking fine HOT 1
- coroutine 'record' was never awaited HOT 3
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 futures-spot-arbitrage-okex-v5.