Skip to content

Commit

Permalink
doc: add a comment to reset paper account when qty must be integer (#500
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hiohiohio authored Oct 2, 2024
1 parent b5e13cd commit 6618941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/stocks-trading-basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@
"# you can specify:\n",
"# fractional qty (e.g. 0.01 qty) in the order request (which is shown in this example)\n",
"# or notional value (e.g. 100 USD) (which is in the next example)\n",
"#\n",
"# If you have an error of `qty must be integer`,\n",
"# please try to `Reset Account` of your paper account via the Alpaca Trading API dashboard\n",
"req = MarketOrderRequest(\n",
" symbol = symbol,\n",
" qty = 5.5,\n",
Expand Down Expand Up @@ -674,7 +677,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6618941

Please sign in to comment.