Minimum Spread – Hummingbot Foundation



Released on version 0.28.0

This parameter allows Hummingbot to cancel the active order right away when its spread dips below the specified value.

minimum_spread

If the spread of any active order falls below this param value, it will be automatically canceled.

Prompt:

At what minimum spread should the bot automatically cancel orders?
>>>

How it works

The strategy checks the active order’s spread on every tick (1 second).

By default, this is set to -100. Setting this parameter to a negative value disables this feature. To enable, run the config minimum_spread command in the Hummingbot client and specify your minimum spread value.

This only applies to active orders and does not affect hanging orders.

Sample configuration

- bid_spread : 0.50
- ask_spread : 0.50
- minimum_spread : 0.49
- order_refresh_time : 60.0

With the above configuration, the bot creates buy and sell orders at 0.5% spread from mid-price.

00:28:31 - Creating 1 bid orders at (Size, Price): ['0.05 ETH, 227.41USDC']
00:28:31 - Creating 1 ask orders at (Size, Price): ['0.05 ETH, 229.69USDC']
00:28:31 - Created LIMIT_MAKER BUY order x-XEKWYICX-BEHUC1593217711001924 for 0.05000000 ETHUSDC.
00:28:31 - Created LIMIT_MAKER SELL order x-XEKWYICX-SEHUC1593217711002203 for 0.05000000 ETHUSDC.
Orders:
   Level  Type  Price Spread Amount (Orig)  Amount (Adj)       Age
       1  sell 229.69  0.49%          0.05          0.05  00:00:00
       1   buy 227.41  0.50%          0.05          0.05  00:00:00

Even before the 60 seconds refresh time was up, the sell order was canceled when its spread went below the minimum.

00:28:40 - Order is below minimum spread (0.0049). Cancelling Order: (Sell) ID - x-XEKWYICX-SEHUC1593217711002203
00:28:40 - Cancelling the limit order x-XEKWYICX-SEHUC1593217711002203.
Orders:
   Level Type  Price Spread Amount (Orig)  Amount (Adj)       Age
       1  buy 227.41  0.52%          0.05          0.05  00:00:12

In the next order refresh, new buy and sell orders with 0.5% spreads will be created.


Last update:
2021-12-15

This Post Has 287 Comments

  1. tvbrackets

    Simply desire to say your article is as surprising The clearness in your post is simply excellent and i could assume you are an expert on this subject Fine with your permission let me to grab your feed to keep up to date with forthcoming post Thanks a million and please carry on the gratifying work

  2. qweqt

    Attractive section of content I just stumbled upon your blog and in accession capital to assert that I get actually enjoyed account your blog posts Anyway I will be subscribing to your augment and even I achievement you access consistently fast

  3. flooring

    helloI really like your writing so a lot share we keep up a correspondence extra approximately your post on AOL I need an expert in this house to unravel my problem May be that is you Taking a look ahead to see you

  4. Cuando intenta espiar el teléfono de alguien, debe asegurarse de que no encuentren el software una vez que esté instalado.

  5. Puede utilizar un software de gestión para padres para guiar y supervisar el comportamiento de los niños en Internet. Con la ayuda de los siguientes 10 software de administración de padres más inteligentes, puede rastrear el historial de llamadas de su hijo, el historial de navegación, el acceso a contenido peligroso, las aplicaciones que instalan, etc.

  6. Rastreador de teléfono celular – Aplicación de rastreo oculta que registra la ubicación, SMS, audio de llamadas, WhatsApp, Facebook, fotos, cámaras, actividad de Internet. Lo mejor para el control parental y la supervisión de empleados. Rastrear Teléfono Celular Gratis – Programa de Monitoreo en Línea. https://www.xtmove.com/es/

  7. My brother suggested I might like this blog He was totally right This post actually made my day You can not imagine simply how much time I had spent for this info Thanks

  8. tvbrackets

    helloI like your writing very so much proportion we keep up a correspondence extra approximately your post on AOL I need an expert in this space to unravel my problem May be that is you Taking a look forward to see you

  9. rubmd

    of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  10. tecktimes

    helloI really like your writing so a lot share we keep up a correspondence extra approximately your post on AOL I need an expert in this house to unravel my problem May be that is you Taking a look ahead to see you

  11. best iptv smarter

    Magnificent beat I would like to apprentice while you amend your site how can i subscribe for a blog web site The account helped me a acceptable deal I had been a little bit acquainted of this your broadcast offered bright clear idea

  12. Michaelcom

    medication from mexico pharmacy
    https://cmqpharma.com/# buying prescription drugs in mexico
    mexican pharmaceuticals online

  13. Henryrit

    mexico pharmacy: mexican pharmacy – buying prescription drugs in mexico online

  14. bestiptv-smarters

    Ive read several just right stuff here Certainly price bookmarking for revisiting I wonder how a lot effort you place to create this kind of great informative website

  15. Best IP TV Services

    of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  16. CharlesIrric

    trustworthy canadian pharmacy [url=http://canadapharmast.com/#]canadian pharmacies comparison[/url] canada pharmacy online legit

  17. CharlesIrric

    reputable indian online pharmacy [url=http://indiapharmast.com/#]world pharmacy india[/url] mail order pharmacy india

  18. CharlesIrric

    Online medicine home delivery [url=https://indiapharmast.com/#]reputable indian online pharmacy[/url] india online pharmacy

  19. CharlesIrric

    canadian drug stores [url=http://canadapharmast.com/#]cheapest pharmacy canada[/url] canada discount pharmacy

  20. DavidViery

    reputable indian pharmacies: indian pharmacy – buy medicines online in india

  21. MyronNal

    https://clomiddelivery.pro/# how to get clomid no prescription
    can you get clomid without dr prescription [url=https://clomiddelivery.pro/#]can you get clomid pills[/url] how to buy generic clomid without rx

  22. JamesRob

    ciprofloxacin over the counter: cipro – ciprofloxacin over the counter

  23. MyronNal

    http://amoxildelivery.pro/# amoxicillin capsule 500mg price
    how can i get clomid without rx [url=https://clomiddelivery.pro/#]cost generic clomid pills[/url] clomid without dr prescription

  24. MyronNal

    https://doxycyclinedelivery.pro/# where can i buy doxycycline without prescription
    Paxlovid over the counter [url=https://paxloviddelivery.pro/#]buy paxlovid online[/url] paxlovid generic

  25. JamesRob

    п»їpaxlovid: paxlovid price – paxlovid cost without insurance

  26. MyronNal

    https://doxycyclinedelivery.pro/# doxycycline prescription online
    medicine amoxicillin 500 [url=http://amoxildelivery.pro/#]amoxicillin without a prescription[/url] ampicillin amoxicillin

  27. JamesRob

    paxlovid cost without insurance: paxlovid india – paxlovid generic

  28. MyronNal

    http://ciprodelivery.pro/# antibiotics cipro
    buy ciprofloxacin over the counter [url=http://ciprodelivery.pro/#]antibiotics cipro[/url] buy ciprofloxacin

  29. MyronNal

    https://clomiddelivery.pro/# cost of clomid without dr prescription
    how can i get doxycycline [url=http://doxycyclinedelivery.pro/#]price of doxycycline 100mg[/url] doxycycline prices canada

  30. MyronNal

    http://doxycyclinedelivery.pro/# doxycycline 100mg
    where can i buy doxycycline over the counter [url=http://doxycyclinedelivery.pro/#]doxycycline buy[/url] doxycycline cap price

  31. kmtfirm

    of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  32. RobertCalty

    buy generic ciprofloxacin: buy cipro cheap – п»їcipro generic

  33. Arnolddub

    mexican online pharmacies prescription drugs [url=https://mexicandeliverypharma.online/#]mexican border pharmacies shipping to usa[/url] mexican pharmacy

  34. Arnolddub

    mexican online pharmacies prescription drugs [url=https://mexicandeliverypharma.com/#]reputable mexican pharmacies online[/url] mexican pharmacy

  35. Nelsonpreet

    reputable mexican pharmacies online: mexican rx online – mexico pharmacies prescription drugs

  36. DominicLeddy

    mexican online pharmacies prescription drugs: mexican rx online – mexico drug stores pharmacies

  37. Arnolddub

    purple pharmacy mexico price list [url=http://mexicandeliverypharma.com/#]mexico drug stores pharmacies[/url] medication from mexico pharmacy

  38. Arnolddub

    purple pharmacy mexico price list [url=https://mexicandeliverypharma.online/#]mexico drug stores pharmacies[/url] mexico drug stores pharmacies

  39. Arnolddub

    mexican mail order pharmacies [url=https://mexicandeliverypharma.com/#]mexican pharmacy[/url] mexican pharmacy

  40. Arnolddub

    medication from mexico pharmacy [url=https://mexicandeliverypharma.com/#]medication from mexico pharmacy[/url] mexican mail order pharmacies

  41. Arnolddub

    pharmacies in mexico that ship to usa [url=http://mexicandeliverypharma.com/#]mexican drugstore online[/url] reputable mexican pharmacies online

  42. Arnolddub

    medicine in mexico pharmacies [url=https://mexicandeliverypharma.online/#]best online pharmacies in mexico[/url] buying prescription drugs in mexico

  43. usasportsurge

    I simply could not go away your web site prior to suggesting that I really enjoyed the standard info a person supply on your guests Is going to be back incessantly to investigate crosscheck new posts

  44. Arnolddub

    mexican border pharmacies shipping to usa [url=https://mexicandeliverypharma.online/#]buying prescription drugs in mexico[/url] mexican pharmaceuticals online

  45. Arnolddub

    purple pharmacy mexico price list [url=https://mexicandeliverypharma.online/#]mexico pharmacies prescription drugs[/url] buying from online mexican pharmacy

  46. Arnolddub

    mexican mail order pharmacies [url=https://mexicandeliverypharma.com/#]pharmacies in mexico that ship to usa[/url] best online pharmacies in mexico

  47. Arnolddub

    reputable mexican pharmacies online [url=https://mexicandeliverypharma.online/#]medicine in mexico pharmacies[/url] mexican border pharmacies shipping to usa

  48. Arnolddub

    mexican pharmaceuticals online [url=https://mexicandeliverypharma.com/#]reputable mexican pharmacies online[/url] buying prescription drugs in mexico

  49. kmtfirm

    Its like you read my mind You appear to know so much about this like you wrote the book in it or something I think that you can do with a few pics to drive the message home a little bit but instead of that this is excellent blog A fantastic read Ill certainly be back

  50. alevemante

    I have been surfing online more than 3 hours today yet I never found any interesting article like yours It is pretty worth enough for me In my opinion if all web owners and bloggers made good content as you did the web will be much more useful than ever before

  51. mediaticas

    I do trust all the ideas youve presented in your post They are really convincing and will definitely work Nonetheless the posts are too short for newbies May just you please lengthen them a bit from next time Thank you for the post

  52. blogmedia

    I loved as much as youll receive carried out right here The sketch is attractive your authored material stylish nonetheless you command get bought an nervousness over that you wish be delivering the following unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this hike

  53. Arnolddub

    mexico drug stores pharmacies [url=http://mexicandeliverypharma.com/#]mexico pharmacy[/url] mexican mail order pharmacies

  54. etruesports

    I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my difficulty You are wonderful Thanks

  55. WayneLap

    reputable mexican pharmacies online: mexican rx online – п»їbest mexican online pharmacies

  56. Arnolddub

    mexican online pharmacies prescription drugs [url=https://mexicandeliverypharma.com/#]mexican pharmacy[/url] best online pharmacies in mexico

  57. Robertpoera

    tamoxifen menopause [url=http://nolvadexbestprice.pro/#]what is tamoxifen used for[/url] tamoxifen vs raloxifene

  58. Robertpoera

    tamoxifen estrogen [url=http://nolvadexbestprice.pro/#]tamoxifen depression[/url] alternative to tamoxifen

  59. Robertpoera

    buy cytotec in usa [url=https://cytotecbestprice.pro/#]order cytotec online[/url] buy cytotec pills

  60. Robertpoera

    where to buy zithromax in canada [url=http://zithromaxbestprice.pro/#]buy zithromax no prescription[/url] zithromax generic price

  61. wiresuk

    Thank you I have just been searching for information approximately this topic for a while and yours is the best I have found out so far However what in regards to the bottom line Are you certain concerning the supply

  62. Matthewhex

    buy misoprostol over the counter: buy cytotec online – buy cytotec over the counter

  63. Gambling

    Usually I do not read article on blogs however I would like to say that this writeup very compelled me to take a look at and do it Your writing style has been amazed me Thank you very nice article

  64. Matthewhex

    purchase cytotec: buy cytotec – cytotec buy online usa

  65. RandyClimi

    miglior sito dove acquistare viagra: viagra farmacia – pillole per erezione immediata

  66. TomasTwers

    п»їFarmacia online migliore: kamagra – Farmacie online sicure

  67. GeorgeNaw

    cialis no prescription paypal: Buy Cialis online – where to get cialis cheap

  68. Stephenkiz

    https://tadalafil.auction/# do i need prescription for cialis in usa
    viagra generic [url=http://sildenafil.llc/#]Cheap Viagra 100mg[/url] buy viagra

  69. Stephenkiz

    https://tadalafil.auction/# cheapest cialis on the web
    cialis online america [url=https://tadalafil.auction/#]Generic Tadalafil 20mg price[/url] brand name cialis

  70. DouglasWew

    top 10 pharmacies in india: Online pharmacy – online pharmacy india

  71. DouglasWew

    mexican pharmaceuticals online: Medicines Mexico – mexican online pharmacies prescription drugs

  72. DouglasWew

    buying erectile dysfunction pills online: Cheap ED pills online – buy erectile dysfunction medication

  73. DouglasWew

    buying from online mexican pharmacy: mexico pharmacy win – mexican pharmaceuticals online

  74. Stanleyhub

    lasix dosage [url=http://furosemide.win/#]cheap lasix[/url] lasix 40mg

  75. DanielFlecy

    buy cytotec online fast delivery https://cytotec.pro/# buy misoprostol over the counter
    furosemide 40 mg

  76. JamesPhosy

    buy cytotec over the counter: cytotec online – buy cytotec online

  77. Stanleyhub

    best price lipitor [url=https://lipitor.guru/#]Atorvastatin 20 mg buy online[/url] lipitor 40 mg price australia

  78. kalorifer soba

    Just wish to say your article is as surprising The clearness in your post is just cool and i could assume youre an expert on this subject Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post Thanks a million and please keep up the enjoyable work

  79. DanielFlecy

    buy cytotec over the counter http://lisinopril.guru/# buy lisinopril without a prescription
    lasix furosemide 40 mg

  80. JamesPhosy

    cost of lisinopril 40 mg: cheap lisinopril – lisinopril 12.5 mg 10 mg

  81. AnthonyBug

    best online pharmacy india [url=https://easyrxindia.com/#]top online pharmacy india[/url] pharmacy website india

  82. kalorifer soba

    Somebody essentially lend a hand to make significantly posts I might state That is the very first time I frequented your web page and up to now I surprised with the research you made to create this particular put up amazing Excellent job

  83. AnthonyBug

    vipps canadian pharmacy [url=https://easyrxcanada.online/#]my canadian pharmacy reviews[/url] canadian mail order pharmacy

  84. AnthonyBug

    canadian mail order pharmacy [url=https://easyrxcanada.online/#]safe reliable canadian pharmacy[/url] vipps approved canadian online pharmacy

  85. Профессиональный сервисный центр по ремонту сотовых телефонов, смартфонов и мобильных устройств.
    Мы предлагаем: сервис ремонт телефонов
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  86. Профессиональный сервисный центр по ремонту сотовых телефонов, смартфонов и мобильных устройств.
    Мы предлагаем: ремонт телефонов
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  87. ремонт macbook

    Профессиональный сервисный центр по ремонту ноутбуков, макбуков и другой компьютерной техники.
    Мы предлагаем:сервисный центр ремонт макбуков
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  88. Профессиональный сервисный центр по ремонту квадрокоптеров и радиоуправляемых дронов.
    Мы предлагаем:ремонт дронов
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  89. Masalqseen

    Masalqseen Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated

  90. sign up binance

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  91. Isla Moon

    Isla Moon There is definately a lot to find out about this subject. I like all the points you made

Leave a Reply