snaptrade-python-sdk 11.0.108__py3-none-any.whl → 11.0.110__py3-none-any.whl
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.
- snaptrade_client/__init__.py +1 -1
- snaptrade_client/api_client.py +1 -1
- snaptrade_client/apis/path_to_api.py +3 -3
- snaptrade_client/apis/tag_to_api.py +3 -0
- snaptrade_client/apis/tags/__init__.py +1 -0
- snaptrade_client/apis/tags/crypto_trading_api.py +6 -0
- snaptrade_client/apis/tags/crypto_trading_api_generated.py +21 -0
- snaptrade_client/apis/tags/trading_api_generated.py +0 -2
- snaptrade_client/client.py +2 -0
- snaptrade_client/client.pyi +2 -0
- snaptrade_client/configuration.py +1 -1
- snaptrade_client/operation_parameter_map.py +19 -19
- snaptrade_client/paths/__init__.py +1 -1
- {snaptrade_python_sdk-11.0.108.dist-info → snaptrade_python_sdk-11.0.110.dist-info}/METADATA +44 -44
- {snaptrade_python_sdk-11.0.108.dist-info → snaptrade_python_sdk-11.0.110.dist-info}/RECORD +17 -15
- {snaptrade_python_sdk-11.0.108.dist-info → snaptrade_python_sdk-11.0.110.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.108.dist-info → snaptrade_python_sdk-11.0.110.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
snaptrade_client/api_client.py
CHANGED
|
@@ -1155,7 +1155,7 @@ class ApiClient:
|
|
|
1155
1155
|
self.default_headers[header_name] = header_value
|
|
1156
1156
|
self.cookie = cookie
|
|
1157
1157
|
# Set default User-Agent.
|
|
1158
|
-
self.user_agent = 'Konfig/11.0.
|
|
1158
|
+
self.user_agent = 'Konfig/11.0.110/python'
|
|
1159
1159
|
|
|
1160
1160
|
def __enter__(self):
|
|
1161
1161
|
return self
|
|
@@ -40,7 +40,6 @@ from snaptrade_client.apis.paths.accounts_account_id_trading_simple_brokerage_or
|
|
|
40
40
|
from snaptrade_client.apis.paths.accounts_account_id_trading_simple import AccountsAccountIdTradingSimple
|
|
41
41
|
from snaptrade_client.apis.paths.accounts_account_id_trading_simple_brokerage_order_id_cancel import AccountsAccountIdTradingSimpleBrokerageOrderIdCancel
|
|
42
42
|
from snaptrade_client.apis.paths.accounts_account_id_trading_simple_preview import AccountsAccountIdTradingSimplePreview
|
|
43
|
-
from snaptrade_client.apis.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs import AccountsAccountIdTradingInstrumentsCryptocurrencyPairs
|
|
44
43
|
from snaptrade_client.apis.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote import AccountsAccountIdTradingInstrumentsCryptocurrencyPairsInstrumentSymbolQuote
|
|
45
44
|
from snaptrade_client.apis.paths.accounts_account_id_trading_options import AccountsAccountIdTradingOptions
|
|
46
45
|
from snaptrade_client.apis.paths.snap_trade_partners import SnapTradePartners
|
|
@@ -54,6 +53,7 @@ from snaptrade_client.apis.paths.exchanges import Exchanges
|
|
|
54
53
|
from snaptrade_client.apis.paths.security_types import SecurityTypes
|
|
55
54
|
from snaptrade_client.apis.paths.symbols import Symbols
|
|
56
55
|
from snaptrade_client.apis.paths.symbols_query import SymbolsQuery
|
|
56
|
+
from snaptrade_client.apis.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs import AccountsAccountIdTradingInstrumentsCryptocurrencyPairs
|
|
57
57
|
|
|
58
58
|
PathToApi = typing_extensions.TypedDict(
|
|
59
59
|
'PathToApi',
|
|
@@ -97,7 +97,6 @@ PathToApi = typing_extensions.TypedDict(
|
|
|
97
97
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
98
98
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_BROKERAGE_ORDER_ID_CANCEL: AccountsAccountIdTradingSimpleBrokerageOrderIdCancel,
|
|
99
99
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_PREVIEW: AccountsAccountIdTradingSimplePreview,
|
|
100
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS: AccountsAccountIdTradingInstrumentsCryptocurrencyPairs,
|
|
101
100
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS_INSTRUMENT_SYMBOL_QUOTE: AccountsAccountIdTradingInstrumentsCryptocurrencyPairsInstrumentSymbolQuote,
|
|
102
101
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS: AccountsAccountIdTradingOptions,
|
|
103
102
|
PathValues.SNAP_TRADE_PARTNERS: SnapTradePartners,
|
|
@@ -111,6 +110,7 @@ PathToApi = typing_extensions.TypedDict(
|
|
|
111
110
|
PathValues.SECURITY_TYPES: SecurityTypes,
|
|
112
111
|
PathValues.SYMBOLS: Symbols,
|
|
113
112
|
PathValues.SYMBOLS_QUERY: SymbolsQuery,
|
|
113
|
+
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS: AccountsAccountIdTradingInstrumentsCryptocurrencyPairs,
|
|
114
114
|
}
|
|
115
115
|
)
|
|
116
116
|
|
|
@@ -155,7 +155,6 @@ path_to_api = PathToApi(
|
|
|
155
155
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
156
156
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_BROKERAGE_ORDER_ID_CANCEL: AccountsAccountIdTradingSimpleBrokerageOrderIdCancel,
|
|
157
157
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_PREVIEW: AccountsAccountIdTradingSimplePreview,
|
|
158
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS: AccountsAccountIdTradingInstrumentsCryptocurrencyPairs,
|
|
159
158
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS_INSTRUMENT_SYMBOL_QUOTE: AccountsAccountIdTradingInstrumentsCryptocurrencyPairsInstrumentSymbolQuote,
|
|
160
159
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS: AccountsAccountIdTradingOptions,
|
|
161
160
|
PathValues.SNAP_TRADE_PARTNERS: SnapTradePartners,
|
|
@@ -169,5 +168,6 @@ path_to_api = PathToApi(
|
|
|
169
168
|
PathValues.SECURITY_TYPES: SecurityTypes,
|
|
170
169
|
PathValues.SYMBOLS: Symbols,
|
|
171
170
|
PathValues.SYMBOLS_QUERY: SymbolsQuery,
|
|
171
|
+
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS: AccountsAccountIdTradingInstrumentsCryptocurrencyPairs,
|
|
172
172
|
}
|
|
173
173
|
)
|
|
@@ -8,6 +8,7 @@ from snaptrade_client.apis.tags.account_information_api import AccountInformatio
|
|
|
8
8
|
from snaptrade_client.apis.tags.options_api import OptionsApi
|
|
9
9
|
from snaptrade_client.apis.tags.transactions_and_reporting_api import TransactionsAndReportingApi
|
|
10
10
|
from snaptrade_client.apis.tags.trading_api import TradingApi
|
|
11
|
+
from snaptrade_client.apis.tags.crypto_trading_api import CryptoTradingApi
|
|
11
12
|
from snaptrade_client.apis.tags.reference_data_api import ReferenceDataApi
|
|
12
13
|
|
|
13
14
|
TagToApi = typing_extensions.TypedDict(
|
|
@@ -20,6 +21,7 @@ TagToApi = typing_extensions.TypedDict(
|
|
|
20
21
|
TagValues.OPTIONS: OptionsApi,
|
|
21
22
|
TagValues.TRANSACTIONS_AND_REPORTING: TransactionsAndReportingApi,
|
|
22
23
|
TagValues.TRADING: TradingApi,
|
|
24
|
+
TagValues.CRYPTO_TRADING: CryptoTradingApi,
|
|
23
25
|
TagValues.REFERENCE_DATA: ReferenceDataApi,
|
|
24
26
|
}
|
|
25
27
|
)
|
|
@@ -33,6 +35,7 @@ tag_to_api = TagToApi(
|
|
|
33
35
|
TagValues.OPTIONS: OptionsApi,
|
|
34
36
|
TagValues.TRANSACTIONS_AND_REPORTING: TransactionsAndReportingApi,
|
|
35
37
|
TagValues.TRADING: TradingApi,
|
|
38
|
+
TagValues.CRYPTO_TRADING: CryptoTradingApi,
|
|
36
39
|
TagValues.REFERENCE_DATA: ReferenceDataApi,
|
|
37
40
|
}
|
|
38
41
|
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
"""
|
|
3
|
+
SnapTrade
|
|
4
|
+
|
|
5
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
6
|
+
|
|
7
|
+
The version of the OpenAPI document: 1.0.0
|
|
8
|
+
Contact: api@snaptrade.com
|
|
9
|
+
Created by: https://snaptrade.com/
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from snaptrade_client.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs.get import SearchCryptocurrencyPairInstruments
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CryptoTradingApiGenerated(
|
|
16
|
+
SearchCryptocurrencyPairInstruments,
|
|
17
|
+
):
|
|
18
|
+
"""NOTE:
|
|
19
|
+
This class is auto generated by Konfig (https://konfigthis.com)
|
|
20
|
+
"""
|
|
21
|
+
pass
|
|
@@ -21,7 +21,6 @@ from snaptrade_client.paths.trade_trade_id.post import PlaceOrder
|
|
|
21
21
|
from snaptrade_client.paths.accounts_account_id_trading_simple.post import PlaceSimpleOrder
|
|
22
22
|
from snaptrade_client.paths.accounts_account_id_trading_simple_preview.post import PreviewSimpleOrder
|
|
23
23
|
from snaptrade_client.paths.accounts_account_id_trading_simple_brokerage_order_id_replace.patch import ReplaceOrder
|
|
24
|
-
from snaptrade_client.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs.get import SearchCryptocurrencyPairInstruments
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
class TradingApiGenerated(
|
|
@@ -37,7 +36,6 @@ class TradingApiGenerated(
|
|
|
37
36
|
PlaceSimpleOrder,
|
|
38
37
|
PreviewSimpleOrder,
|
|
39
38
|
ReplaceOrder,
|
|
40
|
-
SearchCryptocurrencyPairInstruments,
|
|
41
39
|
):
|
|
42
40
|
"""NOTE:
|
|
43
41
|
This class is auto generated by Konfig (https://konfigthis.com)
|
snaptrade_client/client.py
CHANGED
|
@@ -20,6 +20,7 @@ from snaptrade_client.apis.tags.account_information_api import AccountInformatio
|
|
|
20
20
|
from snaptrade_client.apis.tags.api_status_api import APIStatusApi
|
|
21
21
|
from snaptrade_client.apis.tags.authentication_api import AuthenticationApi
|
|
22
22
|
from snaptrade_client.apis.tags.connections_api import ConnectionsApi
|
|
23
|
+
from snaptrade_client.apis.tags.crypto_trading_api import CryptoTradingApi
|
|
23
24
|
from snaptrade_client.apis.tags.options_api import OptionsApi
|
|
24
25
|
from snaptrade_client.apis.tags.reference_data_api import ReferenceDataApi
|
|
25
26
|
from snaptrade_client.apis.tags.trading_api import TradingApi
|
|
@@ -40,6 +41,7 @@ class SnapTrade(ClientCustom):
|
|
|
40
41
|
self.api_status: APIStatusApi = APIStatusApi(api_client)
|
|
41
42
|
self.authentication: AuthenticationApi = AuthenticationApi(api_client)
|
|
42
43
|
self.connections: ConnectionsApi = ConnectionsApi(api_client)
|
|
44
|
+
self.crypto_trading: CryptoTradingApi = CryptoTradingApi(api_client)
|
|
43
45
|
self.options: OptionsApi = OptionsApi(api_client)
|
|
44
46
|
self.reference_data: ReferenceDataApi = ReferenceDataApi(api_client)
|
|
45
47
|
self.trading: TradingApi = TradingApi(api_client)
|
snaptrade_client/client.pyi
CHANGED
|
@@ -20,6 +20,7 @@ from snaptrade_client.apis.tags.account_information_api import AccountInformatio
|
|
|
20
20
|
from snaptrade_client.apis.tags.api_status_api import APIStatusApi
|
|
21
21
|
from snaptrade_client.apis.tags.authentication_api import AuthenticationApi
|
|
22
22
|
from snaptrade_client.apis.tags.connections_api import ConnectionsApi
|
|
23
|
+
from snaptrade_client.apis.tags.crypto_trading_api import CryptoTradingApi
|
|
23
24
|
from snaptrade_client.apis.tags.options_api import OptionsApi
|
|
24
25
|
from snaptrade_client.apis.tags.reference_data_api import ReferenceDataApi
|
|
25
26
|
from snaptrade_client.apis.tags.trading_api import TradingApi
|
|
@@ -40,6 +41,7 @@ class SnapTrade(ClientCustom):
|
|
|
40
41
|
self.api_status: APIStatusApi = APIStatusApi(api_client)
|
|
41
42
|
self.authentication: AuthenticationApi = AuthenticationApi(api_client)
|
|
42
43
|
self.connections: ConnectionsApi = ConnectionsApi(api_client)
|
|
44
|
+
self.crypto_trading: CryptoTradingApi = CryptoTradingApi(api_client)
|
|
43
45
|
self.options: OptionsApi = OptionsApi(api_client)
|
|
44
46
|
self.reference_data: ReferenceDataApi = ReferenceDataApi(api_client)
|
|
45
47
|
self.trading: TradingApi = TradingApi(api_client)
|
|
@@ -438,7 +438,7 @@ conf = snaptrade_client.Configuration(
|
|
|
438
438
|
"OS: {env}\n"\
|
|
439
439
|
"Python Version: {pyversion}\n"\
|
|
440
440
|
"Version of the API: 1.0.0\n"\
|
|
441
|
-
"SDK Package Version: 11.0.
|
|
441
|
+
"SDK Package Version: 11.0.110".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -311,6 +311,25 @@ operation_parameter_map = {
|
|
|
311
311
|
},
|
|
312
312
|
]
|
|
313
313
|
},
|
|
314
|
+
'/accounts/{accountId}/trading/instruments/cryptocurrencyPairs-GET': {
|
|
315
|
+
'parameters': [
|
|
316
|
+
{
|
|
317
|
+
'name': 'userId'
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
'name': 'userSecret'
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
'name': 'accountId'
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
'name': 'base'
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
'name': 'quote'
|
|
330
|
+
},
|
|
331
|
+
]
|
|
332
|
+
},
|
|
314
333
|
'/accounts/{accountId}/optionStrategy-POST': {
|
|
315
334
|
'parameters': [
|
|
316
335
|
{
|
|
@@ -822,25 +841,6 @@ operation_parameter_map = {
|
|
|
822
841
|
},
|
|
823
842
|
]
|
|
824
843
|
},
|
|
825
|
-
'/accounts/{accountId}/trading/instruments/cryptocurrencyPairs-GET': {
|
|
826
|
-
'parameters': [
|
|
827
|
-
{
|
|
828
|
-
'name': 'userId'
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
'name': 'userSecret'
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
'name': 'accountId'
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
'name': 'base'
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
'name': 'quote'
|
|
841
|
-
},
|
|
842
|
-
]
|
|
843
|
-
},
|
|
844
844
|
'/activities-GET': {
|
|
845
845
|
'parameters': [
|
|
846
846
|
{
|
|
@@ -45,7 +45,6 @@ class PathValues(str, enum.Enum):
|
|
|
45
45
|
ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE = "/accounts/{accountId}/trading/simple"
|
|
46
46
|
ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_BROKERAGE_ORDER_ID_CANCEL = "/accounts/{accountId}/trading/simple/{brokerageOrderId}/cancel"
|
|
47
47
|
ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE_PREVIEW = "/accounts/{accountId}/trading/simple/preview"
|
|
48
|
-
ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS = "/accounts/{accountId}/trading/instruments/cryptocurrencyPairs"
|
|
49
48
|
ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS_INSTRUMENT_SYMBOL_QUOTE = "/accounts/{accountId}/trading/instruments/cryptocurrencyPairs/{instrumentSymbol}/quote"
|
|
50
49
|
ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS = "/accounts/{accountId}/trading/options"
|
|
51
50
|
SNAP_TRADE_PARTNERS = "/snapTrade/partners"
|
|
@@ -59,3 +58,4 @@ class PathValues(str, enum.Enum):
|
|
|
59
58
|
SECURITY_TYPES = "/securityTypes"
|
|
60
59
|
SYMBOLS = "/symbols"
|
|
61
60
|
SYMBOLS_QUERY = "/symbols/{query}"
|
|
61
|
+
ACCOUNTS_ACCOUNT_ID_TRADING_INSTRUMENTS_CRYPTOCURRENCY_PAIRS = "/accounts/{accountId}/trading/instruments/cryptocurrencyPairs"
|
{snaptrade_python_sdk-11.0.108.dist-info → snaptrade_python_sdk-11.0.110.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.110
|
|
4
4
|
Summary: Client for SnapTrade
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: SnapTrade
|
|
@@ -17,7 +17,7 @@ Requires-Dist: certifi (>=2023.7.22)
|
|
|
17
17
|
Requires-Dist: cryptography (>=43.0.3,<44.0.0)
|
|
18
18
|
Requires-Dist: frozendict (>=2.3.4,<3.0.0)
|
|
19
19
|
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
|
|
20
|
-
Requires-Dist: typing_extensions (
|
|
20
|
+
Requires-Dist: typing_extensions (==4.13.2)
|
|
21
21
|
Requires-Dist: urllib3 (>=1.26.18,<3.0.0)
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
Connect brokerage accounts to your app for live positions and trading
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
[](https://pypi.org/project/snaptrade-python-sdk/11.0.110)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -69,6 +69,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
69
69
|
* [`snaptrade.connections.remove_brokerage_authorization`](#snaptradeconnectionsremove_brokerage_authorization)
|
|
70
70
|
* [`snaptrade.connections.return_rates`](#snaptradeconnectionsreturn_rates)
|
|
71
71
|
* [`snaptrade.connections.session_events`](#snaptradeconnectionssession_events)
|
|
72
|
+
* [`snaptrade.crypto_trading.search_cryptocurrency_pair_instruments`](#snaptradecrypto_tradingsearch_cryptocurrency_pair_instruments)
|
|
72
73
|
* [`snaptrade.options.get_option_strategy`](#snaptradeoptionsget_option_strategy)
|
|
73
74
|
* [`snaptrade.options.get_options_chain`](#snaptradeoptionsget_options_chain)
|
|
74
75
|
* [`snaptrade.options.get_options_strategy_quote`](#snaptradeoptionsget_options_strategy_quote)
|
|
@@ -97,7 +98,6 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
97
98
|
* [`snaptrade.trading.place_simple_order`](#snaptradetradingplace_simple_order)
|
|
98
99
|
* [`snaptrade.trading.preview_simple_order`](#snaptradetradingpreview_simple_order)
|
|
99
100
|
* [`snaptrade.trading.replace_order`](#snaptradetradingreplace_order)
|
|
100
|
-
* [`snaptrade.trading.search_cryptocurrency_pair_instruments`](#snaptradetradingsearch_cryptocurrency_pair_instruments)
|
|
101
101
|
* [`snaptrade.transactions_and_reporting.get_activities`](#snaptradetransactions_and_reportingget_activities)
|
|
102
102
|
* [`snaptrade.transactions_and_reporting.get_reporting_custom_range`](#snaptradetransactions_and_reportingget_reporting_custom_range)
|
|
103
103
|
|
|
@@ -110,7 +110,7 @@ Python >=3.8
|
|
|
110
110
|
## Installation<a id="installation"></a>
|
|
111
111
|
|
|
112
112
|
```sh
|
|
113
|
-
pip install snaptrade-python-sdk==11.0.
|
|
113
|
+
pip install snaptrade-python-sdk==11.0.110
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -1142,6 +1142,45 @@ Optional comma separated list of session IDs used to filter the request on speci
|
|
|
1142
1142
|
|
|
1143
1143
|
---
|
|
1144
1144
|
|
|
1145
|
+
### `snaptrade.crypto_trading.search_cryptocurrency_pair_instruments`<a id="snaptradecrypto_tradingsearch_cryptocurrency_pair_instruments"></a>
|
|
1146
|
+
|
|
1147
|
+
Searches cryptocurrency pairs instruments accessible to the specified account.
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1151
|
+
|
|
1152
|
+
```python
|
|
1153
|
+
search_cryptocurrency_pair_instruments_response = (
|
|
1154
|
+
snaptrade.crypto_trading.search_cryptocurrency_pair_instruments(
|
|
1155
|
+
user_id="snaptrade-user-123",
|
|
1156
|
+
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1157
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1158
|
+
base="BTC",
|
|
1159
|
+
quote="USD",
|
|
1160
|
+
)
|
|
1161
|
+
)
|
|
1162
|
+
```
|
|
1163
|
+
|
|
1164
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1165
|
+
|
|
1166
|
+
##### user_id: `str`<a id="user_id-str"></a>
|
|
1167
|
+
|
|
1168
|
+
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1169
|
+
|
|
1170
|
+
##### account_id: `str`<a id="account_id-str"></a>
|
|
1171
|
+
|
|
1172
|
+
##### base: `str`<a id="base-str"></a>
|
|
1173
|
+
|
|
1174
|
+
##### quote: `str`<a id="quote-str"></a>
|
|
1175
|
+
|
|
1176
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1177
|
+
|
|
1178
|
+
`/accounts/{accountId}/trading/instruments/cryptocurrencyPairs` `get`
|
|
1179
|
+
|
|
1180
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1181
|
+
|
|
1182
|
+
---
|
|
1183
|
+
|
|
1145
1184
|
### `snaptrade.options.get_option_strategy`<a id="snaptradeoptionsget_option_strategy"></a>
|
|
1146
1185
|
|
|
1147
1186
|
Creates an option strategy object that will be used to place an option strategy order.
|
|
@@ -2442,45 +2481,6 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
|
|
|
2442
2481
|
|
|
2443
2482
|
---
|
|
2444
2483
|
|
|
2445
|
-
### `snaptrade.trading.search_cryptocurrency_pair_instruments`<a id="snaptradetradingsearch_cryptocurrency_pair_instruments"></a>
|
|
2446
|
-
|
|
2447
|
-
Searches cryptocurrency pairs instruments accessible to the specified account.
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
2451
|
-
|
|
2452
|
-
```python
|
|
2453
|
-
search_cryptocurrency_pair_instruments_response = (
|
|
2454
|
-
snaptrade.trading.search_cryptocurrency_pair_instruments(
|
|
2455
|
-
user_id="snaptrade-user-123",
|
|
2456
|
-
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
2457
|
-
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
2458
|
-
base="BTC",
|
|
2459
|
-
quote="USD",
|
|
2460
|
-
)
|
|
2461
|
-
)
|
|
2462
|
-
```
|
|
2463
|
-
|
|
2464
|
-
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
2465
|
-
|
|
2466
|
-
##### user_id: `str`<a id="user_id-str"></a>
|
|
2467
|
-
|
|
2468
|
-
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
2469
|
-
|
|
2470
|
-
##### account_id: `str`<a id="account_id-str"></a>
|
|
2471
|
-
|
|
2472
|
-
##### base: `str`<a id="base-str"></a>
|
|
2473
|
-
|
|
2474
|
-
##### quote: `str`<a id="quote-str"></a>
|
|
2475
|
-
|
|
2476
|
-
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
2477
|
-
|
|
2478
|
-
`/accounts/{accountId}/trading/instruments/cryptocurrencyPairs` `get`
|
|
2479
|
-
|
|
2480
|
-
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
2481
|
-
|
|
2482
|
-
---
|
|
2483
|
-
|
|
2484
2484
|
### `snaptrade.transactions_and_reporting.get_activities`<a id="snaptradetransactions_and_reportingget_activities"></a>
|
|
2485
2485
|

|
|
2486
2486
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=fRkRi29GYhfNF_KYSpInHVuT3bImHT6ZuGw0ylUJ0DE,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=sNhPcpQazFPI9z2ObrFNas9mQjyVPL7OBsOp08he0Ok,73975
|
|
3
3
|
snaptrade_client/api_response.py,sha256=mZn18p_TNr6OY0HXTZW5InL9iXfqsJWstYGeGD-euPA,663
|
|
4
4
|
snaptrade_client/apis/__init__.py,sha256=RTosXhMn41tMsKPUjIy-VK-_efOWzhkKiuGggJ3A6E0,214
|
|
5
|
-
snaptrade_client/apis/path_to_api.py,sha256=
|
|
5
|
+
snaptrade_client/apis/path_to_api.py,sha256=z1BNp4LLLCgcM2ivh0TAhKNyeSf49EAk2DcTIt7KRo8,13189
|
|
6
6
|
snaptrade_client/apis/paths/__init__.py,sha256=oIb-tz_ei5m0RWOOB0qXTkBKu61nYtwOUlWvQbD5gFE,243
|
|
7
7
|
snaptrade_client/apis/paths/accounts.py,sha256=aHSwrwNqPSa2ikmR-WP0dg2LbRBSNBB3n3_2OTCcxs4,103
|
|
8
8
|
snaptrade_client/apis/paths/accounts_account_id.py,sha256=Xv0hHwov50tVcdtqCS-Np0BmqMhUwrvjIQLaa9yPF3U,207
|
|
@@ -57,8 +57,8 @@ snaptrade_client/apis/paths/symbols_query.py,sha256=A8docGGmlT-C-DqhATL5eXMP2WEQ
|
|
|
57
57
|
snaptrade_client/apis/paths/trade_impact.py,sha256=IPndLeDc_GS9wJmB5jTpnRZhJAdbbNiCf58CyLzDN-k,113
|
|
58
58
|
snaptrade_client/apis/paths/trade_place.py,sha256=ejaerOFMV2hpLsWk7f5-jq_xNN8v2ekuwpGKeZ7yDbE,111
|
|
59
59
|
snaptrade_client/apis/paths/trade_trade_id.py,sha256=obGSPVLZRpWmozwuCrxnDL2NQzNNUMJ_QppjrljIjKo,116
|
|
60
|
-
snaptrade_client/apis/tag_to_api.py,sha256=
|
|
61
|
-
snaptrade_client/apis/tags/__init__.py,sha256=
|
|
60
|
+
snaptrade_client/apis/tag_to_api.py,sha256=XNujjY0lOEEIRKhwxQZGcKl89yw8r8pzMVphyrsz2ZA,1780
|
|
61
|
+
snaptrade_client/apis/tags/__init__.py,sha256=sAfoG_-vWoBzOD8ZvrnbakQgEk-fJn4URrvjWXzC3OU,623
|
|
62
62
|
snaptrade_client/apis/tags/account_information_api.py,sha256=lbGNEG6xu9Y7xjiQnNKxafMIMwx2NA-kJraqymyd-j4,192
|
|
63
63
|
snaptrade_client/apis/tags/account_information_api_generated.py,sha256=V6d-xrAxstKYhHDvw-qtUDMUNhYTl96lC7PMy-EFjrM,1594
|
|
64
64
|
snaptrade_client/apis/tags/api_status_api.py,sha256=N4rdI4EmxVg5mxhu-Q2UVkIKgDKrZWhRmO7R_T1IkZw,156
|
|
@@ -67,18 +67,20 @@ snaptrade_client/apis/tags/authentication_api.py,sha256=9QKQmKP326PcQusLJaW5XDaC
|
|
|
67
67
|
snaptrade_client/apis/tags/authentication_api_generated.py,sha256=Gt6muDG-vWm-Z8tkCPG3Ae2Dh0C-LhuTMG33czSpl9I,921
|
|
68
68
|
snaptrade_client/apis/tags/connections_api.py,sha256=pNGuSjvX2Fg2IJymMvM3DcoUllKUmUQQpTtLVbY2Yi8,163
|
|
69
69
|
snaptrade_client/apis/tags/connections_api_generated.py,sha256=inWc0qR9q4SFyTWsfw_iI8foMNGaQ6oeZ1LaQy_qnjQ,1242
|
|
70
|
+
snaptrade_client/apis/tags/crypto_trading_api.py,sha256=fUyKom0ogKuy8bLpsFoGExyzrW0P89B4QgxAlWY656E,172
|
|
71
|
+
snaptrade_client/apis/tags/crypto_trading_api_generated.py,sha256=VXCLOVyPYxwBV6O54tLLm8F_xG8UtR8yxuWPkec0acc,545
|
|
70
72
|
snaptrade_client/apis/tags/options_api.py,sha256=tl2HI1JChvEGrE5mcSLN85Ah5AHtjVa4n8Hx7GY-ZNA,147
|
|
71
73
|
snaptrade_client/apis/tags/options_api_generated.py,sha256=NehERRdEJhPpg2Q2XaHZc4bVMX7LOlguLQr-4feIH6o,994
|
|
72
74
|
snaptrade_client/apis/tags/reference_data_api.py,sha256=DdmRsoiG7nLk8EgXWT1KvurcQnPYAlr1Dz0kdpdWGRQ,172
|
|
73
75
|
snaptrade_client/apis/tags/reference_data_api_generated.py,sha256=0QKGp2TcqDmuYsuPuXL0Wf14aIihWLYXpnHTFT9oKwY,1499
|
|
74
76
|
snaptrade_client/apis/tags/trading_api.py,sha256=J0L9w7V4uoH3_fkvmJhpVQTIUQCACBgrb_QQ7VTILqI,147
|
|
75
|
-
snaptrade_client/apis/tags/trading_api_generated.py,sha256=
|
|
77
|
+
snaptrade_client/apis/tags/trading_api_generated.py,sha256=xtiw235nHJZspu0FygOLM9zF6blJinDL_eKB0YfbHrs,1774
|
|
76
78
|
snaptrade_client/apis/tags/transactions_and_reporting_api.py,sha256=4qC3MPU73Cj2ePSxD_GIjrvvxLbjEEsan2VcDqVZXd4,217
|
|
77
79
|
snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw43o6-dzwGDnD5hPtc5Vz2f7EdM-yFw8FQkLI5suak,573
|
|
78
|
-
snaptrade_client/client.py,sha256=
|
|
79
|
-
snaptrade_client/client.pyi,sha256=
|
|
80
|
+
snaptrade_client/client.py,sha256=2h-c4LP4Uzoa3vjdb9rhwaviFad8agKZjQ0xQ62x96c,2268
|
|
81
|
+
snaptrade_client/client.pyi,sha256=2h-c4LP4Uzoa3vjdb9rhwaviFad8agKZjQ0xQ62x96c,2268
|
|
80
82
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
81
|
-
snaptrade_client/configuration.py,sha256=
|
|
83
|
+
snaptrade_client/configuration.py,sha256=NFLqWXeuVEtJXmm7VKIz5HepUzdMwcmoCXoXRXex-RE,19262
|
|
82
84
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
83
85
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
84
86
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -409,8 +411,8 @@ snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE
|
|
|
409
411
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
410
412
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
411
413
|
snaptrade_client/models/__init__.py,sha256=I1pwuDZgpx0vWGPJmEqsldM5F9Pd101iA31xsd9S7Oo,12749
|
|
412
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
413
|
-
snaptrade_client/paths/__init__.py,sha256=
|
|
414
|
+
snaptrade_client/operation_parameter_map.py,sha256=1iqUbnE-SEOpbBClZLatx7RFOXPSsOSFeJpMOup2s24,19229
|
|
415
|
+
snaptrade_client/paths/__init__.py,sha256=rBN9OxTEL86k2_UJ2zF2DdCzreO059TufMQSq1oHtdw,3811
|
|
414
416
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
415
417
|
snaptrade_client/paths/accounts/get.py,sha256=MDE_4VCylBroYDkMQe9II1qCGf6gTTDGCShFyGLXf00,16463
|
|
416
418
|
snaptrade_client/paths/accounts/get.pyi,sha256=gna7qIU-95WqOFl6qTsP18ZY7SKi9CYEBAbARPAPPF4,16261
|
|
@@ -746,7 +748,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
746
748
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
747
749
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
748
750
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
749
|
-
snaptrade_python_sdk-11.0.
|
|
750
|
-
snaptrade_python_sdk-11.0.
|
|
751
|
-
snaptrade_python_sdk-11.0.
|
|
752
|
-
snaptrade_python_sdk-11.0.
|
|
751
|
+
snaptrade_python_sdk-11.0.110.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
752
|
+
snaptrade_python_sdk-11.0.110.dist-info/METADATA,sha256=Yd0rV9yrMu5KuyFoI5p0gRIERoooQ2MIeMFv6NbGVe8,94731
|
|
753
|
+
snaptrade_python_sdk-11.0.110.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
754
|
+
snaptrade_python_sdk-11.0.110.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|