code.vegaprotocol.io/vega@v0.79.0/core/integration/features/orders/1779-cannot-place-network-order.feature (about)

     1  Feature: Cannot place an network order
     2  
     3    Background:
     4      Given the markets:
     5        | id        | quote name | asset | risk model                  | margin calculator         | auction duration | fees         | price monitoring | data source config     | linear slippage factor | quadratic slippage factor | sla params      |
     6        | ETH/DEC19 | ETH        | ETH   | default-simple-risk-model-3 | default-margin-calculator | 0                | default-none | default-none     | default-eth-for-future | 0.25                   | 0                         | default-futures |
     7  
     8    Scenario: an order is rejected if a party try to place an order with type NETWORK (0014-ORDT-005)
     9      Given the parties deposit on asset's general account the following amount:
    10        | party  | asset | amount |
    11        | party1 | ETH   | 1      |
    12      When the parties place the following orders:
    13        | party  | market id | side | volume | price | type         | tif     | reference | error              |
    14        | party1 | ETH/DEC19 | sell | 1      | 1000  | TYPE_NETWORK | TIF_GTC | ref-1     | invalid order type |