Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

arthurlm/quickfix-rs-examples

Open more actions menu

Repository files navigation

QuickFIX-rs examples

Most example here are made for Coinbase market.

Why ?

Because it is the simplest one to setup and it has a sandbox to play with.

Getting started

  1. Create a API token to Coinbase sandbox API with:
    • Trade permission
    • Your IP
  2. Setup following env variables:
    • COINBASE_API_KEY
    • COINBASE_API_PASSPHRASE
    • COINBASE_API_SECRET
  3. Check the code and update to your need.
  4. Add some fund to your sandbox portfolio.
  5. Launch the coinbase-example app 🚀 !!!

Including code from github instead of crates.io

That is so simple. Just add following lines to your Cargo.toml file:

coinbase-fix42-order-entry = { git = "https://github.com/arthurlm/quickfix-rs.git" }
coinbase-fix50-market-data = { git = "https://github.com/arthurlm/quickfix-rs.git" }
coinbase-fix-utils = { git = "https://github.com/arthurlm/quickfix-rs.git" }
quickfix = { git = "https://github.com/arthurlm/quickfix-rs.git" }

Other examples

NOTE: Make sure to clean FIX file message store before running examples.

Running executor (simple app that execute every order you sent to it):

cargo r --bin=executor configs/server.ini

Running single order sender:

cargo r --bin=single-order-sender  configs/client.ini

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.