CCXT.Collector
1.5.1
dotnet add package CCXT.Collector --version 1.5.1
NuGet\Install-Package CCXT.Collector -Version 1.5.1
<PackageReference Include="CCXT.Collector" Version="1.5.1" />
paket add CCXT.Collector --version 1.5.1
#r "nuget: CCXT.Collector, 1.5.1"
// Install CCXT.Collector as a Cake Addin #addin nuget:?package=CCXT.Collector&version=1.5.1 // Install CCXT.Collector as a Cake Tool #tool nuget:?package=CCXT.Collector&version=1.5.1
ccxt.collector
dotnet core ubuntu
Register Microsoft key and feed
Before installing .NET, you'll need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine. Open a terminal and run the following commands:
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
Install the .NET SDK
Update the products available for installation, then install the .NET SDK. In your terminal, run the following commands:
sudo add-apt-repository universe
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.2
ubuntu server install utility
Install supervisor for restart when service stopped.
~$ sudo apt -y install supervisor
Install fail2ban vaccine program to prevent hacking.
~$ sudo apt -y install faile2ban
Install rabbit-mq for publishing orderbook stream to subscrivers.
~$ sudo apt -y install rabbitmq-server
~$ sudo rabbitmq-plugins enable rabbitmq_management
~$ sudo service rabbitmq-server restart
~$ sudo rabbitmqctl add_user odinsoft p@ssw0rd
~$ sudo rabbitmqctl set_user_tags odinsoft administrator
~$ sudo rabbitmqctl add_vhost OCollector
~$ sudo rabbitmqctl set_permissions -p OCollector odinsoft ".*" ".*" ".*"
supervisor
$ sudo nano /etc/supervisor/conf.d/ccxt.ocollector.conf
[program:ccxt.ocollector]
command=/usr/bin/dotnet /var/ccxt.ocollector/ocollector.dll
directory=/var/ccxt.ocollector/
autostart=true
autorestart=true
stderr_logfile=/var/log/ccxt.ocollector.err.log
stdout_logfile=/var/log/ccxt.ocollector.out.log
environment=Hosting:Environment=Production
;priority=999 ; the relative start priority (default 999)
;startsecs=10 ; # of secs prog must stay up to be running (def. 1)
;startretries=3 ; max # of serial start failures when starting (default 3)
;user=www-data ; setuid to this UNIX account to run the program
;stopsignal=SIGINT ; signal used to kill process (default TERM)
logrotate
$ sudo nano /etc/logrotate.d/ccxt.ocollector
/var/log/ccxt.ocollector.out.log {
rotate 4
weekly
missingok
create 640 root adm
notifempty
compress
delaycompress
postrotate
/usr/sbin/service supervisor reload > /dev/null
endscript
}
/var/log/ccxt.ocollector.err.log {
rotate 4
weekly
missingok
create 640 root adm
notifempty
compress
delaycompress
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- CCXT.NET (>= 1.5.1)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.Configuration.FileExtensions (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- RabbitMQ.Client (>= 6.8.1)
- System.ServiceModel.Primitives (>= 8.0.0)
- System.Text.Json (>= 8.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
upgrade net8.0