Comments (4)
Reproduced when testing dydx_v4 connector (oneway mode, hedge not supported)
2024-05-10 19:28:12,028 - 5142 - hummingbot.strategy.script_strategy_base - INFO - Creating LINK-USD sell order: price: 14.2965 amount: 0.6994718987164690658552792642.
2024-05-10 19:28:14,442 - 5142 - hummingbot.connector.client_order_tracker - INFO - Created MARKET SELL order 864108787 for 0 to OPEN a LINK-USD position.
2024-05-10 19:28:14,443 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340494.0, "type": "OrderType.MARKET", "trading_pair": "LINK-USD", "amount": "0", "price": "14.2965", "order_id": "864108787", "creation_timestamp": 1715340492.0, "exchange_order_id": null, "leverage": 20, "position": "OPEN", "event_name": "SellOrderCreatedEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:28:16,052 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340496.0, "order_id": "864108787", "base_asset": "LINK", "quote_asset": "USD", "base_asset_amount": "0", "quote_asset_amount": "0", "order_type": "OrderType.MARKET", "exchange_order_id": "cf334570-8374-5bde-bbf6-696b08bb1586", "event_name": "SellOrderCompletedEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:28:16,052 - 5142 - hummingbot.connector.client_order_tracker - INFO - SELL order 864108787 completely filled.
2024-05-10 19:28:16,052 - 5142 - hummingbot.connector.client_order_tracker - INFO - The SELL order 864108787 amounting to 1/0 LINK has been filled.
2024-05-10 19:28:16,053 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340496.0, "order_id": "864108787", "trading_pair": "LINK-USD", "trade_type": "TradeType.SELL", "order_type": "OrderType.MARKET", "price": "14.298", "amount": "1", "trade_fee": {"percent": "0", "percent_token": "USD", "flat_fees": [{"token": "USD", "amount": "0.007149"}]}, "exchange_trade_id": "5aa35da7-b994-56dd-9b47-0bfcbd393aac", "exchange_order_id": "cf334570-8374-5bde-bbf6-696b08bb1586", "leverage": 20, "position": "OPEN", "event_name": "OrderFilledEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:31:00,397 - 5142 - hummingbot.strategy.script_strategy_base - INFO - Creating LINK-USD buy order: price: 14.2835 amount: 0.7001085168201071166030734764.
2024-05-10 19:31:02,801 - 5142 - hummingbot.connector.client_order_tracker - INFO - Created MARKET BUY order 1032477151 for 0 to OPEN a LINK-USD position.
2024-05-10 19:31:02,805 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340662.0, "type": "OrderType.MARKET", "trading_pair": "LINK-USD", "amount": "0", "price": "14.2835", "order_id": "1032477151", "creation_timestamp": 1715340660.0, "exchange_order_id": null, "leverage": 20, "position": "OPEN", "event_name": "BuyOrderCreatedEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:31:04,367 - 5142 - hummingbot.connector.client_order_tracker - INFO - The BUY order 1032477151 amounting to 1/0 LINK has been filled.
2024-05-10 19:31:04,367 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340664.0, "order_id": "1032477151", "trading_pair": "LINK-USD", "trade_type": "TradeType.BUY", "order_type": "OrderType.MARKET", "price": "14.284", "amount": "1", "trade_fee": {"percent": "0", "percent_token": "USD", "flat_fees": [{"token": "USD", "amount": "0.007142"}]}, "exchange_trade_id": "75f4fa33-d5f7-5bb1-aaf0-e60e31af3787", "exchange_order_id": "9e131492-88c3-57b6-ab9a-b558130f245c", "leverage": 20, "position": "OPEN", "event_name": "OrderFilledEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:31:04,378 - 5142 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1715340664.0, "order_id": "1032477151", "base_asset": "LINK", "quote_asset": "USD", "base_asset_amount": "1", "quote_asset_amount": "14.284", "order_type": "OrderType.MARKET", "exchange_order_id": "9e131492-88c3-57b6-ab9a-b558130f245c", "event_name": "BuyOrderCompletedEvent", "event_source": "dydx_v4_perpetual"}
2024-05-10 19:31:04,382 - 5142 - hummingbot.connector.client_order_tracker - INFO - BUY order 1032477151 completely filled.
- Got an opportunity to open short position
- After few secs, got another to open for long position but instead it closes the short position
- Now no position opened but we have active executor displayed on status
- Execute stop command:
- If the executor reaches the
time_limit
orstop
command executed, it creates a market order only on the hummingbot client. This order does not haveexchange_order_id
- The executor stuck on a endless loop of
Waiting for close order to be filled...
- Repeats itself every 2s
- If the executor reaches the
logs_conf_v2_generic_with_controllers_1.log
from hummingbot.
from hummingbot.
Hi @cardosofede thanks for the reply, its the same bollinger_v1 controller-config
from hummingbot.
If you are in one way mode, you can’t open long and short at the same time. The long will reduce the short always.
I think this is something to do with my bb thresholds, set values are too tight therefore when it has opportunity to go either long or short, it immediate creates market orders
bb_long_threshold: 0.5
bb_short_threshold: 0.7
from hummingbot.
Related Issues (20)
- AscendEX - Order tracking issue
- Is possible to use Dashboard with Gateway? what is the best way? HOT 3
- kraken - Telegram chat flooded with rate limit messages HOT 5
- time_synchronizer - Error getting server time HOT 4
- PopOs Linux - Missing Loop in "Main Thread" HOT 2
- Vega - Error fetching status update for the active order XXX: Order not found
- Rounding problem with dman_maker_v2 on binance_perpetual HOT 1
- Bug Report: Can't start an instance #133 HOT 1
- I have a question to ask. HOT 3
- V2 strategy - Unhandled error in background task when running status command HOT 1
- Binance US is still using old rate limits HOT 2
- Okx - Failed to place orders due to LIMIT_MAKER not supported HOT 3
- Kucoin - Add kucoin_perpetual candles feed HOT 7
- OKX- Add OKX Spot Candles Feed HOT 3
- Funding rate arb - Getting unexpected error running clock tick
- Hyperliquid - Error setting leverage: Unable to set leverage HOT 3
- XEMM - Order created late and not recognized by the executor HOT 1
- Can't use OKX sub-accounts due to available balance check HOT 2
- Get balance HOT 1
- DmanV3 script not cleaning up all pending orders after close on HyperLiquid HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hummingbot.