Tag Archives: Binance

How I deposited cash into Bitcoin into Binance with ccxt Python package

How I deposited cash into Bitcoin into Binance with a cash video playback. Bitcoin went up $1000 over the last 24 hours!! Details of the ccxt Python package is below:

Here are the notes

 

http://quantlabs.net/blog/2018/07/how-i-deposited-cash-into-bitcoin-into-binance-with-an-atm-and-cash/

Different funding anonymous options

https://www.chainbits.com/tools-and-platforms/how-to-use-binance/

For me locally (results in roughly 10% hefty fee but cheapers options below)

https://www.chainbits.com/tools-and-platforms/how-to-use-binance/

Could use this Digital Crypto Wallet

https://itunes.apple.com/us/app/coinomi-wallet/id1333588809?mt=8

(for Apple IOS but Android exists)

Need this for Binance and Coinomi

https://itunes.apple.com/ca/app/google-authenticator/id388497605?mt=8

Set up Binance API and secret key access

https://support.binance.com/hc/en-us/articles/115000840592-Binance-API-Beta

https://support.binance.com/hc/en-us/articles/115000433432-Google-2FA-Guideline

Other links to buy Bitcoin https://www.bitdegree.org/tutorials/cheapest-way-to-buy-bitcoin/amp/

To use Binance API

http://quantlabs.net/blog/2018/07/unknown-error-send-order-to-binance-exchange-with-python-ccxt-package/

To enable API, you login to follow these instructions  but understand working with unknown code from Binance crypto currency exchange. Realize that this is not an easy process like Coinbase. This is confirmation is not as slick as other brokers/exchanges I have worked with.

https://support.coinigy.com/hc/en-us/articles/360001144614-How-do-I-find-my-API-key-on-Binance-com-

https://support.binance.com/hc/en-us/articles/115000840592-Binance-API-Beta

Install ccxt Python package in your environment

https://github.com/ccxt/ccxt/tree/master/python

Also for CCXT Python package, use this source code example

https://github.com/ccxt/ccxt/issues/2552

New additions from last 24 hours:

http://quantlabs.net/blog/2018/07/bitcoin-funding-atm-coinami-wallet-coinbase/

More options but NOT tested!

Gemini Vs Coinbase

Bitcoin wiring can cost only 0.5% of the amount you transfer

https://www.quora.com/How-do-the-fees-on-Coinbase-compare-to-the-fees-on-Gemini

Gemini sounds like they are very slow to verify ID

More options even better:

Low transaction fees with exchange that gets decent reviews:

https://www.abitgreedy.com/247exchange/

https://www.abitgreedy.com/buy-bitcoin-with-prepaid-card/

How to Buy Bitcoin Anonymously & without ID

https://99bitcoins.com/buy-bitcoin-anonymously-without-id/amp/

Prepaid credit card options for Canada 

http://forums.redflagdeals.com/prepaid-credit-cards-continuously-updated-532830/

Get the LIMITED Python Algo Infrastructure course

New course!! Building Python algo trading system with Bitcoin an crypto currency focus

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Cryptocurrency hot potential big report buys for Jul 23 XZC BNB BCH Binance

The picks include XZCBNB and BCHBNB on Binance.

I got the big report working again for Jul 23 2018. It seems that the crypt currency asset class has definitely bottomed as Bitcoin is recovering nicely since last week. It seems that there will be more signals from my big report analysis process. Here is what was generated:

best expected returns
[‘BCHBNB’ ‘XZCBNB’]
nan
0.01952964873451806 <– expected returns of 1.9% move so I may check back tomorrow.

I am also hoping to add these process get added to my watchlist and positions manger processes I have been highlighting on the Youtube channel at youtube.com/quantlabs.

I made a video on this process and latest learning from this.

I also made a few Facebook Live announcements about this:

Also on Instagram

Remember my Python Algo trading course may be going up in the price in the next few days! Get it while it is still affordable. If these picks work out, who knows what the price will be

New course!! Building Python algo trading system with Bitcoin an crypto currency focus

I also added something from IGTV (Hey testing here)

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Webinar: How I funded Bitcoin and automated trades with Binance

Webinar: How I funded Bitcoin and automated trades with Binance
How I funded Bitcoin and automated trades with Binance. I explain the entire steps involved and different options available
Description

I will go through these steps as explained at

How I deposited cash into Bitcoin into Binance with an ATM and cash

http://quantlabs.net/blog/2018/07/how-i-deposited-cash-into-bitcoin-into-binance-with-an-atm-and-cash/

Send order to Binance exchange with Python CCXT package

http://quantlabs.net/blog/2018/07/unknown-error-send-order-to-binance-exchange-with-python-ccxt-package/

Time

Jul 24, 2018 7:00 PM Eastern Time (US and Canada)

Login details

Hi there,

You are invited to a Zoom webinar.
When: Jul 24, 2018 7:00 PM Eastern Time (US and Canada)
Topic: How I funded Bitcoin and automated trades with Binance

Please click the link below to join the webinar:
https://zoom.us/j/824670655

Or iPhone one-tap :
US: +16699006833,,824670655# or +16465588656,,824670655#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1 669 900 6833 or +1 646 558 8656
Webinar ID: 824 670 655
International numbers available: https://zoom.us/u/PVmSqBuI

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How I can automate my crypto currency trades on Binance

Here is an interesting journey I went on to sucessfully automate my trading for a CONFIRMED buy and sell of Crypto Currency on Binance! This involved my PRIVATE group found on Telegram to help me out. Here is some copy of this journey to make it happen:

Always remember this:

Just remember this will now be part of my Quant Analytics service against a LIVE account found in Binance! Do you know other services offer this instead of just pure education?

I also funded my Binance account by using this method

How I deposited cash into Bitcoin into Binance with an ATM and cash

Thanks Bryan

Here is the dialogue:

https://support.coinigy.com/hc/en-us/articles/360001144614-How-do-I-find-my-API-key-on-Binance-com-

https://support.binance.com/hc/en-us/articles/115000840592-Binance-API-Beta

Also for CCXT Python package, use this source code example

https://github.com/ccxt/ccxt/issues/2552

When I run this sample with test enabled, I get this return code:

{‘info’: {}, ‘id’: None, ‘timestamp’: None, ‘datetime’: None, ‘lastTradeTimestamp’: None, ‘symbol’: None, ‘type’: None, ‘side’: None, ‘price’: None, ‘amount’: None, ‘cost’: None, ‘filled’: 0.0, ‘remaining’: None, ‘status’: None, ‘fee’: None}

Blah blah but the final solution can be found at the bottom of this link

http://quantlabs.net/blog/2018/07/unknown-error-send-order-to-binance-exchange-with-python-ccxt-package/

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How I deposited cash into Bitcoin into Binance with an ATM and cash

 

How I deposited Bitcoin into Binance with an ATM and cash

Set of instructions on how to deposit cash into an crypto currency exchange with links

 

Bitcoin funding from ATM to Coinami Wallet to Coinbase

Helpful links from the video:

https://www.chainbits.com/tools-and-platforms/how-to-use-binance/

How To Buy Bitcoin

https://itunes.apple.com/us/app/coinomi-wallet/id1333588809?mt=8

https://itunes.apple.com/ca/app/google-authenticator/id388497605?mt=8

Montreal

https://support.binance.com/hc/en-us/articles/115000840592-Binance-API-Beta

https://support.binance.com/hc/en-us/articles/115000433432-Google-2FA-Guideline

Other links to buy Bitcoin https://www.bitdegree.org/tutorials/cheapest-way-to-buy-bitcoin/amp/

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

unknown crypto currency error: Send order to Binance exchange with Python CCXT package 

Sending order to Binance exchange with Python CCXT package

To enable API, you login to follow these instructions  but understand working with unknown code from Binance crypto currency exchange. Realize that this is not an easy process like Coinbase. This is confirmation is not as slick as other brokers/exchanges I have worked with.

https://support.coinigy.com/hc/en-us/articles/360001144614-How-do-I-find-my-API-key-on-Binance-com-

https://support.binance.com/hc/en-us/articles/115000840592-Binance-API-Beta

Also for CCXT Python package, use this source code example

https://github.com/ccxt/ccxt/issues/2552

When I run this sample with test enabled, I get this return code:

{‘info’: {}, ‘id’: None, ‘timestamp’: None, ‘datetime’: None, ‘lastTradeTimestamp’: None, ‘symbol’: None, ‘type’: None, ‘side’: None, ‘price’: None, ‘amount’: None, ‘cost’: None, ‘filled’: 0.0, ‘remaining’: None, ‘status’: None, ‘fee’: None}

Confirmed Binance login

Do understand this account is unfunded so it does confirm to work when you enter the correct API and secret keys. If the secret or API keys were incorrect, you will get this exceptions:

File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/binance.py”, line 834, in handle_errors
raise ExchangeError(self.id + ‘: unknown error code: ‘ + body + ‘ ‘ + error)
ccxt.base.errors.ExchangeError: binance: unknown error code: {“code”:-1022,”msg”:”Signature for this request is not valid.”} -1022

In the Trenches with Crypto Currencies video replay

Here is an ongoing dialogue with my most helpful dialogue PRIVATE Telegram group:

for anyone with Binance API experience. I am using this example with binance for CCXT https://github.com/ccxt/ccxt/issues/2552

Some coding examples

It seems to login ok with the proper API keys. I test a fake one which resulted as an error as expected. When I try set up these coding parameters with:

symbol = ‘XZC/BNB’

#symbol = ‘BCH/BNB’

type = ‘limit’ # or ‘market’

side = ‘buy’ # or ‘buy’

amount = 1.0

price = 1.302 #0.060154 # or None

# extra params and overrides if needed

params = {

‘test’: True, # test if it’s valid, but don’t actually place it

}

order = exchange.create_order(symbol, ‘limit’, side, amount, price, params)

It results in which is nothing:

{‘info’: {}, ‘id’: None, ‘timestamp’: None, ‘datetime’: None, ‘lastTradeTimestamp’: None, ‘symbol’: None, ‘type’: None, ‘side’: None, ‘price’: None, ‘amount’: None, ‘cost’: None, ‘filled’: 0.0, ‘remaining’: None, ‘status’: None, ‘fee’: None}

My test account has a Bitcoin balance of 0.00176200. Do I need to choose another pair with a lower value? Do I need to only use a crypto currency pair with BTC not BNB?

Thanks

also, i tried this code:

symbol = ‘XLM/BTC’

#symbol = ‘XZC/BNB’

#symbol = ‘BCH/BNB’

type = ‘limit’ # or ‘market’

side = ‘buy’ # or ‘buy’

amount = 1.0

#price = 1.302 #0.060154 # or None

price =0.00003550

but now get response of: ccxt.base.errors.InvalidOrder: binance {“code”:-1013,”msg”:”Filter failure: MIN_NOTIONAL”}

any pointers?

—–

MIN_NOTIONAL hints at your account not having enough capital/margin for the transaction. Have you verified this?

I’d suggest you try a transaction with an amount of 0.01 or something like that ← tried this but it did not correct the problem

For the currency question based on the pair:

Yes, in this case you need BNB in order to convert it to XZC. So you would first have to convert your BTC to BNB using the BNB/BTC pair.

…Yes, it sounds like you’re hitting a minimum order size restriction. Don’t forget that order sizes are denominated in the base currency of the pair (XLM in this case). One XLM is only worth 27c, so try increasing the order size to 10, or 50 or something like that.

It looks the like the minimum order size on Binance is 0.002 BTC, so try an order size greater than 55 or 60.

Source code updates compared to a few weeks

I also got this CCXT exception:

ccxt.base.errors.ExchangeNotAvailable: binance POST https://www.binance.com/api/v1/order 400 Bad Request {“code”:-1104,”msg”:”Not all sent parameters were read; read ‘8’ parameter(s) but was sent ‘9’.”}

But here is the latest source code sample:

import ccxt

exchange = ccxt.binance({

‘apiKey’: , ## these appear to work with valid keys

‘secret’: ,

‘enableRateLimit’: True,

})

symbol = ‘XLM/BTC’

#symbol = ‘XZC/BNB’

#symbol = ‘BCH/BNB’

typ = ‘limit’ # or ‘market’

side = ‘buy’ # or ‘buy’

amount = 55 #1.0 tried 0.1 but not balid

#price = 1.302 #0.060154 # or None

price =0.00003550

# extra params and overrides if needed

#removed because of this exception

#ccxt.base.errors.ExchangeNotAvailable: binance POST https://www.binance.com/api/v1/order 400 Bad Request {“code”:-1104,”msg”:”Not all sent parameters were read; read ‘8’ parameter(s) but was sent ‘9’.”}

# File “testBinanceOrder.py”, line 26, in <module>

# order = exchange.create_order(symbol, ‘limit’, side, amount, price, params)

# NameError: name ‘params’ is not defined

params = {

‘test’: True # test if it’s valid, but don’t actually place it

}

order = exchange.create_order(symbol, typ, side, amount, price, params)

print(order)

note the new exception of Not all sent parameters were read; read ‘8’ parameter(s) but was sent ‘9’.”

i am sending a total of 9 of but what am I supposed to eliminate? i tired the extra params but that did not help

I finally got something working with this https://github.com/ccxt/ccxt/issues/298

Can you post verbose output for it?

Try a minimal example:

import ccxt
binance = ccxt.binance({
    "apiKey": "YOUR_KEY",
    "secret": "YOUR_SECRET",
    "verbose": True,
})
print(binance.create_market_sell_order('BTC/USDT', 0.00711675))


This also seems to work fine as well:

#print(binance.create_market_sell_order(‘BTC/USDT’, 0.0001))
print(binance.create_market_buy_order(‘BTC/USDT’, 0.00001))

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Lessons learned about CCXT Python package for 3 largest crypto exchanges Bitmex binance OKex

Lessons learned about CCXT Python package for 3 largest crypto exchanges Bitmex Binance OKex

Please be advised

Using CCXT with a recent script I sourced to download generically from various exchanges is powerful. I have thought come across some severe limitations in the process.

  1. Binance appears to be the most reliable since you have the widest selection of timeframes you can use. Also, you can download up to 1000 rows into a comma separated value file as well.
  2. Both Bitmex and OKEx offer some form downloading limit of 500 which really messes up my analytical Python script. When downloading, you can only seem to have a limit of 400 to just under 500. This seems to work only work for lower time frames like 1 or 5 minutes. As the timeframe selection is very limited compared to Binance.

I am unsure of other crypto currency exchanges what limitations offer but I will stick with Binance for now as the only exchange of interest. It seems that the others offer much lower daily volume which means slower fills due to lower liquidity.  Also the other exchanges have weird download exceptions which also means the charting will not work as well.

 

Further note about Bitfinix

I just execute 5 request no different than Binance, Bitfinex starts thinking it is being attacked where it responds:

ccxt.base.errors.DDoSProtection: bitfinex {“error”:”ERR_RATE_LIMIT”}

Pretty pathetic architecture if you ask me.

In summary, it just seems that Binance works out of box for both downloading and charting.

 

Update: Which Bitcoin crypto currency bot project? Gekko vs ccxt vs Tribeca vs Blackbird

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

WOW 107 crypto currency pair scan of Binance reveal huge moves with automated Head and Shoulder

I must say I am like a proud day when I show some of these crypto currency pair moves. Just watch this video as I scanned over 107 pairs from Binance. It reveal some nice moves just from this one indicator I call automated head and shoulders with a green dot. This video explains it all.

Go here to see my original video

This is big

If you want to join my webinar tonite as further investigate this for other exchanges like Bitmex or OKEx, just watch this live one time only event tonite at 7PM.

(EXCITING Video coming in a few hours)

Here are the login details (use this latest login id) and this will be streamed live on my Youtube channel at youtube.com/quantlabs

Hi there,

You are invited to a Zoom webinar.
When: May 23, 2018 7:00 PM Eastern Time (US and Canada)
Topic: Automated head and shoulders webinar demo

Please click the link below to join the webinar:
https://zoom.us/j/217316170

Or iPhone one-tap :
US: +16465588656,,217316170# or +16699006833,,217316170#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1 646 558 8656 or +1 669 900 6833
Webinar ID: 217 316 170
International numbers available: https://zoom.us/u/bzpfHjg5H

 

 

 

Market analysis for April 2 with severe down day includes Bitcoin

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Demo to download hundreds of crypto currency pairs via CCXT Python package from Binance Bitmex

 

 

The advantages

This has a huge benefit if you are into building scanners for crypto currency. Also, remember I did not fund any of these exchanges but always remember to be on guard with your data with exchanges you may not trust. This will help in my automated head and shoulders demo I will have tomorrow night. Get details below.

Video here:

https://www.youtube.com/watch?v=Mf76ZVKsX8I&t=545s

Demo to download hundreds of crypto currency pairs via CCXT Python package from Binance Bitmex OKEx exchanges

Get the original script here

Questions and Answers on automated head and shoulders with CCXT Python crypto currency

Here are the links and questions/comments including my popular automated head and shoulders

Links

http://quantlabs.net/blog/2018/05/questions-and-answers-on-automated-head-and-shoulders-with-ccxt-python-crypto-currency/

 

Sample questions

Questions and Answers

I would like to do algo trading in india for nse exchange using zerodha kite connect api, is it possible to do using jstock, as i see only analysis is done but to buy or sell

in an automated way for nse exchanges is it possible or can you recommend some opensource software for this algo trading, i am a good programmer can do coding in

any language.

Thanks,

Shailes

More here

http://quantlabs.net/blog/2018/05/questions-and-answers-on-automated-head-and-shoulders-with-ccxt-python-crypto-currency/

https://www.youtube.com/watch?v=MDBOqkz3ZQs

Automated head and shoulders webinar on tomorrow night

 

Details here

Hi there,

You are invited to a Zoom webinar.
When: May 23, 2018 7:00 AM Eastern Time (US and Canada)
Topic: Automated head and shoulders webinar demo

Please click the link below to join the webinar:
https://zoom.us/j/255491924

Or iPhone one-tap :
US: +16465588656,,255491924# or +16699006833,,255491924#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1 646 558 8656 or +1 669 900 6833
Webinar ID: 255 491 924
International numbers available: https://zoom.us/u/fnY7djwr

Automated head and shoulders indicator webinar for May 23 at 7 PM EDT

Demo of automated head and shoulders with XRB BTC hourly crypto currency data from Binance

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Demo of automated head and shoulders with XRB BTC hourly crypto currency data from Binance

Demo of automated head and shoulders with XRB BTC hourly crypto currency data from Binance

This is a powerful indicator or trading patterns which is generated automatically. As explained in the data, I can only get this working with hourly data since it needs about 1000 data points. I can confirm it seems to download hourly data from both Bitmex and Binance using ccxt Python package. Always remember this is the potential market entry point once the closing price rises above the green dot. This pattern also needs to be verified against other patterns and indicators that I have among my arsenal.

Note that this is a very crude chart for mechanical demo purposes with no proper timing displayed on the horizontal axis. It seems to work ok.

I have no interest right now in inverted head and shoulders sinceI only have an interest in longing for now.

More info head and shoulders info

https://www.babypips.com/learn/forex/head-and-shoulders

Correction from the video means that the green dot should represent the expected price move:

You can see that once the price goes below the neckline it makes a move that is at least the size of the distance between the head and the neckline.

 

Actual results of back test history from automated trading strategy

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!