question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gateio cross margin account method

See original GitHub issue

Make sure your local version of CCXT is up to date. Check by comparing the output of ccxt.version to https://github.com/ccxt/ccxt/blob/master/package.json#L3

  • OS:
  • Programming Language version:
  • CCXT version: 1.71.39
exchange2 = ccxt.gateio(
    {
        'enableRateLimit': True,
        'apiKey': 'key',
        'secret': 'secret',
        'options': {
            'defaultType': 'margin'
        }
    }
)
print(exchange2.private_margin_get_cross_accounts())

Is there a unified method available for fetching cross margin account on ccxt? Or there is only implicit method?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
kroitorcommented, Feb 4, 2022

@samgermain we have this in huobi.js, for example: https://github.com/ccxt/ccxt/blob/master/js/huobi.js#L1875 . I’m ok with making it a unified option + param override.

0reactions
leastchaoscommented, May 12, 2022

@samgermain Thank you. will test it out later. Can I check if watch_balance will be upgraded to include cross too?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Conduct Cross Margin Trading - Gate.io
Step 1: Log in to your Gate.io account. Go to "Trade" - "Margin Trading". You can either choose "standard" or "professional" version.
Read more >
Isolated Margin & Cross Margin - Gate.io
Under the cross margin mode, all balance in the user's account is used as the margin. Users can set up multiple contract positions...
Read more >
Rules for Cross Margin Trading - Gate.io
2.1 Margin traders can use their cross margin account's net balance as collateral for cross margin trading. 2.2 All currencies that are traded...
Read more >
Margin Trading_Cryptopedia Gateio
Essentially, margin trading is a method to trade assets using funds borrowed from the markets, which requires investors to commit a percentage of...
Read more >
How to use Margin Trading? - Gate.io
Margin trading is a way of trading that magnifies the profit and loss of spot trading. The user needs to provide a margin,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found