MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simple Stock Options Calculation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105573] Re: [mg105543] Simple Stock Options Calculation
  • From: Michael Stern <nycstern at gmail.com>
  • Date: Wed, 9 Dec 2009 05:44:55 -0500 (EST)
  • References: <200912081143.GAA29161@smc.vnet.net>

Also, a mathematica issue on top of your math issues -- you can't solve 
for X in an equation that has no Xs.

Michael

Nicholas Kormanik wrote:
> Trying to set up way to find the number of options contracts one can
> purchase with a given amount of money.  Could someone please edit the
> code if needed?  Or does this look okay as is?
>
> Thanks.....
>
>
> pricepercontract := .71
> numbercontracts := x
> feepercontract := .75
> tradecomission := 9.99
> totalcost := 25000
>
> Solve[100*pricepercontract*numbercontracts*feepercontract +
>    tradecomission == totalcost, x]
>
>
>
>
>   


  • Prev by Date: Play Command Error
  • Next by Date: Problem with FramedStyle when using inside Framed[]
  • Previous by thread: Re: Simple Stock Options Calculation
  • Next by thread: Re: Simple Stock Options Calculation