Connect with us

Blockchain

Crypto Quant: programmatic trading of BTC using Binance and Backtrader — Part 1 of 3

Using Binance and Backtrader to analyze historical data, backtest models, automate crypto trading and confirm a few programmatic trading…

Published

on

This post is not about the crypto data site: https://cryptoquant.com, here we’re using ‘Crypto Quant’ descriptively. It’s a simple way to describe the programmatic work of understanding crypto currency movements.

‘Quant’ on Crypto is more interesting, in certain ways, than regular Quant:

  • the crypto market is ON 24×7, no overnight holds, no holidays

https://www.binance.us/ (for US residents)

The site and app are a great way to get into crypto currencies. You will need to verify your identity in a multi-step process. The signup process is similar to Coinbase and other similar ‘wallet’ apps.

It makes intuitive sense that you can buy US$ for crypto coins on these ‘wallet’ apps. What isn’t necessarily obvious is that they encourage you to ‘spot’ trade one crypto currency for another, this is how you achieve low trade commissions!

Spot-trades

Trade commissions of as low as 0.0075% of trade with no minimums.

Here’s a USD purchase of ADA coin, notice the 0.5% commission fee.

And here’s a spot-trade of BTC for ADA with BNB transaction fee, this works out to 0.075% (25% discount on 0.1% spot-trade fees) explained here.

This is a game-changer for programmatic trading: no minimum commissions. To achieve this you need to use another coin (rather than US$ in your account and accept that the commission will be paid in Binance coin (BNB). To put this into perspective: a $1,000 trade would carry $0.75 commission when done as a spot trade.

So now we have a way to trade with nominal fees. Just make sure you have sufficient BNB (Binance coin) for the fees.

But what if we want to exit positions to ‘cash’ in between trading sessions? This takes us outside the volatility as we tune our models and re-calibrate. If we leave our funds in BTC the volatility could be a problem during this time.

The answer is crypto coins ‘tied to’ US$, on Binance at the time of this piece there are 3 such coins: BUSD, USDT, USDC

You can see this in the upper right corner of the ‘basic’ trading desktop view: https://www.binance.us/en/trade/BTC_USD

So we have a way to go from US$ to a ‘stable’ coin tied to US$ from which we can trade to/from various crypto coins with nominal fees. Psyched.

note the ‘Taker’, ‘Maker’ transaction fees (click on calculator for details)

What else does a Crypto Quant hacker need? Data!

Data

Quant is nothing without lots of data! Fortunately Binance makes it easy for account holders (remember all the verification steps you were forced to go through) to get historical trade data without charge.

Get all the Crypto historical data you need free of charge.

In the pull-down menu below your name see ‘API Management’ screen. Creating a new API is easy.

And now you are ready to Quant. Let’s switch our attention to Python and Jupyter notebook where all our Quant dreams can come true! If you are not familiar with this environment, take some time to get into it, it’s an essential tool for Quant coding and Python data-science in general.

Quant is essentially data-science applied to market data.

Let’s get minute data for BTC from Jan 1’st 2021 in CSV format, for convenience I’ve uploaded it here.

Several other intervals are available, see Binance API docs.

We are now ready to analyze crypto trading data, we can backtest strategies, analyze model profitability and trade on the platform.

Part 2 of 3 is here.

Coinsmart. Beste Bitcoin-Börse in Europa
Source: https://medium.com/@gk_/crypto-quant-programmatic-trading-of-btc-using-binance-and-backtrader-part-1-of-3-4ec95d6e8df8?source=rss——-8—————–cryptocurrency

Blockchain

Wisebitcoin Opens Aggregate Trading For STORJ Against USDT

[PRESS RELEASE – Please Read Disclaimer] Wisebitcoin listed the STORJ/USDT aggregate trading pair on June 3, 2021. With aggregated trading, instead of supporting deposits and withdrawals, Wisebitcoin uses an aggregate trading system that automatically takes buy and sell orders from its own users and places those orders on other exchanges. In this way, users can […]

Published

on

[PRESS RELEASE – Please Read Disclaimer]

Wisebitcoin listed the STORJ/USDT aggregate trading pair on June 3, 2021.

With aggregated trading, instead of supporting deposits and withdrawals, Wisebitcoin uses an aggregate trading system that automatically takes buy and sell orders from its own users and places those orders on other exchanges. In this way, users can rest assured that the assets or tokens that are purchased via aggregated trading are all real assets that are in full reserves.

Aggregate trading makes it easy for growing platforms such as Wisebitcoin to quickly provide users with access to new and popular crypto tokens and assets.

The local and external order matching mechanisms used in Wisebitcoin’s aggregate trading system provide transaction speeds and user experiences that are similar to those seen when placing orders for other trading pairs on Wisebitcoin.

To meet the deposit and withdrawal requirements of users, Wisebitcoin will evaluate the volume of its aggregate trading tokens to determine whether to dock with project wallets that contain a large number of tokens or assets.

By providing liquidity, fast transactions, low fees, and a clean, intuitive UI to traders, Wisebitcoin makes it easy to invest in the crypto space and to trade popular, high market cap tokens and assets. By adding aggregate trading for STORJ to the platform, Wisebitcoin opens the doors to investment in one of the most popular decentralized file sharing and storage projects seen in the last few years.

About STORJ

Storj delivers secure, private, reliable, affordable, and decentralized cloud object storage for developers. Storj’s Decentralized Cloud Storage (DCS) files are encrypted, broken into pieces, and then distributed across a global cloud network instead of being stored on a single, centralized server. This makes data breaches impossible, and default encryption comes standard for all files. A decentralized network of Storage Nodes also makes data always available when it is needed, and open-source, full-stack compatibility makes it easy to build on the network.

You can learn more about the project here and you can read the project whitepaper here.

SPECIAL OFFER (Sponsored)

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to get 50% free bonus on any deposit up to 1 BTC.


Coinsmart. Beste Bitcoin-Börse in Europa
Source: https://cryptopotato.com/wisebitcoin-opens-aggregate-trading-for-storj-against-usdt/

Continue Reading

Blockchain

Dave Portnoy Disasgrees with Donald Trump That Bitcoin is a Scam

Barstool Sports founder Dave Portnoy said he disagrees with Donald Trump and that bitcoin’s not a scam.

Published

on

The CEO and founder of Barstool Sports – Dave Portnoy – admitted that at the beginning, he thought Bitcoin was a ”Ponzi scheme.” Eventually, he changed his stance and even opposed Donald Trump, who called the primary cryptocurrency a ”scam.”

Trump Is Wrong

In a recent interview for ”Varney & Co,” the founder of Barstool Sports – Dave Portnoy – shared his current view on bitcoin and the crypto market. He revealed that years ago, when the primary digital asset was introduced, it looked like a ”Ponzi scheme” to him, but later he started realizing its merit:

”I thought when Bitcoin was first introduced and for a long time that it was a Ponzi scheme. I’ve come around on it. It’s too widely accepted, there are too many people using it, too many big people believe in it, too many stores accepting it. There’s liquidity. You can get in and out of it easily.”

Recently, the ex-US president Donald Trump said Bitcoin looks like a scam and backed up the dollar as the ”world’s currency.” Portnoy opposed Trump even though he also had his doubts about the asset in its first years :

”I don’t know what it started as, but I certainly wouldn’t say it’s a scam now.”

Later on, the founder of Barstool Sports commented on the recent decline of the crypto market. He raised hopes that soon enough, digital assets will increase their fiat currency value. In his opinion, investors should be patient with them and hold on ”for the long game:.”

”Crypto isn’t going anywhere but it’s hard to brag about how great everything is going when you are down 50%.”

Portnoy’s Change of Heart

In September 2020, Portnoy pointed out that bitcoin lacks accountability due to the anonymity of Satoshi Nakamoto. As a result, if investors end up losing money or being scammed, they would prefer to know who’s the person behind the entire operation. He went even further, calling it ”one big Ponzi scheme.”


ADVERTISEMENT

It is worth mentioning that at some point, Dave Portnoy invested in the primary digital asset. He tweeted about a loss of $25,000 and stated that he currently owns zero bitcoins. Additionally, he vowed to interact with the stock market rather than the crypto one:

”I don’t need this. I know how the stock market works. I own the stock market. This Bitcoin – I don’t trust this market at all.”

In any case, it now seems that he has changed his stance on the primary cryptocurrency and he even flat-out said that he was wrong about it.

SPECIAL OFFER (Sponsored)

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to get 50% free bonus on any deposit up to 1 BTC.

You Might Also Like:


Coinsmart. Beste Bitcoin-Börse in Europa
Source: https://cryptopotato.com/dave-portnoy-disasgrees-with-donald-trump-that-bitcoin-is-a-scam/

Continue Reading

Blockchain

Rich Millennials Have a Large Chunk of Their Wealth in Crypto: CNBC Survey

47% of millennial millionaires have invested at least 25% of their wealth in the cryptocurrency market.

Published

on

Nearly half of the young investors with at least $1 million in their portfolio responded that they had located a large share of their funds in cryptocurrencies. Older generations, though, prefer fiat money.

Crypto Is a Trend among The Millennials

According to a CNBC survey with 750 participants, almost 50% of millennial millionaires have invested at least 1/4 of their wealth in cryptocurrencies. In comparison, more than 30% of them have located at least half of their assets in crypto. The company, which conducted the analysis, was Spectrum Group. Its president – George Walper – explained why the younger generations find the market so tempting:

”The younger investors jumped on it early when it was not as well know. They were more intellectually engaged with the idea even though it was new.”

On the other hand, the majority of older investors owning at least $1 million are not fond of digital assets as 83% of them do not believe in the crypto market and have none of their wealth in it. As a matter of fact, only 1 in every 10 keeps more than 10% of their funds in cryptocurrencies:

”Older investors and the boomers were largely saying ‘Is this legit?’ Older generations are further behind on the understanding.”

In addition, nearly half of millennial millionaires revealed owning NFTs while 40% consider it as a future option. Interestingly, most survey participants were not familiar with what exactly non-fungible tokens are, but they still described them as ”the next big thing.”

14% of Americans Own Crypto

At the end of April, the Winklevoss-run crypto exchange Gemini conducted another survey indicating that roughly 14% of US citizens had purchased digital assets. Two-thirds of the respondents classified themselves as ”crypto curious” while 23 went into the “disinterested” graph.


ADVERTISEMENT

Somewhat expectedly, bitcoin (BTC) has remained the most popular cryptocurrency as nearly all questioned people (95%) answered that they are familiar with it. 87% of those who have invested said that BTC is what they own. The Americans showed good knowledge of altcoins too, as 36% have put some of their wealth in ether (ETH), 22% in Bitcoin Cash (BCH), and 16% in Litecoin (LTC).

Like the CNBC survey, Gemini found out that most crypto investors are young people between 25 and 44. According to the collected data, the trading venue noted that ”the ”average” cryptocurrency owner is a 38-year-old male making approximately $111K a year.”

SPECIAL OFFER (Sponsored)

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to get 50% free bonus on any deposit up to 1 BTC.

You Might Also Like:


Coinsmart. Beste Bitcoin-Börse in Europa
Source: https://cryptopotato.com/rich-millennials-have-a-large-chunk-of-their-wealth-in-crypto-cnbc-survey/

Continue Reading

Blockchain

Texas Banks Can Now Provide Bitcoin Custody Services For Clients

Texas banks have received greenlight to store bitcoin and other crypto-assets for customers.

Published

on

With the recent increase in Bitcoin adoption, the Texas Department of Banking has confirmed that Texas state-chartered banks will now be allowed to store BTC and other cryptocurrencies for their clients.

Texas Banks to Hold Bitcoin

In an official notice issued Friday, the regulator noted that state-chartered banks can provide crypto-related services to their clients as long as they have “adequate protocols in place to effectively manage the risks and comply with applicable law.”

The financial agency also explained that since these digital currencies exist on the blockchain, holders will have to access them using private keys.

As a result, banks can either store clients’ private keys for them or hold the crypto assets in the bank’s custody, with total control over its new private keys. Whichever way, the decision is entirely up to the bank.

“As with the method of custody services, several secure storage options are available to the bank, each of which has distinctive characteristics pertaining to the level of security and accessibility. The bank will have to determine which storage option best fits the circumstances.”

Banks Can Partner Crypto Exchanges

The agency also stated that the bank needs to confirm the existence of adequate coverage with its insurance carrier to guarantee the safety of clients’ crypto assets.


ADVERTISEMENT

To be on the safe side, banks are advised to seek professional knowledge of the risks associated with dealing with cryptocurrencies.

The Texas Department of Banking also said that banks can partner with cryptocurrency exchanges to help them provide these services to their clients.

While crypto businesses might see this as a new and welcome development, the agency noted that it is not entirely new within its department.

“Texas state-chartered banks have long provided their customers with safekeeping and custody services for a variety of assets,” the regulator wrote.

“While custody and safekeeping of virtual currencies will necessarily differ from that associated with more traditional assets, the Texas Department of Banking believes that the authority to provide these services with respect to virtual currencies already exists pursuant to Texas Finance Code § 32.001.”

SPECIAL OFFER (Sponsored)

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to get 50% free bonus on any deposit up to 1 BTC.

You Might Also Like:


Coinsmart. Beste Bitcoin-Börse in Europa
Source: https://cryptopotato.com/texas-banks-can-now-provide-bitcoin-custody-services-for-clients/

Continue Reading
Blockchain9 mins ago

Wisebitcoin Opens Aggregate Trading For STORJ Against USDT

Blockchain11 mins ago

Dave Portnoy Disasgrees with Donald Trump That Bitcoin is a Scam

Blockchain11 mins ago

Rich Millennials Have a Large Chunk of Their Wealth in Crypto: CNBC Survey

Blockchain12 mins ago

Texas Banks Can Now Provide Bitcoin Custody Services For Clients

Blockchain12 mins ago

Ethereum Co-Founder Anthony Di Iorio Bets Big on the Future of Cardano and Polkadot

AR/VR1 hour ago

The five coolest games from Upload VR’s E3 2021 showcase

AR/VR2 hours ago

Open-World RPG A Township Tale is Coming to Oculus Quest in July

AR/VR2 hours ago

NERF Battles are Coming to Oculus Quest in 2022

AR/VR2 hours ago

I Expect You to Die 2 Features Wil Wheaton, Launches This Summer

AR/VR2 hours ago

Waltz of the Wizard’s Natural Magic Update Confirmed for July

Crowdfunding3 hours ago

New York based Earned Wage Fintech Clair Secures $15M to Help Gig Economy Workers

Aviation3 hours ago

JetBlue Wins Ecuador Fight Against Eastern Airlines

Cleantech3 hours ago

Driving Electric Is Much Better For Climate & Air Quality Than Gas-Powered Vehicles

Blockchain3 hours ago

Here’s how Bitcoin’s impending death cross could be a contrarian buy signal

Blockchain3 hours ago

Banks won’t exist in ten years unless they change their business model

Big Data3 hours ago

If you did not already know

Esports4 hours ago

FlyQuest play ‘Protect the Kog’Maw’ composition to perfection against TSM in upset victory during 2021 LCS Summer Split

AI4 hours ago

What Waabi’s launch means for the self-driving car industry

Cleantech4 hours ago

At G-7 Summit, World Leaders Must Commit to Increasing Climate Finance for Developing Countries

Crowdfunding4 hours ago

Digital Banking: Line Introduces Virtual Bank Platform via Partnership with PT Bank KEB Hana Indonesia

Crowdfunding4 hours ago

Digital Identity: Payments Giant Mastercard Finalizes Acquisition of ID Verification Service Ekata

AR/VR4 hours ago

Open-World RPG A Township Tale is Coming to Oculus Quest in July

AR/VR4 hours ago

NERF Battles are Coming to Oculus Quest in 2022

AR/VR4 hours ago

NERF Battles are Coming to Oculus Quest in 2022

AR/VR4 hours ago

I Expect You to Die 2 Features Wil Wheaton, Launches This Summer

AR/VR4 hours ago

Exclusive Preview – ‘A Township Tale’ is Bringing Deep Crafting to Quest

AR/VR4 hours ago

MMO-like ‘A Township Tale’ Coming to Oculus Quest on July 15th

Blockchain4 hours ago

Nvidia CEO: We’re “on the cusp of” a blockchain and NFT-enabled metaverse

Blockchain4 hours ago

Wisebitcoin Opens Aggregate Trading For STORJ Against USDT

Blockchain4 hours ago

Wisebitcoin Opens Aggregate Trading For STORJ Against USDT

Trending