Documentation ¶
Overview ¶
* Copyright 2021 The Cerebro Authors * * Licensed under the GNU General Public License v3.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * <https:fsf.org/> * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order interface { ID() string Item() item.Item Type() OrderType Reject() Expire() Cancel() Margin() Submit() Accept() Partial(size int64) Complete() Status() Status Exec() OrderType OrderPrice() float64 Action() Action Price() int64 Size() int64 RemainPrice() float64 Copy() Order SetID(id string) }
Click to show internal directories.
Click to hide internal directories.