ctrader-fix 0.3.3

A rust implementation of the cTrader FIX API.
Documentation

cTrader FIX API in Rust

This project is currently in active development and is not yet ready for production use.

This is a Rust implementation of the FIX API for the cTrader trading platform. It's built using the async-std library, providing an asynchronous and simple interface for interacting with the cTrader platform through the Financial Information eXchange (FIX) protocol.

To-Do

  • Base FixApi Implementation
  • Base Requests
  • Example code
    • Connect
    • Send logon
    • Send logout
    • Disconnect
  • Handle responses
    • Implement response structure
    • Implement response handler - notify
  • Add Error struct using thiserror
  • MarketClient
    • Internal Market data Callback
    • Parsing response message.
    • Subscribe the symbol for spot
    • Implement the check the request has accepted method.
    • Test for parsing market datas
    • Unsubscribe the symbol for spot
    • Subscribe the symbol for depth
    • Unsubscribe the symbol for depth
    • Parsing the spot market data in callback
    • Add quote spot data method
    • Parsing the depth market data in callback
    • Parsing the incremental market data in callback
    • Market data handler in example code.
    • FIX : waiting constantly in subscription method when market is closed.
  • TradeClient
    • Add fetch methods
    • Implement fetch_security_list to fetch the security list
    • Implement fetch_positions
    • Implement fetch_all_orders
    • Implement new_market_order
    • Implement new_limit_order
    • Implement replace_order
    • Implement close_position and close_all_position
    • Implement cancel_order and cancel_all_position

License

This project is licensed under the MIT License - see the LICENSE file for details.