@drakkar.software/octobot-protocol 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/models/Account.ts +89 -0
  2. package/models/AccountActionResult.ts +63 -0
  3. package/models/AccountActionResultErrorMessage.ts +21 -0
  4. package/models/AccountDetails.ts +38 -0
  5. package/models/AccountReference.ts +38 -0
  6. package/models/AccountState.ts +49 -0
  7. package/models/AccountStatus.ts +21 -0
  8. package/models/AccountStatusMessage.ts +27 -0
  9. package/models/AccountType.ts +21 -0
  10. package/models/AccountsState.ts +46 -0
  11. package/models/Action.ts +90 -0
  12. package/models/ActionConfigurationType.ts +25 -0
  13. package/models/ActiveOrderSwapStrategy.ts +55 -0
  14. package/models/ActiveOrderSwapStrategyType.ts +20 -0
  15. package/models/Asset.ts +66 -0
  16. package/models/AutomationActionResult.ts +70 -0
  17. package/models/AutomationActionResultErrorMessage.ts +24 -0
  18. package/models/AutomationConfiguration.ts +75 -0
  19. package/models/AutomationMetadata.ts +59 -0
  20. package/models/AutomationState.ts +117 -0
  21. package/models/BlockchainAccount.ts +79 -0
  22. package/models/CancelPolicy.ts +48 -0
  23. package/models/CancelPolicyType.ts +20 -0
  24. package/models/CopiedAccount.ts +76 -0
  25. package/models/CopiedAsset.ts +59 -0
  26. package/models/CopyConfiguration.ts +51 -0
  27. package/models/CreateAccountConfiguration.ts +52 -0
  28. package/models/CreateAutomationConfiguration.ts +52 -0
  29. package/models/DCAConfiguration.ts +127 -0
  30. package/models/DeleteAccountConfiguration.ts +51 -0
  31. package/models/EMAMomentumEvaluatorConfiguration.ts +65 -0
  32. package/models/EditAccountConfiguration.ts +59 -0
  33. package/models/EditAutomationConfiguration.ts +59 -0
  34. package/models/EvaluatorConfiguration.ts +39 -0
  35. package/models/EvaluatorConfigurationConfiguration.ts +35 -0
  36. package/models/EvaluatorType.ts +20 -0
  37. package/models/ExchangeAccount.ts +119 -0
  38. package/models/GenericAccount.ts +52 -0
  39. package/models/GenericProcessConfiguration.ts +51 -0
  40. package/models/GenericWorkflowConfiguration.ts +52 -0
  41. package/models/GridConfiguration.ts +112 -0
  42. package/models/IndexCoin.ts +45 -0
  43. package/models/IndexConfiguration.ts +59 -0
  44. package/models/MarketMakingConfiguration.ts +52 -0
  45. package/models/MarketMakingFundsDistribution.ts +21 -0
  46. package/models/MarketMakingHedgingEngine.ts +86 -0
  47. package/models/MarketMakingOrderBookDepth.ts +45 -0
  48. package/models/MarketMakingOrdersDistribution.ts +19 -0
  49. package/models/MarketMakingReferencePair.ts +75 -0
  50. package/models/MarketMakingScheduledVolume.ts +59 -0
  51. package/models/MarketMakingStopConditions.ts +69 -0
  52. package/models/MarketMakingSymbolConfiguration.ts +171 -0
  53. package/models/Order.ts +172 -0
  54. package/models/OrderGroup.ts +56 -0
  55. package/models/OrderGroupType.ts +21 -0
  56. package/models/OrderStatus.ts +28 -0
  57. package/models/OrderSummary.ts +45 -0
  58. package/models/OrderType.ts +24 -0
  59. package/models/Position.ts +91 -0
  60. package/models/PositionStatus.ts +22 -0
  61. package/models/PositionSummary.ts +45 -0
  62. package/models/RSIMomentumEvaluatorConfiguration.ts +65 -0
  63. package/models/RefreshAccountsConfiguration.ts +51 -0
  64. package/models/Side.ts +20 -0
  65. package/models/StopAutomationConfiguration.ts +51 -0
  66. package/models/StrategiesState.ts +46 -0
  67. package/models/Strategy.ts +81 -0
  68. package/models/StrategyConfiguration.ts +50 -0
  69. package/models/StrategyReference.ts +52 -0
  70. package/models/TaskStatus.ts +24 -0
  71. package/models/TimeFrame.ts +30 -0
  72. package/models/Trade.ts +99 -0
  73. package/models/TradeSummary.ts +45 -0
  74. package/models/TradingType.ts +22 -0
  75. package/models/TrailingProfile.ts +48 -0
  76. package/models/TrailingProfileType.ts +19 -0
  77. package/models/UserAction.ts +78 -0
  78. package/models/UserActionConfiguration.ts +50 -0
  79. package/models/UserActionResult.ts +35 -0
  80. package/models/UserActionResultType.ts +20 -0
  81. package/models/UserActionStatus.ts +22 -0
  82. package/models/UserActionType.ts +25 -0
  83. package/models/UserActionsState.ts +46 -0
  84. package/models/UserDataState.ts +54 -0
  85. package/models/index.ts +84 -0
  86. package/package.json +9 -0
@@ -0,0 +1,59 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * Scheduled volume order sizing and timing in quote currency.
16
+ */
17
+ export class MarketMakingScheduledVolume {
18
+ 'min_amount': number;
19
+ 'max_amount': number;
20
+ 'min_interval_seconds': number;
21
+ 'max_interval_seconds': number;
22
+
23
+ static readonly discriminator: string | undefined = undefined;
24
+
25
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
26
+
27
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
28
+ {
29
+ "name": "min_amount",
30
+ "baseName": "min_amount",
31
+ "type": "number",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "max_amount",
36
+ "baseName": "max_amount",
37
+ "type": "number",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "min_interval_seconds",
42
+ "baseName": "min_interval_seconds",
43
+ "type": "number",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "max_interval_seconds",
48
+ "baseName": "max_interval_seconds",
49
+ "type": "number",
50
+ "format": ""
51
+ } ];
52
+
53
+ static getAttributeTypeMap() {
54
+ return MarketMakingScheduledVolume.attributeTypeMap;
55
+ }
56
+
57
+ public constructor() {
58
+ }
59
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * Optional holdings and volatility thresholds used for automations / stop behavior.
16
+ */
17
+ export class MarketMakingStopConditions {
18
+ 'min_base_holding'?: number;
19
+ 'min_quote_holding'?: number;
20
+ 'max_positive_percent_price_change'?: number;
21
+ 'max_negative_percent_price_change'?: number;
22
+ /**
23
+ * Minutes window for average price when evaluating volatility stops.
24
+ */
25
+ 'average_price_counted_minutes'?: number;
26
+
27
+ static readonly discriminator: string | undefined = undefined;
28
+
29
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
30
+
31
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32
+ {
33
+ "name": "min_base_holding",
34
+ "baseName": "min_base_holding",
35
+ "type": "number",
36
+ "format": ""
37
+ },
38
+ {
39
+ "name": "min_quote_holding",
40
+ "baseName": "min_quote_holding",
41
+ "type": "number",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "max_positive_percent_price_change",
46
+ "baseName": "max_positive_percent_price_change",
47
+ "type": "number",
48
+ "format": ""
49
+ },
50
+ {
51
+ "name": "max_negative_percent_price_change",
52
+ "baseName": "max_negative_percent_price_change",
53
+ "type": "number",
54
+ "format": ""
55
+ },
56
+ {
57
+ "name": "average_price_counted_minutes",
58
+ "baseName": "average_price_counted_minutes",
59
+ "type": "number",
60
+ "format": ""
61
+ } ];
62
+
63
+ static getAttributeTypeMap() {
64
+ return MarketMakingStopConditions.attributeTypeMap;
65
+ }
66
+
67
+ public constructor() {
68
+ }
69
+ }
@@ -0,0 +1,171 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { MarketMakingFundsDistribution } from '../models/MarketMakingFundsDistribution';
14
+ import { MarketMakingHedgingEngine } from '../models/MarketMakingHedgingEngine';
15
+ import { MarketMakingOrderBookDepth } from '../models/MarketMakingOrderBookDepth';
16
+ import { MarketMakingOrdersDistribution } from '../models/MarketMakingOrdersDistribution';
17
+ import { MarketMakingReferencePair } from '../models/MarketMakingReferencePair';
18
+ import { MarketMakingScheduledVolume } from '../models/MarketMakingScheduledVolume';
19
+ import { MarketMakingStopConditions } from '../models/MarketMakingStopConditions';
20
+
21
+ /**
22
+ * MarketMakingSymbolConfiguration
23
+ */
24
+ export class MarketMakingSymbolConfiguration {
25
+ 'trading_pair': string;
26
+ 'reference_price': Array<MarketMakingReferencePair>;
27
+ /**
28
+ * Minimum spread as a percentage (e.g. 0.5 for 0.5%).
29
+ */
30
+ 'min_spread': number;
31
+ /**
32
+ * Maximum spread as a percentage.
33
+ */
34
+ 'max_spread': number;
35
+ 'order_book_depth'?: MarketMakingOrderBookDepth;
36
+ 'scheduled_volume'?: MarketMakingScheduledVolume;
37
+ 'stop_conditions'?: MarketMakingStopConditions;
38
+ 'bids_count': number;
39
+ 'asks_count': number;
40
+ 'orders_distribution': MarketMakingOrdersDistribution;
41
+ 'funds_distribution': MarketMakingFundsDistribution;
42
+ 'exchange': string;
43
+ /**
44
+ * 0 means unlimited when supported.
45
+ */
46
+ 'max_base_budget'?: number;
47
+ /**
48
+ * 0 means unlimited when supported.
49
+ */
50
+ 'max_quote_budget'?: number;
51
+ 'min_base_budget'?: number;
52
+ 'min_quote_budget'?: number;
53
+ 'hedging_engine'?: MarketMakingHedgingEngine;
54
+
55
+ static readonly discriminator: string | undefined = undefined;
56
+
57
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
58
+
59
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
60
+ {
61
+ "name": "trading_pair",
62
+ "baseName": "trading_pair",
63
+ "type": "string",
64
+ "format": ""
65
+ },
66
+ {
67
+ "name": "reference_price",
68
+ "baseName": "reference_price",
69
+ "type": "Array<MarketMakingReferencePair>",
70
+ "format": ""
71
+ },
72
+ {
73
+ "name": "min_spread",
74
+ "baseName": "min_spread",
75
+ "type": "number",
76
+ "format": ""
77
+ },
78
+ {
79
+ "name": "max_spread",
80
+ "baseName": "max_spread",
81
+ "type": "number",
82
+ "format": ""
83
+ },
84
+ {
85
+ "name": "order_book_depth",
86
+ "baseName": "order_book_depth",
87
+ "type": "MarketMakingOrderBookDepth",
88
+ "format": ""
89
+ },
90
+ {
91
+ "name": "scheduled_volume",
92
+ "baseName": "scheduled_volume",
93
+ "type": "MarketMakingScheduledVolume",
94
+ "format": ""
95
+ },
96
+ {
97
+ "name": "stop_conditions",
98
+ "baseName": "stop_conditions",
99
+ "type": "MarketMakingStopConditions",
100
+ "format": ""
101
+ },
102
+ {
103
+ "name": "bids_count",
104
+ "baseName": "bids_count",
105
+ "type": "number",
106
+ "format": ""
107
+ },
108
+ {
109
+ "name": "asks_count",
110
+ "baseName": "asks_count",
111
+ "type": "number",
112
+ "format": ""
113
+ },
114
+ {
115
+ "name": "orders_distribution",
116
+ "baseName": "orders_distribution",
117
+ "type": "MarketMakingOrdersDistribution",
118
+ "format": ""
119
+ },
120
+ {
121
+ "name": "funds_distribution",
122
+ "baseName": "funds_distribution",
123
+ "type": "MarketMakingFundsDistribution",
124
+ "format": ""
125
+ },
126
+ {
127
+ "name": "exchange",
128
+ "baseName": "exchange",
129
+ "type": "string",
130
+ "format": ""
131
+ },
132
+ {
133
+ "name": "max_base_budget",
134
+ "baseName": "max_base_budget",
135
+ "type": "number",
136
+ "format": ""
137
+ },
138
+ {
139
+ "name": "max_quote_budget",
140
+ "baseName": "max_quote_budget",
141
+ "type": "number",
142
+ "format": ""
143
+ },
144
+ {
145
+ "name": "min_base_budget",
146
+ "baseName": "min_base_budget",
147
+ "type": "number",
148
+ "format": ""
149
+ },
150
+ {
151
+ "name": "min_quote_budget",
152
+ "baseName": "min_quote_budget",
153
+ "type": "number",
154
+ "format": ""
155
+ },
156
+ {
157
+ "name": "hedging_engine",
158
+ "baseName": "hedging_engine",
159
+ "type": "MarketMakingHedgingEngine",
160
+ "format": ""
161
+ } ];
162
+
163
+ static getAttributeTypeMap() {
164
+ return MarketMakingSymbolConfiguration.attributeTypeMap;
165
+ }
166
+
167
+ public constructor() {
168
+ }
169
+ }
170
+
171
+
@@ -0,0 +1,172 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { CancelPolicy } from '../models/CancelPolicy';
14
+ import { OrderGroup } from '../models/OrderGroup';
15
+ import { OrderStatus } from '../models/OrderStatus';
16
+ import { OrderType } from '../models/OrderType';
17
+ import { Side } from '../models/Side';
18
+ import { TrailingProfile } from '../models/TrailingProfile';
19
+
20
+ /**
21
+ * Order
22
+ */
23
+ export class Order {
24
+ 'id': string;
25
+ 'symbol': string;
26
+ 'price': number;
27
+ 'quantity': number;
28
+ 'filled': number;
29
+ 'exchange_id': string;
30
+ 'side': Side;
31
+ 'type': OrderType;
32
+ 'trigger_above'?: boolean;
33
+ 'reduce_only'?: boolean;
34
+ 'is_active'?: boolean;
35
+ 'status': OrderStatus;
36
+ 'created_at': Date;
37
+ 'entries'?: Array<string>;
38
+ 'update_with_triggering_order_fees'?: boolean;
39
+ 'order_group'?: OrderGroup;
40
+ 'trailing_profile'?: TrailingProfile;
41
+ 'cancel_policy'?: CancelPolicy;
42
+ 'chained_orders'?: Array<Order>;
43
+
44
+ static readonly discriminator: string | undefined = undefined;
45
+
46
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
47
+
48
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
49
+ {
50
+ "name": "id",
51
+ "baseName": "id",
52
+ "type": "string",
53
+ "format": ""
54
+ },
55
+ {
56
+ "name": "symbol",
57
+ "baseName": "symbol",
58
+ "type": "string",
59
+ "format": ""
60
+ },
61
+ {
62
+ "name": "price",
63
+ "baseName": "price",
64
+ "type": "number",
65
+ "format": ""
66
+ },
67
+ {
68
+ "name": "quantity",
69
+ "baseName": "quantity",
70
+ "type": "number",
71
+ "format": ""
72
+ },
73
+ {
74
+ "name": "filled",
75
+ "baseName": "filled",
76
+ "type": "number",
77
+ "format": ""
78
+ },
79
+ {
80
+ "name": "exchange_id",
81
+ "baseName": "exchange_id",
82
+ "type": "string",
83
+ "format": ""
84
+ },
85
+ {
86
+ "name": "side",
87
+ "baseName": "side",
88
+ "type": "Side",
89
+ "format": ""
90
+ },
91
+ {
92
+ "name": "type",
93
+ "baseName": "type",
94
+ "type": "OrderType",
95
+ "format": ""
96
+ },
97
+ {
98
+ "name": "trigger_above",
99
+ "baseName": "trigger_above",
100
+ "type": "boolean",
101
+ "format": ""
102
+ },
103
+ {
104
+ "name": "reduce_only",
105
+ "baseName": "reduce_only",
106
+ "type": "boolean",
107
+ "format": ""
108
+ },
109
+ {
110
+ "name": "is_active",
111
+ "baseName": "is_active",
112
+ "type": "boolean",
113
+ "format": ""
114
+ },
115
+ {
116
+ "name": "status",
117
+ "baseName": "status",
118
+ "type": "OrderStatus",
119
+ "format": ""
120
+ },
121
+ {
122
+ "name": "created_at",
123
+ "baseName": "created_at",
124
+ "type": "Date",
125
+ "format": "date-time"
126
+ },
127
+ {
128
+ "name": "entries",
129
+ "baseName": "entries",
130
+ "type": "Array<string>",
131
+ "format": ""
132
+ },
133
+ {
134
+ "name": "update_with_triggering_order_fees",
135
+ "baseName": "update_with_triggering_order_fees",
136
+ "type": "boolean",
137
+ "format": ""
138
+ },
139
+ {
140
+ "name": "order_group",
141
+ "baseName": "order_group",
142
+ "type": "OrderGroup",
143
+ "format": ""
144
+ },
145
+ {
146
+ "name": "trailing_profile",
147
+ "baseName": "trailing_profile",
148
+ "type": "TrailingProfile",
149
+ "format": ""
150
+ },
151
+ {
152
+ "name": "cancel_policy",
153
+ "baseName": "cancel_policy",
154
+ "type": "CancelPolicy",
155
+ "format": ""
156
+ },
157
+ {
158
+ "name": "chained_orders",
159
+ "baseName": "chained_orders",
160
+ "type": "Array<Order>",
161
+ "format": ""
162
+ } ];
163
+
164
+ static getAttributeTypeMap() {
165
+ return Order.attributeTypeMap;
166
+ }
167
+
168
+ public constructor() {
169
+ }
170
+ }
171
+
172
+
@@ -0,0 +1,56 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { ActiveOrderSwapStrategy } from '../models/ActiveOrderSwapStrategy';
14
+ import { OrderGroupType } from '../models/OrderGroupType';
15
+
16
+ /**
17
+ * OrderGroup
18
+ */
19
+ export class OrderGroup {
20
+ 'id': string;
21
+ 'type'?: OrderGroupType;
22
+ 'active_order_swap_strategy'?: ActiveOrderSwapStrategy;
23
+
24
+ static readonly discriminator: string | undefined = undefined;
25
+
26
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
27
+
28
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
29
+ {
30
+ "name": "id",
31
+ "baseName": "id",
32
+ "type": "string",
33
+ "format": ""
34
+ },
35
+ {
36
+ "name": "type",
37
+ "baseName": "type",
38
+ "type": "OrderGroupType",
39
+ "format": ""
40
+ },
41
+ {
42
+ "name": "active_order_swap_strategy",
43
+ "baseName": "active_order_swap_strategy",
44
+ "type": "ActiveOrderSwapStrategy",
45
+ "format": ""
46
+ } ];
47
+
48
+ static getAttributeTypeMap() {
49
+ return OrderGroup.attributeTypeMap;
50
+ }
51
+
52
+ public constructor() {
53
+ }
54
+ }
55
+
56
+
@@ -0,0 +1,21 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * Order group class name (mirrors persisted OrderGroup.__name__ in octobot_trading).
16
+ */
17
+ export enum OrderGroupType {
18
+ BalancedTakeProfitAndStopOrderGroup = 'BalancedTakeProfitAndStopOrderGroup',
19
+ TrailingOnFilledTpBalancedOrderGroup = 'TrailingOnFilledTPBalancedOrderGroup',
20
+ OneCancelsTheOtherOrderGroup = 'OneCancelsTheOtherOrderGroup'
21
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * Lifecycle state of an order.
16
+ */
17
+ export enum OrderStatus {
18
+ PendingCreation = 'pending_creation',
19
+ Open = 'open',
20
+ PartiallyFilled = 'partially_filled',
21
+ Filled = 'filled',
22
+ Canceled = 'canceled',
23
+ Canceling = 'canceling',
24
+ Closed = 'closed',
25
+ Expired = 'expired',
26
+ Rejected = 'rejected',
27
+ Unknown = 'unknown'
28
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * OrderSummary
16
+ */
17
+ export class OrderSummary {
18
+ 'id': string;
19
+ 'symbol': string;
20
+
21
+ static readonly discriminator: string | undefined = undefined;
22
+
23
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
24
+
25
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26
+ {
27
+ "name": "id",
28
+ "baseName": "id",
29
+ "type": "string",
30
+ "format": ""
31
+ },
32
+ {
33
+ "name": "symbol",
34
+ "baseName": "symbol",
35
+ "type": "string",
36
+ "format": ""
37
+ } ];
38
+
39
+ static getAttributeTypeMap() {
40
+ return OrderSummary.attributeTypeMap;
41
+ }
42
+
43
+ public constructor() {
44
+ }
45
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * Exchange order type.
16
+ */
17
+ export enum OrderType {
18
+ Limit = 'limit',
19
+ Market = 'market',
20
+ StopLoss = 'stop_loss',
21
+ StopLossLimit = 'stop_loss_limit',
22
+ TakeProfit = 'take_profit',
23
+ TakeProfitLimit = 'take_profit_limit'
24
+ }