-
-
Notifications
You must be signed in to change notification settings - Fork 20
Known Issues
This list documents known situations and possible workarounds. It is not, by any means, exhaustive or inclusve of every situation. There may well be better ways to address these issues as well. Feedback is always welcomed.
If you receive an error when closing a position, either by using the close action or selling at your balance level, here are the possible reasons I have encountered.
-
Your exchange (Binance is known for this) has a selling limit based upon your KYC (know your customer) level. The only solution is to try to sell at a lower amount. You will need to repeat this as much as needed to determine YOUR allowed amount. Research in this has revealed that a non-KYC limit seems to be at $505. YOUR explicit limit will most likely be different. Currently, I have not found a way to determine this level algorithmicly or through automated means other the repeatedly issueing sell orders of varying amounts, while reducing the amount each order. USE A TESTNET to help determine YOUR limits.
-
If your exchange has a "special coin" to pay your fees in, BNB for Binance, KNC for Kucoin, and you are NOT using it, or you are trying to close a position in this coin, it will most likely fail to close. In these cases, fees are added to the position size. In the case of a close, the resulting amount exceeds your balance. Jackrabbit Relay supports a reduction methodology to address this issue. Add the following to your exchange configuration or to your order,
"Reduction":"0.2",
This will explicitly reduce the amount you want to sell or close by the given percentage. A starting value is the taker rate multiplie by 2 (buying/selling wost case scenario). For Binance and Kucoin, that is 0.2. Finding the exact value YOU need is trial and error only. You may need to (de/in)rease to find the exact amout of successful reduction.
Please be aware that this situation can exist on any exchange that fails to properly close a position.
Please note that Jackrabbit Relay is not related to the Apache Jackrabbit project. Jackrabbit Relay is a standalone framework and API delivery system for automated algorithmic trading, designed for relaying JSON payloads that contain buy/sell order information between different systems (Charting software, forex brokers, cryptocrrency exchanges using REST). It is developed by Robert Darin and is not affiliated with or endorsed by the Apache Software Foundation or the Apache Jackrabbit project.
If you would like to help support this project financially, please click on the heart shaped sponsor's button in the right column of this page. I also have a merch store with some awesome and really cool products. Please visit supporting Jackrabbit for more options.
All subscriptions/sales go to the costs of sustaining Jackrabbit Relay. Thank you.
RAPMD Crypto: Automated algorithmic trading done right
Frequency Weighted OrderBook Analysis
Introduction
Jackrabbit Relay
Introduction
Risks
Disclaimer
Notes
Video
Supported Exchanges/Brokers
Security and firewall
Installation
Updating
Configuration files
Live Trading
Installation-and-Setup
Installation/Setup
Requirements
Stopping Version 1
Installing and setting up Version 2
Configuration
Reboot startup
Manual startup
Configuration
Configuration
Configuration files
Location and file names
File contents
Order types
Examples for the CCXT framework
Examples for the OANDA framework
Conditional Orders
JackrabbitRelay Order Payloads
Oliver Twist: Jackrabbit Relay conditional and orphan order manager
Unveiling Oliver Twist's Conditional Methodology
Managing Orphan Orders: The Limit-Only Approach
The Literary Significance of "Oliver Twist"
Supported-Exchanges-and-Brokers
Supported Exchanges/Brokers
Forex Brokers
Confirmed working brokers
Cryptocurrency Exchanges
Confirmed working exchanges
Theoretically supported
Known-Issues
Known Issues
Closing a position fails
BitMex
Phemex
ByBit
Python 3.10
Kucoin Futures/TradingView
Jackrabbit-Mimic
Jackrabbit Mimic
Introduction
Usage
Data Source Integration
Simple Setup Process
Understanding Differences
Educational Focus
Setup and Configuration
Wallets and history
How cryptocurrency wallets work
Long positions
Short positions
Alert/Signal messages
Long positions
Short positions
Supporting Jackrabbit Mimic
Testing-TradingView-connection
Testing TradingView connection
Testing method
Setup
DSR Testing
Force feeding payloads
Next Steps
Step-by-step guide to live trading with TradingView
Step-by-step guide to live trading with TradingView
Walk Through
Strategy Differences