When bail is allowed, the court shall fix the amount of the appeal bond and the time in which the bond shall be given in order to stay the execution of the judgment pending the filing of the appeal in the appellate court, and until such bond is made shall hold the defendant in custody. If the bond be given in the time fixed by the court, the execution of the judgment shall be stayed during the time fixed by law for the filing of the appeal in the appellate court. If the appeal is filed within the time provided by law, then the bond shall stay the execution of the sentence during the pendency of the appeal, subject to the power of the court to require a new or additional bond when the same is by the court deemed necessary. If the bond is not given within the time fixed, or if given and the appeal not be filed in the appellate court within the time provided by law, the judgment of the court shall immediately be carried into execution.
Okla. Stat. tit. 22, § 1078