Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
616e51f6-73aa-41eb-8d68-237632e749c6
cdd2319c-ebca-490b-8ca8-aee808609fd7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ The universal symbol ID of the security to trade. Must be 'null' if `symbol` is

##### symbol: `string`<a id="symbol-string"></a>

The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example \\\"AAPL 131124C00240000\\\" represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format). If 'symbol' is provided, then 'universal_symbol_id' must be 'null'.
The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format). If 'symbol' is provided, then 'universal_symbol_id' must be 'null'.

##### price: `float`<a id="price-float"></a>

Expand Down
104 changes: 52 additions & 52 deletions lib/Api/TradingApi.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Model/ManualTradeFormWithOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public function getSymbol()
/**
* Sets symbol
*
* @param string|null $symbol The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example \"AAPL 131124C00240000\" represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format). If 'symbol' is provided, then 'universal_symbol_id' must be 'null'.
* @param string|null $symbol The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format). If 'symbol' is provided, then 'universal_symbol_id' must be 'null'.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MlegTradingInstrument.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function getSymbol()
/**
* Sets symbol
*
* @param string $symbol The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example \"AAPL 131124C00240000\" represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
* @param string $symbol The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* TradingPlaceSimpleOrderRequest
* SimpleOrderForm
*
* PHP version 7.4
*
Expand All @@ -27,13 +27,13 @@
use \SnapTrade\ObjectSerializer;

/**
* TradingPlaceSimpleOrderRequest Class Doc Comment
* SimpleOrderForm Class Doc Comment
*
* @category Class
* @package SnapTrade
* @implements \ArrayAccess<string, mixed>
*/
class TradingPlaceSimpleOrderRequest implements ModelInterface, ArrayAccess, \JsonSerializable
class SimpleOrderForm implements ModelInterface, ArrayAccess, \JsonSerializable
{
public const DISCRIMINATOR = null;

Expand All @@ -42,7 +42,7 @@ class TradingPlaceSimpleOrderRequest implements ModelInterface, ArrayAccess, \Js
*
* @var string
*/
protected static $openAPIModelName = 'Trading_placeSimpleOrder_request';
protected static $openAPIModelName = 'SimpleOrderForm';

/**
* Array of property to type mappings. Used for (de)serialization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* TradingPlaceSimpleOrderRequestTest
* SimpleOrderFormTest
*
* PHP version 7.4
*
Expand All @@ -26,13 +26,13 @@
use PHPUnit\Framework\TestCase;

/**
* TradingPlaceSimpleOrderRequestTest Class Doc Comment
* SimpleOrderFormTest Class Doc Comment
*
* @category Class
* @description TradingPlaceSimpleOrderRequest
* @description SimpleOrderForm
* @package SnapTrade
*/
class TradingPlaceSimpleOrderRequestTest extends TestCase
class SimpleOrderFormTest extends TestCase
{

/**
Expand Down Expand Up @@ -64,9 +64,9 @@ public static function tearDownAfterClass(): void
}

/**
* Test "TradingPlaceSimpleOrderRequest"
* Test "SimpleOrderForm"
*/
public function testTradingPlaceSimpleOrderRequest()
public function testSimpleOrderForm()
{
// TODO: implement
$this->markTestIncomplete('Not implemented');
Expand Down