Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
slick::trader::CoinbaseOrderStates Class Reference

#include <slick-trader/brokers/coinbase/coinbase_order_states.hpp>

Collaboration diagram for slick::trader::CoinbaseOrderStates:

Public Member Functions

bool ack (const std::string &order_id, OrderStatus status, price_t &price, price_t &stop_price, qty_t &qty)
bool ended (const std::string &order_id) const
bool end (const std::string &order_id)
std::size_t size () const

Static Public Attributes

static constexpr std::size_t ENDED_KEPT = 1024

Detailed Description

Definition at line 17 of file coinbase_order_states.hpp.

Member Function Documentation

◆ ack()

bool slick::trader::CoinbaseOrderStates::ack ( const std::string & order_id,
OrderStatus status,
price_t & price,
price_t & stop_price,
qty_t & qty )
inline

Definition at line 25 of file coinbase_order_states.hpp.

References slick::trader::PENDING_NEW.

◆ end()

bool slick::trader::CoinbaseOrderStates::end ( const std::string & order_id)
inline

Definition at line 54 of file coinbase_order_states.hpp.

References ENDED_KEPT.

◆ ended()

bool slick::trader::CoinbaseOrderStates::ended ( const std::string & order_id) const
inline

Definition at line 48 of file coinbase_order_states.hpp.

◆ size()

std::size_t slick::trader::CoinbaseOrderStates::size ( ) const
inline

Definition at line 68 of file coinbase_order_states.hpp.

Member Data Documentation

◆ ENDED_KEPT

std::size_t slick::trader::CoinbaseOrderStates::ENDED_KEPT = 1024
staticconstexpr

Definition at line 20 of file coinbase_order_states.hpp.

Referenced by end().


The documentation for this class was generated from the following file: