-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve returned trade result information
- Loading branch information
Showing
44 changed files
with
1,957 additions
and
1,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
#include "coincentercommand.hpp" | ||
#include "coincentercommandtype.hpp" | ||
#include "coincenteroptions.hpp" | ||
|
||
namespace cct { | ||
class StringOptionParser; | ||
|
||
class CoincenterCommandFactory { | ||
public: | ||
CoincenterCommandFactory(const CoincenterCmdLineOptions &cmdLineOptions, const CoincenterCommand *pPreviousCommand) | ||
: _cmdLineOptions(cmdLineOptions), _pPreviousCommand(pPreviousCommand) {} | ||
|
||
static CoincenterCommand CreateMarketCommand(StringOptionParser &optionParser); | ||
|
||
CoincenterCommand createOrderCommand(CoincenterCommandType type, StringOptionParser &optionParser); | ||
|
||
CoincenterCommand createTradeCommand(CoincenterCommandType type, StringOptionParser &optionParser); | ||
|
||
CoincenterCommand createWithdrawApplyCommand(StringOptionParser &optionParser); | ||
|
||
CoincenterCommand createWithdrawApplyAllCommand(StringOptionParser &optionParser); | ||
|
||
private: | ||
const CoincenterCmdLineOptions &_cmdLineOptions; | ||
const CoincenterCommand *_pPreviousCommand; | ||
}; | ||
} // namespace cct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.