Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CharlesSchwab API (new Lean Plugin) #1

Open
wants to merge 106 commits into
base: master
Choose a base branch
from

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    f09ac27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa8384d View commit details
    Browse the repository at this point in the history
  3. remove: ToolBox template

    Romazes committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6515fec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f7fbb4 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    0842da6 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    3d09f17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb7f909 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e536bce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4706f2 View commit details
    Browse the repository at this point in the history
  5. remove: extra new row

    Romazes committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c8678ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4c39676 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. refactor: handler of Token in CharlesSchwabTokenRefreshHandler

    feat: GetAuthorizationUrl
    feat: Required property in CharlesSchwabAccessToken
    feat: new model CharlesSchwabErrorResponse
    test:feat: GetAuthorizationUrl
    Romazes committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    5f868a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    da8c2b8 View commit details
    Browse the repository at this point in the history
  2. fix: GetAuthorizationUrl

    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    76a3256 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    615c554 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cd4f153 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    23e5e2d View commit details
    Browse the repository at this point in the history
  6. feat: CharlesSchwabSecuritiesAccount

    remove: CharlesSchwabAccountMetaData
    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    56e1536 View commit details
    Browse the repository at this point in the history
  7. feat: start CharlesSchwabApiClient

    test:feat: GetAccount with Mock
    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    ca25aec View commit details
    Browse the repository at this point in the history
  8. feat: CharlesSchwabApiClient

    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f83ef3a View commit details
    Browse the repository at this point in the history
  9. feat: GetAccountHoldings

    feat: starting impl Initialize
    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    dee6cbb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    246b999 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    458a17c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8164f22 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    89d544a View commit details
    Browse the repository at this point in the history
  14. feat: Api GetOpenOrder

    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    4aaf763 View commit details
    Browse the repository at this point in the history
  15. test:feat: API GetOpenOrder

    Romazes committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    20257d8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d9b1e05 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    45ad762 View commit details
    Browse the repository at this point in the history
  2. test:feat: Api GetOpenOrder Mock

    test:refactor: Api Mock test file
    Romazes committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    d9d8b24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f5eeb63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c64363 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e34b81 View commit details
    Browse the repository at this point in the history
  6. feat: new enum SessionTypes

    Romazes committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9ae1660 View commit details
    Browse the repository at this point in the history
  7. refactor: GetBalanceAndPositionAccount

    test:refactor: mock GetBalanceAndPosition
    Romazes committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    18317a2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dead9bd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    83faa72 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    23119c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. feat: CharlesSchwabExtensions

    refactor: exclude ignore of Extensions folder
    Romazes committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    23f0bbb View commit details
    Browse the repository at this point in the history
  2. feat: Model CharlesSchwabCandles response

    feat: UnixMillisecondsConverter
    test:feat: DeserializeGetPriceHistoryResponse
    Romazes committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    4401ce9 View commit details
    Browse the repository at this point in the history
  3. feat: Brokerage.GetHistory

    feat: Api GetPriceHistory
    Romazes committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    3924a91 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. feat: GetBrokerageSymbol

    test:feat: GetBrokerageSymbol
    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    e1a5623 View commit details
    Browse the repository at this point in the history
  2. feat: CanSubscribe

    refactor: use CanSubscribe in GetHistory
    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    18e67c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fabdbd View commit details
    Browse the repository at this point in the history
  4. rename: AccessToken Model

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    648a138 View commit details
    Browse the repository at this point in the history
  5. rename: Candle Model

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    7f9822e View commit details
    Browse the repository at this point in the history
  6. rename: ErrorResponse model

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    629bd05 View commit details
    Browse the repository at this point in the history
  7. rename: Instrument model

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    346b695 View commit details
    Browse the repository at this point in the history
  8. rename: Order Model

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a9436a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    894d5c5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    27b2037 View commit details
    Browse the repository at this point in the history
  11. rename: AssetType enum

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a6ef3eb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    da4e109 View commit details
    Browse the repository at this point in the history
  13. feat: GetLeanSymbol in SymbolMapper

    test:feat: ReturnsCorrectLeanSymbol
    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a65deca View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fd37788 View commit details
    Browse the repository at this point in the history
  15. feat: Lean GetOpenOrders

    Romazes committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4842c3e View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    e17f5e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    480fcb8 View commit details
    Browse the repository at this point in the history
  3. test:refactor: Mock Api tests

    Romazes committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    1e17f67 View commit details
    Browse the repository at this point in the history
  4. fix: take hash account value un GetOpenOrder in Api Client

    fix: data type `orderId` in OrderResponse model
    fix: misssed adding OpenOrder in collection
    Romazes committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3e36e75 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aacc5ca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb51c3c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f5e998 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f6850cc View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. refactor: enums

    Romazes committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    bc030ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18015f6 View commit details
    Browse the repository at this point in the history
  3. feat: new OrderRequest models

    Romazes committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c29f8ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c3ccb4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7070667 View commit details
    Browse the repository at this point in the history
  6. feat: PlaceOrder in Brokerage

    Romazes committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    59b8664 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    68a60f2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    24012c0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a6b16df View commit details
    Browse the repository at this point in the history
  10. fix: GetOpenOrders in Brokerage

    refactor: GetAllOrders instead of GetOpenOrder in API
    feat: extension Order is opened by Status Order
    rename: OrderStatus enum
    Romazes committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e69544b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f37edbc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8544dc9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f95cdcf View commit details
    Browse the repository at this point in the history
  14. test:remove: Name of tests

    Romazes committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e73ebe8 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. feat: MarketOnCloseOrder Request

    refactor: CharlesSchwab Order Request
    Romazes committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    aba30f7 View commit details
    Browse the repository at this point in the history
  2. feat: TrailingStopOrder in Brokerage

    test:feat: validate Placing TrailingStopOrder
    Romazes committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    1b1b490 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    424e3b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df405ba View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    c1a3622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84316c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0080bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94a30eb View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. refactor: PlaceOrder Api endpoint

    refactor: RequestAsync methods()
    Romazes committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4609866 View commit details
    Browse the repository at this point in the history
  2. feat: PlaceOrder

    feat: Handle Cancel or Invalid stream order responses
    Romazes committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    7bf6bd0 View commit details
    Browse the repository at this point in the history
  3. refactor: CancelOrder()

    feat: create enum for MessageType
    Romazes committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4738892 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    328b54a View commit details
    Browse the repository at this point in the history
  5. refactor: return empty holding if account doesn't keep positions

    refactor: ConversionRate and MarketPrice in GetAccountHoldings
    feat: Handle Invalid Order Status when PlacedNewOrder
    feat: Handle Exception in CancelOrder
    feat: Handle Filled,Reject,Cancel OrderEvent
    remove: Catch exception in Api PlaceOrder
    feat: OrderFillCompleted in MessageType
    feat: new AccountActivity entities
    test:feat: Split test on Equity and Option
    Romazes committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    c44d14d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. feat: GetInstructionByDirection

    remove: support Future Symbol in SymbolMapper
    test:refactor: trading test cases
    Romazes committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    aeed747 View commit details
    Browse the repository at this point in the history
  2. feat: Equity Data Queue Handler

    feat: Custom Convert of Data Content
    test:feat: DataQueueHandler
    Romazes committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    d657e07 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    28bb7cc View commit details
    Browse the repository at this point in the history
  2. refactor: restriction on minute history resolution

    test:feat: history requests
    Romazes committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    669066f View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. feat: implement DataQueueUniverseProvider

    feat: new ErrorResponse in Api
    test:refactor: new initializer of Brokerage in TestSetup
    Romazes committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    49d424e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b814dab View commit details
    Browse the repository at this point in the history
  3. feat: CharlesSchwabBrokerageFactory

    feat: SetJob
    refactor: add missed xml description
    Romazes committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    5358b43 View commit details
    Browse the repository at this point in the history
  4. fix: getting config from LiveNodePacket in Factory

    test:feat: BrokerageFactory
    Romazes committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    825c74c View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    cce4787 View commit details
    Browse the repository at this point in the history
  2. feat: UpdateOrder

    test:feat: Update Order Equity\Option
    feat: new MessageTypes
    fix: IsOrderOpen extension
    fix: handle order exception in ApiClient
    Romazes committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2c4106d View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. feat: CanSubmitOrder

    refactor: skip duplicate order event
    refactor: make error exception more developer friendly
    feat: support Place IndexOption
    test:feat: IndexOption (Index doesn't support)
    Romazes committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    fba2b82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    080c989 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Configuration menu
    Copy the full SHA
    30708e5 View commit details
    Browse the repository at this point in the history
  2. feat: ValidateSubscription

    Romazes committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    ca36d3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2994d9e View commit details
    Browse the repository at this point in the history