Desrever Nu  committed f99028a

- Updated docs with Raspberry Pi instructions
- added port for streaming to sample-options

Comments (0)

Files changed (2)

File config/sample-options.json Modified

View file
  • Ignore whitespace
  • Hide word diff
   "keepproceeds":0,
   "priceincrement": 0.1,
   "bypassStreaming": false,
-  "streamingServer" : "stream.tradingbot.nu",
+  "streamingServer" : "stream.tradingbot.nu:8889",
   "webport":8889,
 
 

File docs/SETUP.md Modified

View file
  • Ignore whitespace
  • Hide word diff
 
 Starting from v0.3.0,  NuBot can be run as a service and controlled via web interface. That implies you can run the service on a remote machine with permanent connection and control it via browser from another machine.
 
+#### For Raspberry pi users : 
+There are no trusted apt repositories for Java 8 installation packets available. You need to download and install manually  : 
+
+[Download page for Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html), look for ARM.
+**Remark**: wget will not work with the direct link, because an authentication token is missing; start the download on a regular browser and use the download link that include the authentication token.
+
+```
+$ wget http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-arm32-vfp-hflt.tar.gz?AuthParam=<obtain-auth-from-browser>  
+$ sudo tar zxvf jdk-8-linux-arm-vfp-hflt.tar.gz -C /opt
+$ sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_60/bin/javac 1
+$ sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_60/bin/java 1
+$ sudo update-alternatives --config javac #confirm with enter
+$ sudo update-alternatives --config java #confirm with enter
+```
+
+
 ###1) Prepare the NuBits client 
 
 To function correctly, NuBot needs to communicate with the NuBit client of the custodian. The bot needs to broadcast liquidity notification to NuNet. By doing so, it allow shareholders to have real-time information about active orders in the network across custodians, and react to it.  It does so by interacting via the *NuBits client of the custodian*. 
   "executeorders":true,
   "vebosity":"normal",
   "bypassStreaming": false,
-  "streamingServer": "stream.tradingbot.nu"
+  "streamingServer" : "stream.tradingbot.nu:8889",
   "gitter":true,
   "mailnotifications":"severe",
   "mailrecipient":"xxx@xxx.xxx",
   "bookSellWall": 1000.0,
   "bookSellOffset": 0.002,
   "bookSellInterval": 0.015,
+  "bookSellMaxVolumeCumulative" : 0,
+
   "bookSellType": "exp",
   "bookSellSteepness": "low",
 
   "bookBuywall": 1000.0,
   "bookBuyOffset": 0.048,
   "bookBuyInterval": 0.015,
+  "bookBuyMaxVolumeCumulative" : 0,  
   "bookBuyType": "log",
   "bookBuySteepness": "low"
 }