Skip to content

Known Issues

Rose Heart edited this page Nov 23, 2022 · 15 revisions

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.

Closing a position fails

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.

  1. 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.

  2. 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.

BitMex

The BitMex tickers and orderbook are very unstable and often times do not return any values. I have deployed various tactics to try to get the most reliable information when possible. Unfortunately, there is little to nothing I can do when the exchange provides no infprmation at all. Please use extreme caution when trading with this exchange.

Phemex

This is specifically with listing its markets. There seems to be some kind of limit with respect to the number of assets you can pull at one time. After that amount is reached, Phemex responds with an error they don't have documented. I have tried various methods to work around this, including skipping particular assets. Phemex seems to be able to count quite well though and is very persistent in its actions.

RAPMD Crypto: Automated algorithmic trading done right

Jackrabbit support server

JSON Validator

Frequency Weighted OrderBook Analysis

Advanced Research

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


Identity

Identity


Configuration

Configuration
Configuration files
Location and file names
File contents
Order types
Examples for the CCXT framework
Examples for the OANDA framework


Orders

JackrabbitRelay Order Payloads
Payload Synopsis
Order Types
Actions
Examples


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


Virtual-Exchange-Broker-DSR

DSR (Duplicate Signal Remover)
Log Files


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


Logs

Logs
Files
JackrabbitRelay
PlaceOrder


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


Additional Programs

Additional Programs


Roadmap

Roadmap
Finished
In Progress
Future Plans


Supporting-Jackrabbit

Supporting Jackrabbit and it's future development
Current patrons and subscribers
The cost of open source
Supporting

Terms-and-Definitions

Terms and Definitions

Clone this wiki locally