├── .gitignore ├── FIX ├── README.md ├── app │ ├── __init__.py │ ├── configuration.py │ ├── dictionary.py │ ├── fix_session.py │ └── logger.py ├── build_cancel_order.py ├── build_create_order.py ├── build_get_order.py ├── client_cancel_order.py ├── client_create_order.py ├── client_get_order.py └── requirements.txt ├── LICENSE ├── README.md ├── REST ├── README.md ├── prime_cancel_order.py ├── prime_create_address_book_entry.py ├── prime_create_allocations.py ├── prime_create_conversion.py ├── prime_create_order.py ├── prime_create_order_preview.py ├── prime_create_rfq_always_accept.py ├── prime_create_rfq_compare_clob.py ├── prime_create_transfer.py ├── prime_create_wallet.py ├── prime_create_withdrawal.py ├── prime_create_withdrawal_to_payment_method.py ├── prime_get_activity_by_id.py ├── prime_get_allocation_by_id.py ├── prime_get_commission.py ├── prime_get_entity_activity_by_id.py ├── prime_get_net_allocation_by_id.py ├── prime_get_order_by_id.py ├── prime_get_order_fills.py ├── prime_get_portfolio_by_id.py ├── prime_get_portfolio_credit_information.py ├── prime_get_transaction.py ├── prime_get_wallet_balance.py ├── prime_get_wallet_by_id.py ├── prime_get_wallet_by_name.py ├── prime_get_wallet_deposit_instructions.py ├── prime_list_activities.py ├── prime_list_address_book.py ├── prime_list_allocations.py ├── prime_list_assets.py ├── prime_list_balances.py ├── prime_list_balances_csv.py ├── prime_list_entity_activities.py ├── prime_list_entity_payment_methods.py ├── prime_list_fills.py ├── prime_list_invoices.py ├── prime_list_open_orders.py ├── prime_list_orders.py ├── prime_list_payment_methods.py ├── prime_list_portfolios.py ├── prime_list_products.py ├── prime_list_transactions.py ├── prime_list_wallets.py ├── prime_locate_order_by_client_order_id.py ├── prime_ws_heartbeats.py ├── prime_ws_market.py ├── prime_ws_orders.py └── requirements.txt └── THIRD-PARTY-NOTICES /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/.gitignore -------------------------------------------------------------------------------- /FIX/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/README.md -------------------------------------------------------------------------------- /FIX/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FIX/app/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/app/configuration.py -------------------------------------------------------------------------------- /FIX/app/dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/app/dictionary.py -------------------------------------------------------------------------------- /FIX/app/fix_session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/app/fix_session.py -------------------------------------------------------------------------------- /FIX/app/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/app/logger.py -------------------------------------------------------------------------------- /FIX/build_cancel_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/build_cancel_order.py -------------------------------------------------------------------------------- /FIX/build_create_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/build_create_order.py -------------------------------------------------------------------------------- /FIX/build_get_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/build_get_order.py -------------------------------------------------------------------------------- /FIX/client_cancel_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/client_cancel_order.py -------------------------------------------------------------------------------- /FIX/client_create_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/client_create_order.py -------------------------------------------------------------------------------- /FIX/client_get_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/FIX/client_get_order.py -------------------------------------------------------------------------------- /FIX/requirements.txt: -------------------------------------------------------------------------------- 1 | certifi==2024.7.4 2 | quickfix-ssl==1.15.1.post4 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/README.md -------------------------------------------------------------------------------- /REST/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/README.md -------------------------------------------------------------------------------- /REST/prime_cancel_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_cancel_order.py -------------------------------------------------------------------------------- /REST/prime_create_address_book_entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_address_book_entry.py -------------------------------------------------------------------------------- /REST/prime_create_allocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_allocations.py -------------------------------------------------------------------------------- /REST/prime_create_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_conversion.py -------------------------------------------------------------------------------- /REST/prime_create_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_order.py -------------------------------------------------------------------------------- /REST/prime_create_order_preview.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_order_preview.py -------------------------------------------------------------------------------- /REST/prime_create_rfq_always_accept.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_rfq_always_accept.py -------------------------------------------------------------------------------- /REST/prime_create_rfq_compare_clob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_rfq_compare_clob.py -------------------------------------------------------------------------------- /REST/prime_create_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_transfer.py -------------------------------------------------------------------------------- /REST/prime_create_wallet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_wallet.py -------------------------------------------------------------------------------- /REST/prime_create_withdrawal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_withdrawal.py -------------------------------------------------------------------------------- /REST/prime_create_withdrawal_to_payment_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_create_withdrawal_to_payment_method.py -------------------------------------------------------------------------------- /REST/prime_get_activity_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_activity_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_allocation_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_allocation_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_commission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_commission.py -------------------------------------------------------------------------------- /REST/prime_get_entity_activity_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_entity_activity_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_net_allocation_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_net_allocation_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_order_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_order_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_order_fills.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_order_fills.py -------------------------------------------------------------------------------- /REST/prime_get_portfolio_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_portfolio_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_portfolio_credit_information.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_portfolio_credit_information.py -------------------------------------------------------------------------------- /REST/prime_get_transaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_transaction.py -------------------------------------------------------------------------------- /REST/prime_get_wallet_balance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_wallet_balance.py -------------------------------------------------------------------------------- /REST/prime_get_wallet_by_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_wallet_by_id.py -------------------------------------------------------------------------------- /REST/prime_get_wallet_by_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_wallet_by_name.py -------------------------------------------------------------------------------- /REST/prime_get_wallet_deposit_instructions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_get_wallet_deposit_instructions.py -------------------------------------------------------------------------------- /REST/prime_list_activities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_activities.py -------------------------------------------------------------------------------- /REST/prime_list_address_book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_address_book.py -------------------------------------------------------------------------------- /REST/prime_list_allocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_allocations.py -------------------------------------------------------------------------------- /REST/prime_list_assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_assets.py -------------------------------------------------------------------------------- /REST/prime_list_balances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_balances.py -------------------------------------------------------------------------------- /REST/prime_list_balances_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_balances_csv.py -------------------------------------------------------------------------------- /REST/prime_list_entity_activities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_entity_activities.py -------------------------------------------------------------------------------- /REST/prime_list_entity_payment_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_entity_payment_methods.py -------------------------------------------------------------------------------- /REST/prime_list_fills.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_fills.py -------------------------------------------------------------------------------- /REST/prime_list_invoices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_invoices.py -------------------------------------------------------------------------------- /REST/prime_list_open_orders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_open_orders.py -------------------------------------------------------------------------------- /REST/prime_list_orders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_orders.py -------------------------------------------------------------------------------- /REST/prime_list_payment_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_payment_methods.py -------------------------------------------------------------------------------- /REST/prime_list_portfolios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_portfolios.py -------------------------------------------------------------------------------- /REST/prime_list_products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_products.py -------------------------------------------------------------------------------- /REST/prime_list_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_transactions.py -------------------------------------------------------------------------------- /REST/prime_list_wallets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_list_wallets.py -------------------------------------------------------------------------------- /REST/prime_locate_order_by_client_order_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_locate_order_by_client_order_id.py -------------------------------------------------------------------------------- /REST/prime_ws_heartbeats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_ws_heartbeats.py -------------------------------------------------------------------------------- /REST/prime_ws_market.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_ws_market.py -------------------------------------------------------------------------------- /REST/prime_ws_orders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/REST/prime_ws_orders.py -------------------------------------------------------------------------------- /REST/requirements.txt: -------------------------------------------------------------------------------- 1 | websockets==11.0.3 2 | requests==2.32.4 3 | -------------------------------------------------------------------------------- /THIRD-PARTY-NOTICES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coinbase-samples/prime-scripts-py/HEAD/THIRD-PARTY-NOTICES --------------------------------------------------------------------------------