Category Archives: Quant Development

Quant Development

Should I post daily trading news on Discord server

Now that Microsoft gives up on Discord, should I continue posting daily news on this server?

https://discord.gg/XvURxEvS

I have switched posting my news to this Discord to see if raises engagement.

I am also still posting my QuantLabs.net news on my Telegram channel:

https://t.me/quantlabs

Also, all my private research is posted on my Private chat server

Thanks Bryan

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!

Tips from Binance API Telegram channel Exceptions of LOT_SIZE and Insufficient Funds

A forum to help code review on binance

https://dev.binance.vision/

See below for my searched on this link above.

Jeremy is admin at Binance API Telegram channel
https://t.me/binance_api_english

This appears to be faster than the usual support which apparently takes a couple of day!

Some snippet from Telegram regarding the exceptions of LOT_SIZE and Insufficient Funds. It sounds like it is quite rampant but you need to increase the quantity/amount size. It appears tp be now over $100. I still need to see what it is

David Daverio, [Apr 8, 2021 at 2:58:05 PM]:
Got a ping at 0.8 ms, then you can ask binance to flag your IP to bypass lot of crap to lower your latency, but not sure if you need an instutional account. Best is contact the market making program (and you even can get negative fees…)

But you need a bit of volume for this…

i need to find what is going with these stupid exceptions. only binance support can answer it. i got a couple grand in the spot wallet, and it is not filling a $80 order
admin 00:35:33
as said, they were working fine a few hours ago
admin 00:36:57
have you had any problems with binance support?
System
Sikani1 left…
admin 01:28:21
i have to say we are not the only ones having these problems according to the Binance ApI Telegram channel: Saneee, [Apr 7, 2021 at 10:28:12 AM]: …ith Binance API Today I participated in ALICE token launch. My bot spotted ALICE at 06:00:00,092 UTC. I used MARKET BUY with quoteOrderQty = 0.0124 I tried market buy 3 t
admin 01:29:48
…..one guys says it is volatility on the coin…..Same error for me too on TKO. 5 times LOT_SIZE failure and im pretty sure its due to quoteOrderQty
admin 01:30:43
i will post more as i find more. you can search for LOT_SIZE on this telegram channel
admin 01:30:44
Yes, their server method calculates how much TKO quantity is in quoteOrderQty, and fails
admin 01:31:59
When market is highly volatile, the calculated quantity based on given quoteOrderQty and the latest new price change, can fail the LOT_SIZE filter, the quantity might be too low.
admin 01:33:13
yo oy, [Apr 7, 2021 at 11:33:27 AM]: btw for new listed coins, MIN_NOTIONAL filter will be trigger with market order & quoteOrderQty as the newly listed coin does not have a x min average price? Aisling, [Apr 7, 2021 at 11:34:17 AM]: The official api endpoints for public use are the ones available in the api doc…
admin 01:34:24
one solution is to use a higher amount ….well that gets risky
admin 01:36:01
That it‘s better to use an higher amount
admin 01:36:35
Use a higher quoteOrderQty? How does that help eliminate server side issues with calculating quantity to purchase during high volatility
admin 01:36:46
Any admins know a solution to this. Or is this out of our hands since quoteOrderQty is server sided
admin 01:37:46
When you use quoteOrderQty, the exchange tries to figure out a quantity that satisfies all of the filters given the current market price. If the quote quantity is too small, the amount of the base asset that it can buy (or be sold for) isn‘t enough of the base asset to satisfy the min quantity filter. The higher the
admin 01:38:15
When you use quoteOrderQty, the exchange tries to figure out a quantity that satisfies all of the filters given the current market price.
admin 01:38:41
If the quote quantity is too small, the amount of the base asset that it can buy (or be sold for) isn‘t enough of the base asset to satisfy the min quantity filter. The higher the market price, the more quote quantity that is needed.
admin 01:39:17
Yes but last time i used quoteOrderQty of 500$ Highest $ALICE price was 60$ So even if i bought at highest price, i would get 8 – 9 $ALICE
admin 01:39:38
think that problem is still at server side Server calculates stepSize, price changes every few miliseconds, same with data… then first method calculates real quantity, calls method to execute buy but stepSize is already changed
admin 01:40:02
i prefer using quoteOrderQty instead of calculating the quantity / price by my self…
admin 01:40:32
If it‘s error thrown from binance server, it won‘t go to exception as from python perspective there‘s no exception. Suggest you print out the response directly
admin 01:42:48
https://github.com/binance-exchange/binance-signature-examples/blob/master/python/futures.py#L131
admin 01:45:43
also confirmed about the tokyo datacenter choice: to Tokyo, the market order takes 10-13ms, but the transfer and borrowing is 230-400ms
admin 01:51:08
oh no: hi, due binance support are not responding for some days…

https://dev.binance.vision/search?q=LOT_SIZE

https://dev.binance.vision/t/filter-failure-lot-size-when-placing-market-order-with-quoteorderqty-during-initial-listing/2711

I wouldn’t call this a problem, it’s natural to receive LOT_SIZE failure if the given quoteOrderQty is too low, which originates a quantity that’s lower than the min allowed quantity rule.

Therefore, unfortunately there’s not much that can be done, you need to provide higher quoteOrderQty if you want to reduce LOT_SIZE failure messages or wait for a less volatile market to calculate quoteOrderQty or as you’ve mentioned, use the quantity parameter.

Can there be liquidity factoe as well?

testnet might not have enough liquidity on this symbol. Try BNBUSDT?

https://dev.binance.vision/t/need-help-understanding-apierror-code-2010-filter-failure-lot-size/1613/4

Even the expert insiders agree about increasing the quantity:

…The minimum trade sizes are being inflated (in USDT terms) due to the bull market, so I suspect it’s that. As the price of COIN rises, the fixed minimum order size in terms of COIN becomes higher and higher in terms of USDT. If that is indeed the problem you’ll either need to increase your sizes or Binance needs to decrease their minimum requirements to keep up with the market prices. If you’re using ‘quoteOrderQty’ you could try specifying ‘quantity’ instead and setting it to the minimum for that coin to be sure that you’re always above it.

Get on my daily newsletter https://quantlabs.net/

See my private research at my my private chat server https://quantlabs.net/dvd/

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!

Simple solution found to launch automated trading script on Windows 2012

Simplest solution to launch this trading script is to be kept on windows server 2012. On new virtual servers, I will create a simple shortcut button to launch the trading script which sits on your desktop.

Join my free daily newsletter to see what I got top help your automated crypto trading https://quantlabs.net/

Join my private chat server to see my latest private research https://quantlabs.net/dvd/

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!

Automated cryptocurrency trading upgrade to Windows Server 2019 on Vultr

I am letting you know it might wise to look at upgrading potentially to Windows Server 2019. Let me know what you think via contacting me at the various social media channels, email, or the Private Chat server.

Get on my daily newsletter to see how I can help you automate your crypto currency trading https://quantlabs.net/

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!

Tips to to publish to Telegram channels with Python

Here are some tips to help design Telegram channels where Python can send messages

https://github.com/python-telegram-bot

https://python-telegram-bot.readthedocs.io/en/stable/

https://stackoverflow.com/questions/53018486/how-to-send-python-output-to-telegram-channel-not-to-group-and-gmail-email-group

https://betterprogramming.pub/automate-a-telegram-bot-to-send-daily-messages-in-less-than-40-lines-of-python-code-e81858d15854

Join my newswletter to automate your cryptocurrency trading https://quantlabs.net/

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!

Should I use Windows Server 2019

For all my server based code (e.g. Python), should I use Windows Server 2019. This is a new deployment option on Vultr.It seems to have easier security and more convenient to use since this GUI is more rock solid. Let me know your thoughts.

It looks like I will be sticking with my old Ubuntu Linux setup since it is tough to get Redis running on WIndows.

Join my free newsletter to see what I do with this https://quantlabs.net/

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!

https://quantlabs.net/: What is up with Australia?

Here are how unpredictable these markets are. Is this discovery of Australia leading the way going to move into early next week? Probably not. When you look at automated cryptocurrency trading, you have way more up days than down. It is a given but yet the the ‘pros’ will tell you otherwise. https://quantlabs.net/

Get on the analysis for better and more predictable returns by joining our newsletter https://quantlabs.net/


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!

Audio: Walkthrough of Windows virtual trading server for automated cryptocurrency trading

I do a walkthrough of this improved virtual server to help deploy this trading client Python script to help in automated cryptocurrency trading. This is part of this Quant Analytics service found here https://quantlabs.net/academy/shop/

This server is virtual hosted on Vultr cloud provider

Interested in reading more exclusive content on my private chat server http://quantlabs.net/academy/shop/chat​

Or get some free secret PDF books here https://quantlabs.net/

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!

Windows server virtual ready to host automated cryptocurrency trading

It is ready with a wall thru. This has can hosted in Tokyo for ultra low latency of 2
Milliseconds to Binance. Verified track record in real time ready as well. Will my new multi million dollar kraken futures bot work on binance ?

Interested in reading more exclusive content on my private chat server http://quantlabs.net/academy/shop/chat

Or get some free secret PDF books here https://quantlabs.net/

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!

New client virtual server coming for automated cryptocurrency trading with Windows Server

Since many people signing up with this Analytics server are not exactly technical, I have decided to use Windows Server 2012 since many will have no experience in Linux. It keep the support to a minimum since many are not knowledgeable in Linux. I find Windows Server is not as secure but should efficient for automated trading needs. Here are some highlights in the video below. I will posted more detail on how to use this server with the Python trading script behind the paywall of this service. This is only $20 per month on Vultr.com This should be deployed in their Tokyo data center for ultra low latency as described here

Interested in reading more exclusive content on my private chat server

http://quantlabs.net/academy/shop/chat​​

Or get some free secret PDF books here https://quantlabs.net/

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!