-
-
Notifications
You must be signed in to change notification settings - Fork 20
Identity
This document details setting up an identity. This should only be used if you plan to use the Statistatorium or want extremely aggressive defensiveness. The Statistatorium will NOT work at all without an identity.
This is NOT a substitute for a reliable and properly configured firewall.
Version 2 REQUIRES a global identity to work. The server WILL refuse to process any orders without it.
Running the MakeIdentity program will generate an identity. This alone does NOT activate it. Yes, I know these strings of unholy long lengths are a real pain in the @$$ to work with. However, everytime you think about making them shorter, just remember, its your money this software is protecting.
Here are several exmples:
cd /home/JackrabbitRelay2/Config
/home/GitHub/JackrabbitRelay $ /home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"j0IvR5#_R2*EC-9p>I/,WO73B7Y]LADezS]:bYjSp3db891KdhnA$qw;uZzs!oxVw%Q$B.qfGq~=^%^I,q:[ZNxa9EJ.yu~B>VHzNWT}{ak[BOv:#j)GqaXWcLjV&$v%LH>X5B.53I^h2YV#eyPe9$W-k2w-hnITf+%w^Ni5-kTM%V#=UAO]o3rZ_c,mL+O!7B~Rf>Fg~c&$b)Y>.a]z#[{,;R}O#b,r" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"bB]lzXh2=iT&i2o^TNu$rm97GPtA{)TGa3RS0h<3=%4lZiY-Z/wmsZy[]g0JbiP6nUl3aOKP~jKI9fg&ax/i$;y" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"XLnYo-3:@If%YFS~zOP_e,;qUVERzf/Q2,IhwZx8Ld/MLQtTBXGPw_do^*6qo%#QTd4Vh)}#@T1DVJNL!PoYcP!XK1BcrDB0D.G<" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"JuI3U^oWrd8k9Qm+jQo@ka,poctR^x2)(}jRw#Yc}4>7pB;A(%YV@UurNchoM1c=p6FHlZ.ao_VYud8Z1nB8K6lUuP*AG;0VZi_E>w}rPdw>=wphLGAzdNsl{7A-$%AEk(Q:ZlFH!*NsKND4=9!kyO,Ed^P;P=>HRl%Dz&!vDe4lFzR,BvjoP#*.T>Ly_K2R2VgulCFYct(04f[8_9wLrE1eBhu-=A$GWcG=vZ+b$>&{}pfYH)cFa" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"*d]B}ZMm+2<.Br6o&1~Xmqb&e%!<Nf*Ro5(bS([email protected];aO)>34^]t!:*UBeVZJ/om0&nwkeyMRZ*98IJYPw1IWPW6l*Pfa9Jn_mzC.v" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ Identity":"Sc[iHrYd>bB0=0ajuWBn7Qt{0B/v$mk,Xf:,.TdgS:b@&jGB4~qJ68;9zGUWz!M]F#^g.H2zY[<@qB8.OHW2r<uUE(.Ro.MZ]nu1]I,&K${VB9L7R(lho6y8D>h@ubquFKRb1y/(i+~W+ShO#O(F/wpQq}4RuB=" }
/home/JackrabbitRelay2/Extras/MakeIdentity
{ "Identity":"79;Jm5jvx68E6#2Yq7SfgvSLqA)QB.rHg3l*]a/Z4[@m]5omr/)4c!&+q30!<5;gZ@:o&#khi,N-QeH]-_Zc/}Of*,/%vT;4gw>Lhjq$AaVWznGk.k.WQ_>nvtqy,#tj7m#)U6<O#~7CmGJi2.=:wsJ0:jNF!GyHKe6HFi%<v(Nr2PU@XdJNrRJj$Cg=+Svmx#SPXMl_&N" }
The below command prepares for an active identity. Take special note of the >, it is required.
/home/JackrabbitRelay/Extras/MakeIdentity > /home/JackrabbitRelay2/Config/Identity.safe
Before we activate it, you need to take the identity in the Identity.safe file and add it to your orders for TradingView or other REST API messages. Equilibrium and BlackCrowHunter will automatically pick up the identity as long as it is on the same VPS as the identity file. For Equilibriums and BlackCrowHunters not on the same server as Relay, copy the Identity.cfg file into the Config folder on any/all secondary servers.
Example of the identity added to the order payload.
{ "Exchange":"ftxus","Market":"Spot","Account":"MAIN","Action":"Buy","Asset":"AAVE/USD","Identity":"bB]lzXh2=iT&i2o^TNu$rm97GPtA{)TGa3RS0h<3=%4lZiY-Z/wmsZy[]g0JbiP6nUl3aOKP~jKI9fg&ax/i$;y" }
AFTER all TradingView payloads have the new identity added to them,
cd /home/JackrabbitRelay2/Config
mv Identity.safe Identity.cfg
As soon as you complete the above steps, any order that does not have the identity reference will NOT be processed and the log will reflect that. You do not need to reboot or restart anything.
Using MakeIdentity will give you an identity string that can be copied into your exchange configuration. Each acount can have its own identity separate of the global one. Here is an example. Multiple APIs must have the save Identity.
{ "Account":"MAIN","API 1":"YourAPI","SECRET 1":"YourSecret","RateLimit":"200","Identity":"Your Identity" }
{ "Account":"MAIN","API 2":"YourAPI","SECRET 2":"YourSecret","RateLimit":"200","Identity":"Your Identity" }
DO NOT SHARE YOUR IDENTITY WITH ANYONE. Doing so will give anyone with it control or your trading.
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