CCXT.Collector 1.5.1

dotnet add package CCXT.Collector --version 1.5.1                
NuGet\Install-Package CCXT.Collector -Version 1.5.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CCXT.Collector" Version="1.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CCXT.Collector --version 1.5.1                
#r "nuget: CCXT.Collector, 1.5.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.1 120 9/18/2024
1.4.12 628 1/21/2022
1.4.11 460 1/21/2022
1.3.0 472 11/17/2020
1.2.0 567 3/17/2020

upgrade net8.0