vnpy/vn.api/vn.ib/ibapi/linux/client/OrderState.h

34 lines
696 B
C
Raw Normal View History

/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
* and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */
#pragma once
#ifndef ORDER_STATE_H__INCLUDED
#define ORDER_STATE_H__INCLUDED
#include "Order.h"
struct OrderState {
explicit OrderState()
:
commission(UNSET_DOUBLE),
minCommission(UNSET_DOUBLE),
maxCommission(UNSET_DOUBLE)
{}
std::string status;
std::string initMargin;
std::string maintMargin;
std::string equityWithLoan;
double commission;
double minCommission;
double maxCommission;
std::string commissionCurrency;
std::string warningText;
};
#endif