Skip to content

celestian/flip

Repository files navigation

flip

Forex Simulation Platform

Features plan

  • CLI flip can ping flipd daemon (#12)
  • flipd daemon can start flip_crawler with proper configuration (#13)
  • flipd daemon can start flip_collector with proper configuration (#14)
  • flip_collector can save data to disk periodically (#15)
  • flip_collector can save data to disk and end if flipd ask (#16)

Development & Compilation

Preparation

Compile flip system

git clone --recursive https://github.com/celestian/flip.git

cd flip
./bootstrap.sh
./configure && make
# for cleaning
make distclean

Development utilities

# Compilation out of source tree:
. contrib/bashrc_flip
reconfig && chmake
# and for cleaning just remove build directory (e.g. `x86_64`)

# Source code and markdown autoformat
./prepare-commit.sh

Resources

How to use

TBD, draft:

# Enable debug
reconfig --enable-debug

# Run server flipd
make clean && chmake && ./flipd /home/celestian/Projects/flip/example/flip.conf

# List flip processes
ps -e | grep flip ; ll -l /tmp | grep flip

# See flip's logs
journalctl -t flipd
journalctl -t flip_crawler

# Debug on nanomsg sockets
nanocat --sub --connect ipc:///tmp/crawler_pubsub.ipc -AQ

# Coredump
coredumpctl list
coredumpctl -o bar.coredump dump /<path>/<to>/<service>

About

Forex Simulation Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published