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.

Add Support to Margin Trading with Binance

See original GitHub issue

Expected Behavior

Be able to trade using a margin account with Binance in live and backtesting modes: https://www.binance.com/en/support/faq/c-3#/3/16

Actual Behavior

Not supported.

Reproducing the Problem

        public BinanceBrokerageModel(AccountType accountType = AccountType.Cash) : base(accountType)
        {
            if (accountType == AccountType.Margin)
            {
                throw new ArgumentException("The Binance brokerage does not currently support Margin trading.");
            }
        }

at BinanceBrokerageModel.cs#L43.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
markudevelopcommented, Sep 8, 2021

+1

2reactions
markudevelopcommented, Sep 11, 2021

Maybe it’s possible to use coins from Binance and paper margin? I just need all the coins from Binance and short support but don’t have to send those signals to Binance broker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Margin Trading Cryptocurrency: All there is to know
Margin trading is a way of using funds provided by a third party to conduct asset transactions. Compared with regular trading accounts, margin...
Read more >
How to Get Started with Margin Trading on Binance App
See the guide below to get started with Margin Trading on the Binance App in 4 easy steps.
Read more >
How Does Leverage Trading In Crypto Work?
Under your account balance information, click 'Margin'. After reading the margin account agreement, select 'I understand'. Then, you will be ...
Read more >
Spot & Margin Trading | Binance Support
Find here info on Binance Spot, Margin and OTC trading rules & procedures.
Read more >
How to Use the Margin Lite Trading Mode on ...
1. Log in to your Binance App and make sure that you are using the Pro version. · 2. Tap [Trade] at the...
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